简体   繁体   English

“ wc -l”命令显示零行

[英]The “wc -l” command shows zero lines

I input "wc -l myFile" command, the shell show "0 myFile",but the file has a lot of characters,("wc -c myFile" is 1000000000+) and maybe it has only one line. 我输入“ wc -l myFile”命令,外壳显示“ 0 myFile”,但是文件中有很多字符,(“ wc -c myFile”为1000000000+),也许只有一行。 So why it happends??! 那么为什么会发生呢? Thanks! 谢谢!

这意味着文件中没有“换行”字符

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM