L A Walsh via austin-group-l at The Open Group dixit:
> along those lines:
>
> /tmp pwd >& /dev/zero
> -bash: /dev/zero: Permission denied
> /tmp> echo $?
> 1
> /tmp> cd ~>& /dev/zero #note the command isn't executed
> -bash: /dev/zero: Permission denied
> /tmp>
What? WHAT?
Could you please translate that to proper sh syntax?
I know the GNU bash extension >& (which incidentally
violates POSIX on the parse level) but not ~>&…
Thanks,
//mirabilos
--
Yay for having to rewrite other people's Bash scripts because bash
suddenly stopped supporting the bash extensions they make use of
-- Tonnerre Lombard in #nosec