That's strange. Have you tried putting read in single quotes (which will ensure that the real command is used, not an alias)
Also using test as a variable name is probably not a good idea as it's a bash builtin command
tryCode:'read' ans echo $ans
Bookmarks