cp /dev/zero filename creates large files

2003-09-25 Thread Don Sharp
Hi I carried out the following sequence of commands $ for i in `cat /tmp/d`; do if [ -f $i.idx ]; then ls -l ${i}*; fi; done -rw-r--r--1 don None0 Jun 17 1998 dtaq -rw-r--r--1 don None 3072 Jun 17 1998 dtaq.idx $ cp /dev/zero dtaq.idx The cp appeared to

Re: cp /dev/zero filename creates large files

2003-09-25 Thread jurgen . defurne
by: [EMAIL PROTECTED] 09/25/2003 11:25 AM To: gnuwin32 [EMAIL PROTECTED] cc: (bcc: Jurgen Defurne/BRG/CE/PHILIPS) Subject:cp /dev/zero filename creates large files Classification: Hi I carried out the following sequence of commands $ for i in `cat /tmp

RE: cp /dev/zero filename creates large files

2003-09-25 Thread Peter J. Acklam
Don Sharp [EMAIL PROTECTED] wrote: I carried out the following sequence of commands $ for i in `cat /tmp/d`; do if [ -f $i.idx ]; then ls -l ${i}*; fi; done -rw-r--r--1 don None0 Jun 17 1998 dtaq -rw-r--r--1 don None 3072 Jun 17 1998 dtaq.idx $ cp

Re: cp /dev/zero filename creates large files

2003-09-25 Thread Don Sharp
Thanks to everyone that replied pointing out that it was /dev/null that I needed NOT /dev/zero. Thanks again Don Sharp Peter J. Acklam wrote: Don Sharp [EMAIL PROTECTED] wrote: I carried out the following sequence of commands $ for i in `cat /tmp/d`; do if [ -f $i.idx ]; then ls -l