平台 论坛 博客 文库 | |
查看:
2187
|
回复:
2
|
[文本处理] 为什么cat<file>file 会覆盖文件,而cat<>file不会覆盖文件? [复制链接] |
![]() |
10可用积分
最佳答案回复 1# sentto2 因为 合在一起是一个符号,具体可以看 ABS 中的解释: [j]filename # Open file "filename" for reading and writing, #+ and assign file descriptor "j" to it. # If "filename" does not exist, create it. # If file descriptor "j" is not specified, default to fd 0, stdin. # # An application of this is writing at a specified place in a file. echo 1234 ...
| |
|
||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| |
|
||
北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员 联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处
清除 Cookies - ChinaUnix - Archiver - WAP - TOP |