Hello All,
I am having trouble with what seems simple. I am trying to change the delimiters in a file using awk. The current delimiter is a tab and I would like to change it to a ":" (colon).
I am on the Korn shell and have tried the following:
awk -F: {print} filename
and also:
awk 'BEGIN { OFS=FS = ":" }
{ print }' datafile
I have also tried some other permutations of the above. I know I am close. Any ideas?
Ravioli
I am having trouble with what seems simple. I am trying to change the delimiters in a file using awk. The current delimiter is a tab and I would like to change it to a ":" (colon).
I am on the Korn shell and have tried the following:
awk -F: {print} filename
and also:
awk 'BEGIN { OFS=FS = ":" }
{ print }' datafile
I have also tried some other permutations of the above. I know I am close. Any ideas?
Ravioli