[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New auxiliary archive script
From: |
Eric Blake |
Subject: |
Re: New auxiliary archive script |
Date: |
Wed, 04 Aug 2010 15:04:29 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.3 Thunderbird/3.1.1 |
On 08/04/2010 02:18 PM, Ralf Wildenhues wrote:
>> # strip leading dash in $action
>> case $action in
>> -*) action="${action#-}" ;;
>> esac
>
> The case statement is unnecessary, you can use just
> action=${action#-}
Either way, this assumes an XSI shell. Are we guaranteed that this
script will only run on hosts where all shells understand this, or is it
likely to trip up on Solaris /bin/sh?
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: pr-msvc-support merge, Ralf Wildenhues, 2010/08/01
- Re: New auxiliary archive script, Peter Rosin, 2010/08/05
- Re: New auxiliary archive script, Ralf Wildenhues, 2010/08/06
- Re: New auxiliary archive script, Peter Rosin, 2010/08/06
- cond5.test spurious failure (was: New auxiliary archive script), Stefano Lattarini, 2010/08/06
- Re: cond5.test spurious failure, Peter Rosin, 2010/08/06
- Re: cond5.test spurious failure, Stefano Lattarini, 2010/08/06
- Re: cond5.test spurious failure, Peter Rosin, 2010/08/06