From mboxrd@z Thu Jan 1 00:00:00 1970 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes Message-ID: <19990126183201.A27794@fysh.org> Date: Tue, 26 Jan 1999 18:32:01 +0000 From: Phil Pennock To: Zsh Development Workers Subject: Two questions Mail-Followup-To: Zsh Development Workers Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.2 Organisation: Organisation? Here? No, over there ----> X-Disclaimer: Any views expressed in this message, where not explicitly attributed otherwise, are mine and mine alone. Such views do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. X-Mailing-List: 5031 Hi, a quick two questions (new job, no access to sources atm) A few weeks ago I queried (on zsh-users) how to do redirection from a variable file descriptor. The answer was quite complex, and boiled down to the fact that the parser gets in the way. Bog-standard Bourne shell handles it smoothly. If we're aiming for compatibility, fixing this might be good. How feasible is it? Eg, % cat foo #!/path/to/zsh -f print >$1 '=== Foo! ===' % ./foo 5 5>Funky This is a little contrived, but effectively what: (a) I needed at the time (b) What someone else on another list needed - being able to redirect to and from arbitrary fds. Second question: Recently zsh has changed a number of things to be more compatible with ksh. And some things, such as the associative arrray stuff, has followed what seem to be dubious criteria in order to be compatible. Given that there's pdksh for that, just how important is it for zsh to parallel ksh? And how important to do so natively, as opposed to an option adding behaviour or whatever? TIA -- --> Phil Pennock ; GAT d- s+:+ a23 C++(++++) UL++++/I+++/S+++/B++/H+$ P++@$ L+++ E-@ W(+) N>++ o !K w--- O>+ M V !PS PE Y+ PGP+ t-- 5++ X+ R !tv b++>+++ DI+ D+ G+ e+ h* r y?