Expressions in csh IF commands

Dave Price dap at aber-cs.UUCP
Wed Jan 21 03:06:25 AEST 1987


Can someone please tell me what is wrong with the following
apparently faulty IF in csh.

	if ( \{ /bin/true \} ) echo "hello"

man csh expression description paragraph says you
can use commands in {} however all the above
produces is IF syntax error.....
Dave Price

UUCP : { ENGLAND or WALES }!ukc!aber-cs!dap
JANET: dap at uk.ac.aber.cs           PHONE:    +44 970 3111 x 3267	
Post: University College of Wales, Penglais, Aberystwyth, UK, SY23 3BZ.

-- 
UUCP : { ENGLAND or WALES }!ukc!aber-cs!dap
JANET: dap at uk.ac.aber.cs           PHONE:    +44 970 3111 x 3267	
Post: University College of Wales, Penglais, Aberystwyth, UK, SY23 3BZ.



More information about the Comp.unix.wizards mailing list