|
| From: | Iram CHELLI |
| Subject: | wc |
| Date: | Fri, 12 Jun 2009 14:35:39 +0200 |
| User-agent: | Thunderbird 2.0.0.21 (X11/20090320) |
Hello,
i am using wc in shell scripts
the exact command is:
wc FILE | cut -d " " -f 2
it usually works but sometimes wc outputs the result in a different
formatting, that is, I have to do a cut -d " " -f 3 to get the wc.
This is not very convenient that the wc program shall not return results in a fixed formatting.
Regards, Iram
| [Prev in Thread] | Current Thread | [Next in Thread] |