[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/37493: /bin/sh exits if shift fails, but shouldn't
The following reply was made to PR bin/37493; it has been noted by GNATS.
From: Roland Illig <roland.illig%gmx.de@localhost>
Subject: Re: bin/37493: /bin/sh exits if shift fails, but shouldn't
Date: Sun, 25 May 2008 15:16:50 +0200
Alan Barrett schrieb:
> According to another part of SUSv3, an "option or operand error"
> in a special built-in utility means that the shell must exit
> I think that trying to shift too many parameters would fall under this
Thank you for the explanation. I think that makes the PR a false one.
I'll document this quirk in the "pkgsrc portability guide" instead.
Main Index |
Thread Index |