[Gllug] Friday bash or maybe Perl question

Simon Perry gllug at si-designs.co.uk
Fri Oct 6 10:43:34 UTC 2006


Hi,

I have a directory with some files named in the format log-APR-2006.gz

For each log file I need to expand the file, split the lines that
contain "aff_img" into aff-MMM-YYYY and the rest of the lines into
new-MMM-YYYY.

Any idea how to achieve this?

Thanks

Simon



-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list