I have a file in which I use a string like
<xxxxx> to separate the fields. This was a choice to avoid problems with the comma separated fields and other types of single characters due to the nature of strings in the columns which may contain some of these special characters.
I want to extract the first column. I used:
cat myfile.txt | cut -d '<xxxxx>' -f1 > out.txt
But I got error saying that the delimeter must be a single character.
Q: How can I extract the first columns (which is before the first occurrence of