I'm trying to change few things in a file based on line numbers.
sed -n -i "$command|ABC|XYZ" ".$file_name"
The command variable is going to take the values such as 200s,311s and so on
I'm getting "sed: -e expression #1, char 32: unterminated `s' command"
What could be going wrong?
|afterXYZ?