khadgaray at gmail.com
Tue Apr 10 00:41:16 PDT 2007
On Tue, 2007-04-10 at 07:41 +0100, Ravi Agrawal wrote:
> 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 ?
xmlstarler "$*" |tee /tmp/out
cp -f /path/to/db/file /path/to/db/file.bak
mv -f /tmp/out /path/to/db/file
ॐ मणि पद्मे हूँ
LinuX N Stuff
Eat Right, Exercise, Die Anyway.
More information about the plug-mail