Xref: utzoo unix-pc.general:3220 comp.sys.att:6890 Path: utzoo!attcan!ncrcan!hcr!john From: john@hcr.UUCP (John R. MacMillan) Newsgroups: unix-pc.general,comp.sys.att Subject: Re: /dev/fd device driver to be posted Keywords: unixpc /dev/fd device driver Message-ID: <1302@hcr.UUCP> Date: 4 Jul 89 20:45:44 GMT References: Reply-To: john@chance.UUCP (John R. MacMillan) Organization: HCR Corporation, Toronto Lines: 20 In article ford@kenobi.UUCP writes: |This is primarily useful when running a poorly-written program that |has no provision for using stdin/stdout. It's also useful for supporting a feature in KSH88 (and the PD ksh I use as soon as I get around to it :-)). I don't have the book handy but the syntax is something like: paste (cut -f2 foo) (cut -f1,3 bar) > foobar And this isn't one of those poorly-written ones, either; you couldn't do the above with simple linear pipelines. As an aside on a somewhat religious matter, I've always felt the convention that "-" means standard input is somewhat gory; /dev/stdin eliminates the need for this. -- John R. MacMillan No parking by the sewer sign a hot dog with a HCR Corporation razor broke there's water dripping up the spout {utzoo,utcsri}!hcr!john but I don't care let it all hang out -- The Nails