Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: multi-digit file descriptors



On Feb 12, 11:24am, Vincent Lefevre wrote:
} Subject: Re: multi-digit file descriptors
}
} On 2015-02-11 17:46:05 +0000, Peter Stephenson wrote:
} > You can grab use of one yourself with the recommended syntax (we
} > actually agreed this with David Korn):
} > 
} >   local foo
} >   exec {foo}>blah
} >   echo bleugh >&$foo
} 
} However this is not portable (not supported by dash and mksh).

Well, neither are multi-digit fd redirections (which was actually
sort of the point of that austin-group thread although it came at
the issue from a different direction).



Messages sorted by: Reverse Date, Date, Thread, Author