Bug in wc???

Hans Müller ndof at gmx.li
Sun Jan 11 14:45:17 UTC 2004


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





More information about the fedora-list mailing list