Thank you for an answer. Well noted.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Jonny dixit:
>following code:
> #!/bin/sh
> trap 'echo 0' EXIT
> unset v
> ${v?}
>
>bash and dash will run the "echo 0", mksh does not perform.
>Is this the intended behavior?
Hrm.
POSIX says:
${parameter:?[word]}
Indicate Error if Null or Unset. If parameter is unset or
n
Package: mksh
Version: 40.9.20120630-4
Hi,
following code:
#!/bin/sh
trap 'echo 0' EXIT
unset v
${v?}
bash and dash will run the "echo 0", mksh does not perform.
Is this the intended behavior?
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubsc
3 matches
Mail list logo