On Fri, Aug 20, 2004 at 03:27:34PM -0500, Kent West wrote:
but what I want returned is just the word "programmer". I figure it's
some switch to grep, or perhaps piping the results to sed or awk, but
I'm unfamiliar with these tools, and an hour of trying to grok the man
pages and web tutorials for these apps hasn't gotten me any closer to a
solution. I'm hoping one of you whiz-guys can provide me an answer in
about ten seconds.
Is this helpful:
stefan:~$ tr -cs '[a-zA-Z0-9-]' '\012' < /var/cache/debconf/templates.dat | grep ault-x-dis
default-x-display-manager
default-x-display-manager