|
发表于 2005-10-23 17:37:01
|
显示全部楼层
我的理解是, 你还没开始处理,这个文件就变成空的了。
- blazin@ubuntu:~$ cat testfile.txt
- something inside the testfile.
- blazin@ubuntu:~$ cat testfile.txt > testfile.txt
- cat: testfile.txt: input file is output file
- blazin@ubuntu:~$ cat testfile.txt
- blazin@ubuntu:~$ ls -l testfile.txt
- -rw-r--r-- 1 blazin blazin 0 2005-10-23 17:31 testfile.txt
复制代码 |
|