How to cut the last field in this shell string
LINE=\"/string/to/cut.txt\"
So that the string would look like this
LINE=\"/
echo $LINE | grep -o '.*/' works too.
echo $LINE | grep -o '.*/'