Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] _file_descriptors: initialize `list' array with local -a
- X-seq: zsh-workers 35486
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] _file_descriptors: initialize `list' array with local -a
- Date: Tue, 16 Jun 2015 09:42:52 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1434440573; bh=AEGZIWqMmV47XFv5PIJJhPrshWV1OoQ6OY652ZpLa50=; h=In-reply-to:From:References:To:Subject:Date:From:Subject; b=i19hQ39ZWUDOcN/BbL47Sl6i484+4xNQyASTSG8NtKhDwwiYkXRC0mJFiwlOYE4aMFJAnlnesZS/mOTOVKHkDk8zN40nIe+87to5easBQtTctHwvlfP6XNxO2RtqAD9vFv3ZdgB8dJ6VMMuJzrFEpKH92ke0rFw8jVj0a0ZleC5KV9sJjH/eLl0AR3R7QnCAt1YCAf2EAFqyzPyfmQR1KVIl6WMOaBmWNQkocAfslpZ5S+l4Nvp8z+KnpZntrt52GL4IbJMCJYJcWc2vPylQHINcFwKmOc0gMkB8uSxw9ciB7u21T/MkxXeetn7h5EajDDOMB5xGbnIUSKCGrJB2OA==
- In-reply-to: <1434432668-18303-1-git-send-email-llua@gmx.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1434432668-18303-1-git-send-email-llua@gmx.com>
Eric Cook wrote:
> + fi 2>/dev/null
That redirection causes the description of fd 2 to change to /dev/null
instead of being the tty. I'm not sure in what situation it is needed
but it might be better to put it directly on the readlink/sed or
whichever command actually needs it.
Or perhaps we should hardcode descriptions for fd 0-2 to
stdin/stdout/stderr.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author