|
| From: | iram chelli |
| Subject: | Re: wc |
| Date: | Fri, 12 Jun 2009 21:43:10 +0200 |
| User-agent: | Thunderbird 2.0.0.21 (Windows/20090302) |
PƔdraig Brady a Ʃcrit :
Iram CHELLI wrote:Hello, i am using wc in shell scripts the exact command is: wc FILE | cut -d " " -f 2You probably want to squeeze adjacent blanks: wc FILE | tr -s '[:blank:]' ' ' | cut -d' ' -f2 cheers, PƔdraig.
Thank you this is great. Cheers, Iram.
| [Prev in Thread] | Current Thread | [Next in Thread] |