Disabling file name expansion (was Re: UNIX command line arguments)

Martin Weitzel martin at mwtech.UUCP
Sat Jun 9 21:24:39 AEST 1990


In article <1990Jun8.162903.7297 at agate.berkeley.edu> dankg at 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 at mwtech.UUCP, voice: 49-(0)6151-6 56 83



More information about the Comp.lang.c mailing list