On Tue, Jun 1, 2010 at 12:52, Johnathan Corgan <[email protected]> wrote:
> Feel free to suggest an alternative way of doing this test. My
> script-fu is not my greatest asset :-)
I have a solution for this using awk (thanks Jordan):
$ echo '1-2-3-4' | awk -F- '{print NF}'
4
Can you test Darwin's 'awk' for this?
Johnathan
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
