On Tue, 2004-04-20 at 11:54, Bob Bell wrote: > $ perl -pe '$tag="MyTag";$other="MyOtherTag";s/::(\w+)/${$1}/ge;' <<< "foo ::tag > ::other" > foo MyTag MyOtherTag > > Key bit there is "/e".
Worked perfect! Thanks Bob, and Jim, for the help. -- brian <[EMAIL PROTECTED]> _______________________________________________ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss