From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,46d9c5892d08c466,start X-Google-Attributes: gidf678f,public X-Google-Thread: 1012a6,46d9c5892d08c466,start X-Google-Attributes: gid1012a6,public From: chet@pooh.INS.CWRU.Edu (Chet Ramey) Subject: Re: ksh process substitution - which ksh's support this? Date: 1997/11/12 Message-ID: <64cpq4$o3g$1@madeline.INS.CWRU.Edu>#1/1 X-Deja-AN: 288980849 References: <01bced5e$dd619580$026464c0@simon.iaccess.com.au> Organization: Case Western Reserve University, Cleveland, Ohio, USA Newsgroups: comp.unix.osf.misc,comp.unix.shell In article <01bced5e$dd619580$026464c0@simon.iaccess.com.au>, Simon Taylor wrote: >I have written some ksh scripts that need to be portable across a number >of Unixes. > >To my dismay, I have discovered that the process substitution feature >I have in my SCO "Open Server 5" ksh (and in the GNU bash), is not >available in the ksh shipped with most of the other Unixes I have >access to. > >Is this just because these machines happen to be a few years old, >and the newer ksh simply isn't on them, or is process substitution >not supported universally? ksh does not support process substitution on versions of Unix without the /dev/fd directory. Bash uses either /dev/fd or named pipes to implement process substitution, so bash may provide process substitution on systems where ksh would not. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, Case Western Reserve University Internet: chet@po.CWRU.Edu