Hi,
I am new to sed. I have to modify a tab delimitted text file that is not formatted correctly for my use. I have to do a replacement.
I have date fields that are formatted like this:
mm/dd/yyyy. If the date field is null, the file is outputting / / .
If I know what number tab the field starts with, can I wrap the good dates with double quotes so they end up like this: "mm/dd/yyyy" and can I strip out the / / fields and replace them with ""?
Any help is much appreciated.
Thank you
I am new to sed. I have to modify a tab delimitted text file that is not formatted correctly for my use. I have to do a replacement.
I have date fields that are formatted like this:
mm/dd/yyyy. If the date field is null, the file is outputting / / .
If I know what number tab the field starts with, can I wrap the good dates with double quotes so they end up like this: "mm/dd/yyyy" and can I strip out the / / fields and replace them with ""?
Any help is much appreciated.
Thank you