[wellylug] bash / sed / awk tricky question
andrej at paradise.net.nz
andrej at paradise.net.nz
Fri Feb 4 16:42:43 NZDT 2005
Quoting "jfouhy at paradise.net.nz" <jfouhy at paradise.net.nz>:
> ------ proc.awk -----
> # This block will execute at the beginning of the script.
> BEGIN{
> # Set the field separator.
> FS = "-";
> }
That's not going to work ... there's packages like
x11-fonts-100dpi-6.7.0-noarch-1
with 2 non-significant "-" in the name
before the version number ...
More information about the wellylug
mailing list