I have a fixed length matrix type file where each field is 20 characters long.
- How can I convert this to a space delimited file?
Also there are some missing values, which I would like to replace with a hyphen (
- How could I achieve this?
I will be using the output for
Example input with 10 character field length file.
head1 head2 head3 a b c c c a
head1 head2 head3 a b c - c - c - c