I have a record in this format.
^@343453^@145562998^@1001^@1KDI03K^@1802282^@10^@118543r221^@10^@1k2FOOD^@1NB^@1^@4554545^@3444545^@1STD^@45454554^@1NORMAL^@1^@1^@1^@1CDIH^@1^@12PY567
Here field separator is ^@ and the file has a total of 73 fields
I have tried
awk -F "^@" ' { print $1} ' file.txt;
awk -F "\^\@" ' { print $1} ' file.txt;
But I can not get my fields separated I am getting the whole record as output.
What is the correct way of doing this?