Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!rutgers!cmcl2!lanl!cochiti.lanl.gov!jlg From: jlg@cochiti.lanl.gov (Jim Giles) Newsgroups: comp.os.misc Subject: Re: Globbing Message-ID: <18922@lanl.gov> Date: 23 Mar 91 21:29:32 GMT References: <18920@lanl.gov> Sender: news@lanl.gov Reply-To: jlg@cochiti.lanl.gov (Jim Giles) Organization: Los Alamos National Laboratory Lines: 16 In article , peter@ficc.ferranti.com (Peter da Silva) writes: |> [...] |> + echo 'I''m planning on doing globbing like so: [*.c]' |> I'm planning on doing globbing like so: split.c getline.c bsh.c domagic.c Whoops! Forgot to mention that this syntax (even if you adopt my previous suggestion) still doesn't allow me to write a tool which uses the _same_ wildcard syntax for other tools that the shell uses for filenames. At the very least, the characters around the wildcard pattern (or some other distinguishing feature) would have to be different. If consistency in the user interface were _really_ important to you, you wouldn't force this inconsistency into your shell design. J. Giles