Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Why only ONE redirection ?
- X-seq: zsh-workers 2451
- From: "C. v. Stuckrad" <stucki@xxxxxxxxxxxxxxxxx>
- To: Zsh workers list <zsh-workers@xxxxxxxxxxxxxxx>
- Subject: Why only ONE redirection ?
- Date: Fri, 22 Nov 1996 13:27:47 +0100 (MET)
- Priority: normal
- Reply-to: "C. v. Stuckrad" <stucki@xxxxxxxxxxxxxxxxx>
Hi!
Today with a zsh-3.0.1 I did the following
(to look for a 'range' of files):
$ ls -lgtra * > >(head -3) > >(tail -3)
-r--------  1 root     bin          1014 Jul 23 12:43 0uiewJ-000837C
-r--------  1 root     bin          1846 Jul 23 12:45 0uieyA-000839a
-r--------  1 root     bin           516 Jul 23 12:47 0uiezb-00083QC
*** I got only THREE lines ***
So I toggled 'multios' and got 'nothing'.
When I tested the old zsh-2.5.0c, I got:
$ /usr/local/bin/zsh2.5.0c -c 'ls -lgtra * > >(head -3) > >(tail -3)'
-r--------  1 root     bin          1014 Jul 23 12:43 0uiewJ-000837C
-r--------  1 root     bin          1846 Jul 23 12:45 0uieyA-000839a
-r--------  1 root     bin           516 Jul 23 12:47 0uiezb-00083QC
-r--------  1 root     bin          2721 Aug 27 04:50 0uvEED-0008HQC
-r--------  1 root     bin          1339 Aug 27 04:52 0uvEGE-0008HRC
-r--------  1 root     bin          1168 Aug 27 04:53 0uvEHO-0008HTC
*** THIS is what I was trying to do ***
Is the difference in the zsh's a bug or a feature ?
Stucki 
Christoph von Stuckrad       * *  | talk to  | <stucki@xxxxxxxxxxxxxxxxx> \
Freie Universitaet Berlin    |/_* | nickname | ...!unido!fub!leibniz!stucki|
Fachbereich Mathematik, EDV  |\ * | 'stucki' | Tel:+49 30 838-7545{9|8}    |
Arnimallee 2-6/14195 Berlin  * *  |  on IRC  | Fax:+49 30 838-5913        /
Messages sorted by:
Reverse Date,
Date,
Thread,
Author