Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Documentation about Multios is misleading, and perhaps untrue
- X-seq: zsh-workers 43672
- From: dana <dana@xxxxxxx>
- To: Tom Boyd <tvboyd23@xxxxxxxxx>
- Subject: Re: Documentation about Multios is misleading, and perhaps untrue
- Date: Wed, 10 Oct 2018 23:05:43 -0500
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dana-is.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=HtzC9ceZ88qCnpzuQMzsmPbhNqWZ52QESPMSa481QzE=; b=s+5yeAgFNTkXa2slPy0S1dsPmuR1MmqslUG4qPkJyGZQ2PuQjdE7FR88C/JRu5dOIV cM0S5J/atf7yhcAWV4NUFQA7oEKIR7ALbeR8ar+r2u6ePTmKcNXFSMbUhA6YpJWYXMXn B40BLVjTlD3th3xFmEJE1d2BeB39rHTLWpFe13R6dHfRG1ICqbO4g8xtD58knHYKfl/Z YIg2DPpnigOQUZLXvftAYnZt5/+4xz4Djxf1Ix6qYnRIyxIMUDeMUEkx5aDgLb4cFldy XV/B6Kn5//F9QlxP5fFHjEhjJdkmVxcVQDmyTgP/+0kPtdxAVIRhCbKRksADMZ5mRfyz MHWA==
- In-reply-to: <CAO1rNLg3Y=W8=r6FSOyBLfjcvKmduit6UQGYwrDGKvVEHwOQJg@mail.gmail.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>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAO1rNLg3Y=W8=r6FSOyBLfjcvKmduit6UQGYwrDGKvVEHwOQJg@mail.gmail.com>
On 10 Oct 2018, at 21:33, Tom Boyd <tvboyd23@xxxxxxxxx> wrote:
>What should be done about this ?
The patch below documents the error for <file, which is consistent with the
documentation for the other redirection operators.
Not sure if there's really an issue with the rest; i've never assumed from that
description that it means it works *exactly* like cat, just that the effect is
similar in the general case. But i guess the examples could be qualified as
'roughly' equivalent or whatever, idk
dana
diff --git a/Doc/Zsh/redirect.yo b/Doc/Zsh/redirect.yo
index c793638b7..833241574 100644
--- a/Doc/Zsh/redirect.yo
+++ b/Doc/Zsh/redirect.yo
@@ -26,6 +26,7 @@ separate filename in turn.
startitem()
item(tt(<) var(word))(
Open file var(word) for reading as standard input.
+It is an error to open a file in this fashion if it does not exist.
)
item(tt(<>) var(word))(
Open file var(word) for reading and writing as standard input.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author