coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

wc function proposal for an additional switch -? (choose letter


From: Leslie S Satenstein
Subject: wc function proposal for an additional switch -? (choose letter ?
Date: Sun, 3 May 2015 23:30:14 +0000 (UTC)

While there is nothing wrong with wc as is, a suggestion after some use.

With wc -l  it emits the line count  and the program name(s) as   "nnn  program-name".

With the additional switch option, it would be convenient to drop the program name.

It would be equivalent to  `wc -l  programname | cut -d' '`
It would be equivalent to   `wc -c|m|L|w programname | cut -d'' `

In other words, just present the count without the program name.
Suggest   -n or --nonames (for drop the program name)

wc -l -n  prognames

or

wc -l --nonames  prognames


 
Regards

 Leslie
Mr. Leslie Satenstein
Montréal Québec, Canada


reply via email to

[Prev in Thread] Current Thread [Next in Thread]