Re: syntax problem in /etc/csh.login

2003-02-14 Thread Heinrich Rebehn
Colin J. Raven wrote: Greetings all! Trying to create a custom login message for csh users. I put the following in /etc/csh.login snip ### if [ `whoami` = user1 ]; then echo echo -e This is a test message for user1 \ echo else if [ `whoami` = user2

RE: syntax problem in /etc/csh.login

2003-02-14 Thread Colin J. Raven
snippage + if [ `whoami` = test ]; then + echo + echo -e This is a test message for user test \ + echo + fi + ### + /snip + and got an error upon subsequent login as user test: + if: Expression Syntax. (without parens) + + Anyone got

Re: syntax problem in /etc/csh.login

2003-02-14 Thread Daniel Bye
On Fri, Feb 14, 2003 at 01:10:15PM +0100, Colin J. Raven wrote: Greetings all! Trying to create a custom login message for csh users. I put the following in /etc/csh.login snip ### if [ `whoami` = user1 ]; then echo echo -e This is a test

Re: syntax problem in /etc/csh.login

2003-02-14 Thread Ruben de Groot
On Fri, Feb 14, 2003 at 02:40:17PM +0100, Colin J. Raven typed: snippage + if [ `whoami` = test ]; then + echo + echo -e This is a test message for user test \ + echo + fi + ### + /snip + and got an error upon subsequent login as

Re: syntax problem in /etc/csh.login

2003-02-14 Thread Heinrich Rebehn
Colin J. Raven wrote: snippage + if [ `whoami` = test ]; then + echo + echo -e This is a test message for user test \ + echo + fi + ### + /snip + and got an error upon subsequent login as user test: + if: Expression Syntax. (without