bug-coreutils
[Top][All Lists]
Advanced

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

wc


From: Patrick McCrae
Subject: wc
Date: Thu, 05 Jun 2008 12:57:02 +0200
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

Hi, there -

I know it is not a bug in the wc utility ... but maybe you also handle feature requests (if you don't, please let me know where to address them to).

I would like to have an option (e.g. -n) to obtain from wc only its numeric output - /without /the trailing file name. I guess I am thinking of something like a non-verbose output mode in which only the requested bare essentials are returned. This would make further processing of wc's output much more convenient and would reduce the need for further piping into cut or other such utilities.

Clearly, the non-verbose option should combine with all existing invocation options to wc, such as

   wc -w -n file
   to return only the number of words in file etc.


Let me know what you think ...

Thanks and regards -

Pat
_______________________

Patrick McCrae <http://cinacs.informatik.uni-hamburg.de/index.php?option=com_content&task=view&id=17&Itemid=85>

CINACS Graduate Research Group
Department of Informatics
Hamburg University
Vogt-Kölln-Straße 30
22527 Hamburg, Germany

e-mail: address@hidden
phone: +49 . 40 . 428 83 - 23 60


reply via email to

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