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



__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers>. Please 
use
[email protected] for discussions and questions.

Reply via email to