On Fri, Feb 01, 2008 at 09:19:53AM +0200, Elan Ruusamäe wrote: > > > any suggestions how to make the counting proper for empty and non-empty > > > list? > > > > > [EMAIL PROTECTED] ~]$ echo -n /lib/modules/2.6.22.16-3/misc/nvidia.ko | wc > > -w > > 1 > > [EMAIL PROTECTED] ~]$ echo -n "" | wc -w > > 0 > > > > hm? > > it would fail if filename contains spaces. wouldn't want to break on that. afaik none of modules contains spaces, tabulators, newline characters.
-- Andrzej 'The Undefined' Dopierała Linux && Unix && Network administrator PLD Linux Developer HomePage: http://andrzej.dopierala.name/ JID: [EMAIL PROTECTED] e-mail: [EMAIL PROTECTED] _______________________________________________ pld-devel-en mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
