From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,47a06d19e281eb8d X-Google-Attributes: gidf7344,public X-Google-Thread: 111731,47a06d19e281eb8d X-Google-Attributes: gid111731,public X-Google-Thread: f6134,47a06d19e281eb8d X-Google-Attributes: gidf6134,public X-Google-Thread: 1164f8,47a06d19e281eb8d X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-03-04 10:11:49 PST Xref: gmd.de comp.org.decus:2919 comp.os.vms:42183 comp.sys.dec:14218 comp.unix.advocacy:1063 Path: gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!europa.eng.gtefsd.com!mozart.amil.jhu.edu!blaze.cs.jhu.edu!jhunix.hcf.jhu.edu!grinch.hcf.jhu.edu!doug From: doug@grinch.hcf.jhu.edu (Douglas W. O'Neal) Newsgroups: comp.org.decus,comp.os.vms,comp.sys.dec,comp.unix.advocacy Subject: Re: Is VMS Dying? Date: 4 Mar 1994 18:11:49 GMT Organization: Homewood Academic Computing, Johns Hopkins University Distribution: world Message-ID: <2l7tl5INN6aj@jhunix.hcf.jhu.edu> References: <2l5v1j$71b@c3po.jvnc.net> <2l7ifnINNd1n@jhunix.hcf.jhu.edu> NNTP-Posting-Host: grinch.hcf.jhu.edu In article rockwell@nova.umd.edu (Raul Deluth Miller) writes: =>Douglas W. O'Neal: =>. I cannot count on 'chmod 755 *' working under any Unix shell I've =>. seen. How does "ksh: /bin/chmod: arg list too long" sound to you? =>. If the shell is going to expand wildcards it should do so without =>. error. => =>Really? I've never seen `chmod 755 *` fail. Who gave you that =>version of ksh? [I'm presuming that if you compiled it yourself you'd =>reconfigure it and recompile it.] => =>Raul D. Miller => Try the following script on your Unix box under any shell you wish. It fails for me under SunOS 4.1.x, SunOS 5.3, Irix 4.0.5, and Ultrix 4.3a. I've tried sh, ksh (both vendor supplied and PD), and csh. (btw. SunOS 5.x no longer supplies the yes command). #!/bin/sh for I in `yes | cat -n | tr -d y | head -400`; do touch file.${I}.a file.${I}.b file.${I}.c file.${I}.d file.${I}.e done chmod 755 * Doug PS. I would run this in an *empty* directory. :) -- Doug O'Neal, Distributed Systems Programmer, Johns Hopkins University doug@jhuvms.bitnet, doug@jhuvms.hcf.jhu.edu, mimsy!aplcen!jhunix!doug