pmcmicha
Technical User
- May 25, 2000
- 353
I am trying to do the following....
VAR=$(cat file) # file is only one string
sed 's/[${VAR}]/TERM=at386-ie/' file > /tmp/file
The problem is that the string is showing up in there like this: TERM=at386-ieM=at386-ie. Any ideas why?
Thanks in advance.
VAR=$(cat file) # file is only one string
sed 's/[${VAR}]/TERM=at386-ie/' file > /tmp/file
The problem is that the string is showing up in there like this: TERM=at386-ieM=at386-ie. Any ideas why?
Thanks in advance.