Guys,

        Can aanybody spot what I'm doing wrong in this tiny awk scripy::

#!/usr/bin/awk
BEGIN { FS = ":"
        printf("%s\n", $1)
        }
END

        I've got a bunch of grepped output that has things like
foo:
foo:
foo:
bar:
bar:
bar:

        and I want to pick out just the filename.

        thanks for any insights!

        gary


-- 
   Gary Kline     [EMAIL PROTECTED]   www.thought.org     Public service Unix

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to