I have a table in which each entry looks something like,
coagulation factor VIII-associated 1 /// coagulation factor VIII-associated 2 /// coagulation factor VIII-associated 3
I would like to use cut -d/// -f2 myfile.txt
, but I'm getting an error:
cut: bad delimiter
Same case when I use single quotes or double quotes around the delimiter:
cut -d'///' -f2 myfile.txt
cut -d"///" -f2 myfile.txt
Do I have to escape the slash somehow? If so, what is the escape character for cut? Documentation doesn't seem to have that information, and I tried \.
/
is a slash. \ is a backslash.