procmail
[Top] [All Lists]

Re: tcsh

1998-08-17 18:43:49
Lyle Sanders wrote,

| Actually, csh and tcsh, executes the .cshrc first, THEN if, and only
| if it is the login shell (not a sub shell) it executes the .login.
| 
| I won a dinner on this years ago...
| 
| To verify this, just add a line to each file something like:
| 
|       echo "executing .login"  # in the .login file
| 
|       echo "executing .cshrc"  # in the .cshrc file

Ah yes; thanks for the reminder, Lyle.

And to verify that a csh or tcsh invoked from .procmailrc doesn't read .login
at all, leave those lines in there and put this into .procmailrc:

 LOG="`true | true`
"

<Prev in Thread] Current Thread [Next in Thread>