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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to