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

          • Re... Vincent Lefevre via austin-group-l at The Open Group
          • Re... Stephane Chazelas via austin-group-l at The Open Group
          • Re... Vincent Lefevre via austin-group-l at The Open Group
      • Re: utilit... Robert Elz via austin-group-l at The Open Group
        • Re: ut... Vincent Lefevre via austin-group-l at The Open Group
        • Re: ut... mirabilos via austin-group-l at The Open Group
          • Re... Vincent Lefevre via austin-group-l at The Open Group
  • Re: utilities and w... L A Walsh via austin-group-l at The Open Group
    • Re: utilities ... L A Walsh via austin-group-l at The Open Group
      • Re: utilit... [email protected] via austin-group-l at The Open Group
        • Re: ut... L A Walsh via austin-group-l at The Open Group
          • Re... [email protected] via austin-group-l at The Open Group
          • Re... L A Walsh via austin-group-l at The Open Group
          • Re... Don Cragun via austin-group-l at The Open Group
          • Re... [email protected] via austin-group-l at The Open Group
          • Re... Joerg Schilling via austin-group-l at The Open Group
          • Re... Chet Ramey via austin-group-l at The Open Group
          • Re... Harald van Dijk via austin-group-l at The Open Group
        • Re: ut... Chet Ramey via austin-group-l at The Open Group
    • Re: utilities ... Vincent Lefevre via austin-group-l at The Open Group

Reply via email to