I want to change some names in a file using sed. This is how the file looks like:
#! /bin/bash SAMPLE=\"sample_name\" FULLSAMPLE=\"full_sample_name\" ...
I believe \< and \> work with gnu sed, you just need to quote the sed command:
\<
\>
sed -i.bak 's/\/sample_01/g' file