[LAU] Sample manager?
Hartmut Noack
zettberlin at linuxuse.de
Sun Nov 28 11:56:54 UTC 2010
Am 28.11.2010 10:29, schrieb M Watts:
> On 11/27/2010 08:18 PM, Atte André Jensen wrote:
>
>> atte at vestbjerg:~$ locate .wav | grep .wav$ | wc -l
>
> Why do people always pipe grep into wc -l for a count?? :P
>
> grep has a count option builtin
>
> locate .wav | grep -c .wav
And why the pipe? locate can do this trick on its own:
locate -c .wav
;-)
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user at lists.linuxaudio.org
> http://lists.linuxaudio.org/listinfo/linux-audio-user
>
More information about the Linux-audio-user
mailing list