[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: export in posix mode
From: |
Eric Blake |
Subject: |
Re: export in posix mode |
Date: |
Wed, 27 Feb 2013 15:33:30 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3 |
On 02/27/2013 03:22 PM, Chet Ramey wrote:
> I don't know what version you're using; I have 0.11.
>
> $ ./posh
> \[\]${HOST}($SHLVL)\$ exit 1
> ./posh: exit: bad number
>
> $ ./posh
> \[\]${HOST}($SHLVL)\$ exit 10
> ./posh: exit: bad number
> $ echo $?
> 1
I tested with posh 0.10.2; looks like this is an upstream regression in
behavior (although you'd have to ask posh developers whether the
regression is intentional):
$ posh -c 'exit 10'; echo $?
10
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- export in posix mode, James Mason, 2013/02/27
- Re: export in posix mode, Eric Blake, 2013/02/27
- Re: export in posix mode, Chet Ramey, 2013/02/27
- Re: export in posix mode, Bob Proulx, 2013/02/27
- Re: export in posix mode, Chet Ramey, 2013/02/27
- Re: export in posix mode,
Eric Blake <=
- Re: export in posix mode, Bob Proulx, 2013/02/27