no (t)csh read builtin?
xfb52 at dial.pipex.com
Fri Apr 8 06:28:03 PDT 2005
Emanuel Strobl wrote:
>how can I interactively read a variable from the command line with tcsh?
>The *[^c]sh command "read" doesn't exist, so how can I do it with csh?
From man csh:
$< Substitutes a line from the standard input, with no
interpretation thereafter. It can be used to read
keyboard in a shell script. (+) While csh always quotes
if it were equivalent to `$<:q', tcsh does not.
when tcsh is waiting for a line to be typed the user
an interrupt to interrupt the sequence into which the
to be substituted, but csh does not allow this.
More information about the freebsd-questions