--- Ritesh Khadgaray <[EMAIL PROTECTED]> wrote:

> 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
> 
yaa i agree this can be done. But everytime i do a
single update it has to copy and then move. I want
some cleaner way.
> 
> -- 
> 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.
> 



      Send a FREE SMS to your friend's mobile from Yahoo! Messenger. Get it now 
at http://in.messenger.yahoo.com/

--
______________________________________________________________________
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.

Reply via email to