non-interactive XML editor

Jason Spiro jasonspiro-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Thu Apr 6 05:15:18 UTC 2006


2006/4/3, Fraser Campbell <fraser-eicrhRFjby5dCsDujFhwbypxlwaOVQ5f at public.gmane.org>:
> I'm not against using perl/ruby/whatever, I just expect there must be a
> simple command line tool like I'm suggesting ... if only I could find it.

So use Perl. :)

Even if the tool did exist, it'd be faster to hack up a two-line Perl
script to do it yourself than to search for and find the tool.

If you're not yet good with regular expressions, there's a good
one-chapter introduction to regular expressions in the book "Learning
Perl." Or just search Google for the words regular expression
tutorial. A basic knowledge of regexp syntax is unbelievably useful
for things like this, for the grep(1) tool, and for advanced
search-and-replaces in Vim and Emacs.

Cheers,
Jason
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list