[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Make ar-lib support backslashed files in archives.
From: |
Ralf Wildenhues |
Subject: |
Re: Make ar-lib support backslashed files in archives. |
Date: |
Thu, 2 Sep 2010 20:37:13 +0200 |
User-agent: |
Mutt/1.5.20 (2010-04-22) |
* Stefano Lattarini wrote on Thu, Sep 02, 2010 at 06:44:34PM CEST:
> On Thursday 02 September 2010, Peter Rosin wrote:
> > $AR -NOLOGO -LIST "$archive" | sed -e 's/\\/\\\\/g' | while read
> > member; do
> > $AR -NOLOGO -EXTRACT:"$member" "$archive" || exit $?
> > done
> Given that Solaris 10 /bin/sh, /usr/xpg4/bin/sh and /bin/ksh do not support
> (or fail to honour) the `-r' option of the read builtin (bummer!), your fix
> seems the best one to me.
Agreed.
Thanks!
Ralf