Hallo chris, * chris <[EMAIL PROTECTED]> [2004-04-08 11:20]: > This also works with the 2.4.24 Linux kernel (Slackware 9.1): > > [EMAIL PROTECTED]:~$ more testfile.txt > Let's try this in Linux > [EMAIL PROTECTED]:~$ ls -al testfile.txt > - -rw-r--r-- 1 chris users 24 Apr 7 12:43 testfile.txt > [EMAIL PROTECTED]:~$ testfile.txt>testfile.txt > - -bash: ./testfile.txt: Permission denied > [EMAIL PROTECTED]:~$ more testfile.txt > [EMAIL PROTECTED]:~$ ls -al testfile.txt > - -rw-r--r-- 1 chris users 0 Apr 7 12:44 testfile.txt > [EMAIL PROTECTED]:~$
i don't understand your problem. i tried: [EMAIL PROTECTED]:~] $ ls -al test -rw-r--r-- 1 nico users 6 2004-04-08 11:46 test [EMAIL PROTECTED]:~] $ test>test [EMAIL PROTECTED]:~] $ ls -al test -rw-r--r-- 1 nico users 0 2004-04-08 11:47 test but it is not wondering because you put the output of the first command in the file after the >. because you have not a real command and you have no real output you overwrite the file with an empty output stream and the file is 0 byte after it. haven't i understand your problem correctly? regards nico -- Nico Golde | [EMAIL PROTECTED] | [EMAIL PROTECTED] | [EMAIL PROTECTED] http://www.ngolde.de | GnuPG Key: http://www.ngolde.de/gpg/nico_golde.gpg Fingerprint | FF46 E565 5CC1 E2E5 3F69 C739 1D87 E549 7364 7CFF vim -c ":%s/^/WhfgTNabgureRIvzSUnpxreT-Tavba/|:%s/[R-T]/ /Ig|:normal ggVGg?" _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.netsys.com/full-disclosure-charter.html
