Hello,
I have a text file with ^A as separator (136;101). I have line in a text file like the following example:
aax^Abbbx^AcAccx^Adddx^AAABB
aax^Abbbx^AcAccx^Adddx^AAABB
I expect to remove everything between the second ^A and the fourth ^A.
The result must be:
aax^Abbbx^AAABB
aax^Abbbx^AAABB
I am not able to use two characters as a separator. Do you have any idea?
I try: awk -v FS='\136' '{print $1"|"$2"|"$5}' file1 but it is only one separator.
Thanks in advance