Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!uxc!tank!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.unix.questions Subject: Re: C Shell history, backprimes Q's -- Noddy Level Message-ID: <16770@mimsy.UUCP> Date: 6 Apr 89 07:24:17 GMT References: <4930001@hpopd.HP.COM> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 32 In article <4930001@hpopd.HP.COM> ian@hpopd.HP.COM (Ian Watson) writes: >... so I can't seem to get the substitute to recognise >'o b', as this spans words. Correct. The C shell cannot substitute across words; its substition code works on individual works, not on groups thereof, nor on strings (except insofar as the words are strings). >Also, why does > >echo `man ps` > >give > >Missing ]. The manual for `ps' includes at least one unclosed `[' character (probably as part of an underline or standout ESC-[ sequence), and the C shell is trying to do file name globbing. To prevent the globbing, use set noglobl or echo "`man ps`" (the latter affects spacing as well). Neither preserves newlines (unlike sh). -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris