Search Results

Search: Posts Made By: edewerth
11,647
Posted By edewerth
Fixed
Fixed it using various quote combinations. I used single for the entire command string, then areound the variable I use single, double, double and single. Now it works.

-e '1i\
connect to...
11,647
Posted By edewerth
If I add -e "1i\ connect as ${todbname};" ...
If I add

-e "1i\
connect as ${todbname};"

I get this, I now get the "eldtest" string in the ${todbname} but I still get the command garbled error.

+ sed -e s/^[ \t]*//;s/[ \t]*$// -e...
11,647
Posted By edewerth
Passing a variable in SED getting command garbled
I fairly new to SED. I have tried many different variations of this line of code and even breaking it down into its components and running them separately.

They work individually without...
Showing results 1 to 3 of 3

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