Red Hat shell scripting problem

Ray Strode halfline at hawaii.rr.com
Mon Sep 10 11:42:37 PDT 2001


> In a line in bash,  (t)csh or bourne shell, you can type:
>
>     echo "Enter your choice: \c"
>     read response
In bash it's
echo -e "Enter your choice: \c"
read response

(or
echo -n "Enter your choice: "
read response
)

That is to accept those special control characters you need to use
"-e".

--Ray



More information about the LUAU mailing list