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
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
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
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
4 matches
Mail list logo