Is there any way to read raw text from stdin
before it is expanded or before the shell does anything to it? Say I wanted to run a script where a user enters a string which is then printed out, how can I get the following behavior:
$ sh test.sh
Please enter a string:
***<><><||&&*&$PATH
You entered:
***<><><||&&*&$PATH
Is there any way to implicitly surround the text with ''
or escape all meta characters even if the user does not?