Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!udel!ee.udel.edu From: new@ee.udel.edu (Darren New) Newsgroups: comp.os.misc Subject: Re: shell with da Silva lining Message-ID: <50837@nigel.ee.udel.edu> Date: 15 Apr 91 22:17:43 GMT References: <1639@sheol.UUCP> <1685@sheol.UUCP> Sender: usenet@ee.udel.edu Organization: University of Delaware Lines: 16 Nntp-Posting-Host: estelle.ee.udel.edu >> peter@ficc.ferranti.com (Peter da Silva) >> You need to be able to specify expansion into multiple args (with glob) >> and expansion into a single arg (as in the example above). The real problem is that you are doing this under UNIX, where stdin and stdio are unstructured streams of bytes instead of something more sophisticated. If you had a system where the glob program could return an tuple, you wouldn't have this problem. It would be an argument to glob rather than to the shell which determined whether it gets quoted. UNIX... sigh. -- Darren -- --- Darren New --- Grad Student --- CIS --- Univ. of Delaware --- ----- Network Protocols, Graphics, Programming Languages, FDTs ----- +=+=+ My time is very valuable, but unfortunately only to me +=+=+ +=+ Nails work better than screws, when both are driven with screwdrivers +=+