[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wc
From: |
Pádraig Brady |
Subject: |
Re: wc |
Date: |
Fri, 12 Jun 2009 14:48:01 +0100 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071008) |
Iram CHELLI wrote:
> Hello,
>
>
> i am using wc in shell scripts
>
> the exact command is:
>
> wc FILE | cut -d " " -f 2
You probably want to squeeze adjacent blanks:
wc FILE | tr -s '[:blank:]' ' ' | cut -d' ' -f2
cheers,
Pádraig.
- wc, Iram CHELLI, 2009/06/12
- Re: wc,
Pádraig Brady <=
- Re: wc, Pádraig Brady, 2009/06/12
- Re: wc, Eric Blake, 2009/06/12
- Re: wc, iram chelli, 2009/06/12
- Re: wc, iram chelli, 2009/06/12
- Re: wc, Bob Proulx, 2009/06/12
- Re: wc, iram chelli, 2009/06/12
- Re: wc, Giuseppe Scrivano, 2009/06/12
- Re: wc, iram chelli, 2009/06/12
- Prev by Date:
wc
- Next by Date:
Re: wc
- Previous by thread:
wc
- Next by thread:
Re: wc
- Index(es):