[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Full-Disclosure] FAT32 input > output = null?
- To: full-disclosure@xxxxxxxxxxxxxxxx
- Subject: Re: [Full-Disclosure] FAT32 input > output = null?
- From: Nico Golde <nion@xxxxxxx>
- Date: Thu, 8 Apr 2004 11:50:18 +0200
Hallo chris,
* chris <chris@xxxxxxxxxx> [2004-04-08 11:20]:
> This also works with the 2.4.24 Linux kernel (Slackware 9.1):
>
> chris@roamer:~$ more testfile.txt
> Let's try this in Linux
> chris@roamer:~$ ls -al testfile.txt
> - -rw-r--r-- 1 chris users 24 Apr 7 12:43 testfile.txt
> chris@roamer:~$ testfile.txt>testfile.txt
> - -bash: ./testfile.txt: Permission denied
> chris@roamer:~$ more testfile.txt
> chris@roamer:~$ ls -al testfile.txt
> - -rw-r--r-- 1 chris users 0 Apr 7 12:44 testfile.txt
> chris@roamer:~$
i don't understand your problem.
i tried:
[nico@golde:~] $ ls -al test
-rw-r--r-- 1 nico users 6 2004-04-08 11:46 test
[nico@golde:~] $ test>test
[nico@golde:~] $ 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 | nico@xxxxxxxxx | 310777820@ICQ | nion@xxxxxxx
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