Re: [LAU] Sample manager?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-user@...>
Date: Sunday, November 28, 2010 - 9:29 am

On 11/27/2010 08:18 PM, Atte André Jensen wrote:

> atte@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
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] Sample manager?, Heikki Ketoharju, (Sat Nov 27, 1:47 am)
Re: [LAU] Sample manager?, Atte André Jensen, (Sat Nov 27, 10:18 am)
Re: [LAU] Sample manager?, M Watts, (Sun Nov 28, 9:29 am)
Re: [LAU] Sample manager?, Hartmut Noack, (Sun Nov 28, 11:57 am)
Re: [LAU] Sample manager?, Atte André Jensen, (Sun Nov 28, 5:44 pm)
Re: [LAU] Sample manager?, Heikki Ketoharju, (Sat Nov 27, 12:26 pm)
Re: [LAU] Sample manager?, Atte André Jensen, (Sat Nov 27, 12:30 pm)