I have a large file in which a header line is followed by a string of characters at multiple times. eg:file1VHBFBJBDSBVVFJBSVSVJBVHJBVJSVKJBVJBNVKVJVfile2dfhgdgffdghggSVKJBVJBNVKVJVI want to keep the header file same, but merge all characters from line 2 onwards into a single line. can anyone suggest something?
Merging multiple lines selectively?
files;scripting