[comp.lang.c] Disabling file name expansion

martin@mwtech.UUCP (Martin Weitzel) (06/09/90)

In article <1990Jun8.162903.7297@agate.berkeley.edu> dankg@tornado.Berkeley.EDU (Dan KoGai) writes:
[original question and correct answer deleted]

>	Simple:  It's shell's job to expand * and other character (called
>globbing).  On csh you can turn off this feature by "set noglob" and
>characters such as '*' are treated leterally (this is necessary when using
>tset, et al).

In SysV shell file name expansion may also switched of with
`set -f'. Switching it on again is done with `set +f'.
-- 
Martin Weitzel, email: martin@mwtech.UUCP, voice: 49-(0)6151-6 56 83

jhpb@granjon.UUCP (Joseph H. Buehler) (06/12/90)

Now if you could only declare which programs/scripts need globbing and
which don't...
--
Joe Buehler

mikey@ontek.com (Michael "Krill-Man" Lee) (06/14/90)

In comp.lang.c, jhpb@granjon.att.com (59452-JH Buehler(BLU123)) writes:
| Now if you could only declare which programs/scripts need globbing and
| which don't...

  Done.  PRIMOS rev 19.something.  The linker had options for
  telling the shell what kind of expansion was allowed on program 
  arguments.

-- 
krill-man | krill@ontek.com