Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jrb1tx

    problem with "here-string" in ksh

    That clears up my confusion. I added a "ps" to my script and see that the actual shell being run is "sh". The data I want is actually in a variable so I'm going to try something like: read test1 test2 test3 <<EOF $mydata EOF Thanks for the quick response!
  2. jrb1tx

    problem with &quot;here-string&quot; in ksh

    I have a simple script: echo $SHELL read test1 test2 test3 <<< "test1 test2 test3" echo $test1 $test2 $test3 When I run it, I get: /bin/ksh test1 test2 test3 However, when I add line 1: #!/bin/ksh Now I get: /bin/ksh ./test[3]: syntax error: `< ' unexpected What's going on?

Part and Inventory Search

Back
Top