Re: how to prevent bang (!) escapes
Posted in 1996
Mike Aubury — — source: Informix-list mailing list archive (1991-1998)
In article: <jlumbleyDpK4Kr.94K@netcom.com> jlumbley@netcom.com (Joe
Lumbley) writes:
I hate being petty but...
> SHELL=/dev/null;
> export $SHELL;
export SHELL not $SHELL
^^^
the $SHELL would be expanded to /dev/null so the comamnd would
actually read "export /dev/null"...
>
> another alternative is to create a file rdbaccess:
>
> $cat rdbaccess
>
> SHELL=/dev/null
dont forget the "export" or if your using csh - setenv SHELL /dev/null
> dbaccess>
>
>
--
Mike Aubury _\\?/_
|O O|
+----------oOOO-\\_/-OOOo---------+-----------------------------+
| Heisenberg may have been here | mike@aubury.demon.co.uk |
+--------------------------------+-----------------------------+