Answers for "set variable sed"

1

assign variable with sed not working

comp=$(echo "$fullName"  | sed 's/ //g')
Posted by: Guest on September-04-2020
0

sed replace with variable

sed -i "s/$var1/ZZ/g" "$file"
Posted by: Guest on August-03-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language