Path: utzoo!utgpu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!wuarchive!ukma!psuvax1!rutgers!cmcl2!kramden.acf.nyu.edu!brnstnd From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein) Newsgroups: alt.sources.d Subject: Re: Multiple executables in path Message-ID: <24178:Jan2517:01:0591@kramden.acf.nyu.edu> Date: 25 Jan 91 17:01:05 GMT References: <5657@idunno.Princeton.EDU> <21227:Jan2422:43:3791@kramden.acf.nyu.edu> <5688@idunno.Princeton.EDU> Organization: IR Lines: 36 In article <5688@idunno.Princeton.EDU> pfalstad@burst.Princeton.EDU (Paul Falstad) writes: > >[ explains how it works ] > Yes, I did figure it out, but it took a while. The perl solution was > obvious, at least to me. > >(Btw, are you so sure that your change is correct?) > No, I didn't bother to test it. I don't know perl. Well, your ``obvious'' change is wrong. This says something about the maintainability of the perl solution. > >That isn't a bug; it's a documented feature. You can easily avoid it if > >you want. > How? (genuine question) Is there a way to make csh not glob the results > of command substitution but have usual globbing work fine? Hint: To stop foo from being globbed, you put double-quotes around it. > Also, this > feature is not documented, at least not in my manual. Frighteningly bad csh manual you have if it doesn't mention double quotes. > >You and Tom are coming across as so lazy that you'd rather waste > >thousands of dollars of money around the world arguing with facts than > >spending the two minutes it would take you to figure things out on your > >own. Any competent shell programmer can use filters, and I'm not going > >to teach you tricks that you can easily figure out for yourself. > I spent the two minutes figuring it out, and now I'm wasting thousands > of dollars of money around the world hoping to prevent others from > having to do the same. Sorry, but all you've shown in this article is that you don't know how to use double-quotes to prevent globbing. ---Dan