coreutils
[Top][All Lists]
Advanced

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

Suppress filenames in wc output


From: Thomas Bohm
Subject: Suppress filenames in wc output
Date: Tue, 11 Feb 2014 21:26:25 +0100

Hey,

By playing with a word list today I noticed I can't compute the number of average letters / word by simply doing a calc `wc -m file`/`wc -l file` because the filename is part of the output if wc is run on a file (on stdin it is suppressed). This is why I added a new flag -q so that a user can suppress that part of the output I will.  I don't have high hopes of it getting accepted, but I said I try :)

Cheers,

Tom

Attachment: wc.diff
Description: Text document


reply via email to

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