Bug in wc???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello when  i use the wc command i get many spaces. 
for example:
[frank@homer dnetc483-linux-x86-elf]$ ls|wc -l
      6
[frank@homer dnetc483-linux-x86-elf]$
but at all scipt saples the output are:
[xxxx@xxx]$ ls|wc -l
 x
[xxxx@xxx]$
so i cannot use the output in a script. Who can help?




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux