I am trying to delete a line inside a file using sed. This is the line:
PROC="Start: 05-03 20:02:51 | Version: OP | Cmd: 300 ./gzip.bc --sym-args 0 1 10 --sym-args 0 2 2 --sym-files 1 8 --sym-stdin 8 --sym-stdout"
This is the sed command I'm using:
sed -i '/"${PROC}"/d' ../lists/file
It's not working and it feels like hours trying to find out why... The command is run in a bash cript. I am using Linux Arch in a docker running on Mac (maybe that's the problem?)...