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 ]; then echo "" echo -e "This is a test message for user2" && \ echo "" else 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 any idea what I'm doing wrong? Guess: csh syntax is different from bash but beyond that I'm stumped. Regards & TIA, -Colin To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
