TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:21324] Probably an easy sh/perl question...
> > How about something like:
> >
> > perl -pi.bak -e 's/(\w+)\s*=\s*(\w+)-(\w+)$/$1 = $3-$2/' <filenames>
> >
>
> Oh, don't make him do that! He doesn't think in Perl yet. ;-)
>
Ahoy matties! This worked like a charm! Danke mucho to everyone who
replied.
____________________________
Mike Neuharth
ADCS Technology Specialist
http://www.umn.edu/adcs
E-Mail : mjn@umn.edu
Page Mail : 6126486512@page.metrocall.com
http://nifty.dsl.visi.com/
____________________________