On Mon, 8 Feb 2010, Philippe Hezaine wrote:
> Ha! Ha! May be you are fallen into a trap.
Ha! :-) I'll have to pass on SuperSir, sorry. I can't
spend any more time on this.
Yes, it would be simple to match 'line' against a regular
expression (like "^[0-9]*:[0-9]*:[0-9]* .*") and only
process the lines that match. (Just print out non-matching
lines unprocessed.) The other parts just need a little
book-keeping.
FWIW, your previous snippet /did/ have negative numbers in
it. :-P
Peace,
Gabriel
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user
LINUX® is a registered trademark of Linus Torvalds in the USA and other countries.
Linuxaudio.org logo copyright Thorsten Wilms © 2006.
Hosting provided by the Virginia Tech Department of Music and DISIS.