"paste -d'|' <(echo 22)
the code is righ in command line , but I wrote it to a shell file , it's error.
this result :
How to resolve this! Thinks!
"paste -d'|' <(echo 22)
the code is righ in command line , but I wrote it to a shell file , it's error.
this result :
How to resolve this! Thinks!
 
    
    #!/bin/bash informs the shell to use bash, and when you run it with sh it does not use bash as sh is forced.
sh is way more limited than bash, so if your script uses bash logic, but is run via sh, it is not fully compatible, and errors out where sh does not understand the commands.
