On Tue, 2007-04-10 at 07:41 +0100, Ravi Agrawal wrote: <snip/> > or xml. In xml i cant edit the file through command > line utility. I am using xmlstarlet where it delete > the records and prints on stdout but do not update the > xml file so i need to to manually dump that in to temp
why not wrap this around a script ? #!/bin/bash xmlstarler "$*" |tee /tmp/out cp -f /path/to/db/file /path/to/db/file.bak mv -f /tmp/out /path/to/db/file -- Ritesh Khadgaray ॐ मणि पद्मे हूँ LinuX N Stuff Ph: +919970164885 Eat Right, Exercise, Die Anyway. -- ______________________________________________________________________ Pune GNU/Linux Users Group Mailing List: ([email protected]) List Information: http://plug.org.in/cgi-bin/mailman/listinfo/plug-mail Send 'help' to [EMAIL PROTECTED] for mailing instructions.
