I have some tables for which I need to replace a field that has a random position in each table.
For information, the table are semicolon separated fields and I would like to replace the field "datum"
by "YEAR-MONTH-DAY"
.
So far, I have tried:
sed -i 's/datum/YEAR-MONTH-DAY/g' input > output
But it just outputs an empty file.