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 11:04:15 PST Xref: gmd.de comp.org.decus:2557 comp.os.vms:41383 comp.sys.dec:13792 comp.unix.advocacy:771 Path: gmd.de!urmel.informatik.rwth-aachen.de!newsserver.rrzn.uni-hannover.de!hrz-ws11.hrz.uni-kassel.de!news.th-darmstadt.de!fauern!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!news.umbc.edu!haven.umd.edu!nova.umd.edu!nova!rockwell From: rockwell@nova.umd.edu (Raul Deluth Miller) Newsgroups: comp.org.decus,comp.os.vms,comp.sys.dec,comp.unix.advocacy Subject: Re: Is VMS Dying? Date: 4 Mar 1994 14:04:15 -0500 Organization: University of Maryland University College Distribution: world Message-ID: References: <2l5v1j$71b@c3po.jvnc.net> <2l7ifnINNd1n@jhunix.hcf.jhu.edu> <2l7tl5INN6aj@jhunix.hcf.jhu.edu> NNTP-Posting-Host: nova.umd.edu In-reply-to: doug@grinch.hcf.jhu.edu's message of 4 Mar 1994 18:11:49 GMT Douglas W. O'Neal: . 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 * Ok: $ ls foo yes $ chmod 755 * $ ./foo $ cat foo #!/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 * $ ls | wc 2002 2002 21468 $ uname -a SunOS nova 5.2 Generic_100999-47 sun4d sparc $ ps PID TTY TIME COMD 14113 pts/22 0:00 ksh 14969 pts/22 0:00 ps $ ls -l | head -5 total 24 -rwxr-xr-x 1 rockwell travelle 0 Mar 4 13:53 file.1.a -rwxr-xr-x 1 rockwell travelle 0 Mar 4 13:53 file.1.b -rwxr-xr-x 1 rockwell travelle 0 Mar 4 13:53 file.1.c -rwxr-xr-x 1 rockwell travelle 0 Mar 4 13:53 file.1.d $ I'll agree that Sun is bogus for not including the yes command. Raul D. Miller