Your message dated Wed, 12 Jan 2011 14:44:24 +0100
with message-id <[email protected]>
and subject line xmlstarlet ed: wish for --in-place
has caused the Debian Bug report #515550,
regarding xmlstarlet ed: wish for --in-place
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
515550: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=515550
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xmlstarlet
Version: 1.0.1-2
Severity: wishlist

GNU sed has an --in-place option so that I can do something like

    sed -rsi s/foo/bar/ *.txt

But xmlstarlet doesn't, so instead I have to use a loop:

    for i in *.html
    do  xmlstarlet ed ... $i >$i~ &&
        mv $i~ $i
    done

It would be nice if, like sed and ed, xmlstarlet could do this little
bit of file writing and moving internally.

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xmlstarlet depends on:
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libxml2                2.6.32.dfsg-5     GNOME XML library
ii  libxslt1.1             1.1.24-2          XSLT processing library - runtime 
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

xmlstarlet recommends no packages.

xmlstarlet suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 1.0.3-1

The new version 1.0.3-1 has:

  -L (or --inplace)   - edit file inplace

and it works. So, I'm closing the bug.

-- 
Vincent Lefèvre <[email protected]> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)


--- End Message ---

Reply via email to