Hi, The wc seems not working correctly, say for example wc -l filename | cut -c1-8 should only give the lines, but this your version of wc, behaves differently. for small size files it does not reserve first 8 colums for size so get the file name as well
All others give this $ wc -l test.ksh | cut -c1-8 14 Your version gives this---- $ wc -l test.ksh | cut -c1-8 14 test. thanks Syed _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils