On Thu, 2010-09-02 at 20:36 -0600, Kevin Locke wrote:
> sed -ir 's/^([^,]+),[^,]+,([^,]+\/\1)_([^,\/]+).jar,/\1,\3,\2_\3.jar,/' 
> "$(find ~/.eclipse -name bundles.info)"

One quick followup to my last message.  Here's a corrected command
using BREs instead of EREs so the back-reference is valid.

sed -i 's/^\([^,]*\),[^,]*,\([^,]*\/\1\)_\([^,\/]*\).jar,/\1,\3,\2_\3.jar,/' 
"$(find ~/.eclipse -name bundles.info)"

Cheers,
Kevin



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to