Alexander Steinböck <bts@bts.grml.org>:
>
> New submission from Alexander Steinböck <z3ttacht@grml.org>:
>
> * dash(1) doesn't have the environment parameter `$UID'. Using the
> command substition `id --user' instead.
NACK.
As per susv3, id only needs to support short options like '-u'.
'--user' is a GNU extension. IOW: if you want to enhance portability,
stick to sus.
> * `exit -1' isn't supported by dash(1) either. Besides, `exit 1' is used
> througout the rest of the script.
ACK
> * Only `=' is allowed for testing of equality of strings in dash(1).
ACK
Regards, Frank |