I have a bash script (test.sh) which reads parameters from the command line.
The parameters could look like this: param1 param2 param3&ext param4 param5
The problem is that when the script reads the parameters and then echo them I get the following:
param1 param2 param3 No command 'ext' found did you mean: <different commands from different packages> ext: command not found + Done ./test.sh param1 param2 param3
I want the output to look like this:
param1 param2 param3&ext param4 param5
The source code of my script is:
#!/bin/bash # # test script # echo $1 echo $2 echo $3 echo $4 echo $5 # # end of test script #