Using exit in a Bourne shell script
Leo de Wit
leo at philmds.UUCP
Sun Jul 24 19:46:32 AEST 1988
In article <3733 at okstate.UUCP> goog at okstate.UUCP (GOOG ??) writes:
[stuff deleted]...
|I had this problem also, and to combat it I put a line in my .login (not
|.logout...) that states:
|
|set ignoreeof
|
|and that does it. It will allow you to use Ctrl-D from anywhere to quit things
In article <4664 at csli.STANFORD.EDU> gandalf at csli.stanford.edu (Juergen Wagner) writes:
|How about
| set ignoreeof
|in your .cshrc. This will prevent you from doing what you're fearing, namely
[stuff deleted]...
Boys, read the subject line. It says: ... in a Bourne shell script.
set ignoreeof is csh stuff.
Leo.
More information about the Comp.unix.questions
mailing list