Wishlist Feature Request: wc

2015-11-18 Thread Craig Sanders
wc would be improved if it had two new options: --no-total --no-filenames These would eliminate the need to pipe into `awk '$2 != "total" {print $1}'` or similar to remove totals and filenames from the output when wc has more than one file arg. thanks, craig -- craig sanders

Re: Wishlist Feature Request: wc

2015-11-18 Thread Stephane Chazelas
2015-11-18 22:55:34 +1100, Craig Sanders: > wc would be improved if it had two new options: > >--no-total >--no-filenames > > These would eliminate the need to pipe into `awk '$2 != "total" {print > $1}'` or similar to remove totals and filenames from the output when wc > has more than

Re: Wishlist Feature Request: wc

2015-11-18 Thread Pádraig Brady
On 18/11/15 13:26, Stephane Chazelas wrote: > 2015-11-18 22:55:34 +1100, Craig Sanders: >> wc would be improved if it had two new options: >> >>--no-total >>--no-filenames >> >> These would eliminate the need to pipe into `awk '$2 != "total" {print >> $1}'` or similar to remove totals and