Hi there,
I have a file with the following layout :-
Header
Data
Trailer
I want to append a sort code to the hader so that the file looks like this
Header123456
Data
Trailer
I have tried sed 's/$/123456/' file1 > file2
but I get
Header123456
Data123456
Trailer123456
What am I doing wrong
Thanks Bob....
I have a file with the following layout :-
Header
Data
Trailer
I want to append a sort code to the hader so that the file looks like this
Header123456
Data
Trailer
I have tried sed 's/$/123456/' file1 > file2
but I get
Header123456
Data123456
Trailer123456
What am I doing wrong
Thanks Bob....