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!

Sed command problem

Status
Not open for further replies.

goodmans

MIS
Apr 23, 2008
63
GB
Hello people,

Please help me solving this as I am not expert in unix scripting.

script:
#!/bin/ksh
v=$1
sed -e "s/PART_LIST=/PART_LIST=$v" myfile.txt

output:
sed: command garbled: s/PART_LIST=/PART_LIST=test

Regards
G
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top