":" as a csh command

John Cornelius jc at piaget.UUCP
Wed Dec 24 01:29:54 AEST 1986


In article <666 at cullvax.UUCP> drw at cullvax.UUCP (Dale Worley) writes:
>What does the ':' command to csh do?  When I type
>	:
>or	...
>	...
>csh doesn't seem to do anything, but if I type
>	: a
>it says ":: Too many arguments".

At least one of the functions performed by ':' is to invoke sh to
interpret the rest of the file.

If the first line of a command file is an unadorned ':' character,
csh does not interpret it but invokes sh with the balance of the file
used as input.

-- 
John Cornelius
(...!sdcsvax!piaget!jc)



More information about the Comp.unix.questions mailing list