Search Results

Search: Posts Made By: LPK
5,669
Posted By Peasant
It is significant. The subshell call ...
It is significant.

The subshell call message=$("this is my message $var whatever $othervar") will fail with command not found error.

There is also an issue with subshell call, which will not...
5,669
Posted By Scott
I also noticed the command substitution around...
I also noticed the command substitution around the message declaration (message=$(...)), but it's SH and the OS isn't mentioned, so I don't know if that's significant.
5,669
Posted By rbatte1
This may be because you are using single quotes...
This may be because you are using single quotes in the here document. Try double quotes.


What do you see it doing if you add a set -x on the second line? The trace should show the commands...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 11:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy