Joining all lines in a file using sed
Linux - No Comments » - Posted on October, 12 at 10:19 pm
Sed (Stream EDitor) is a very powerful stream editor to manipulate text files.
I needed an utility that would join all lines in a text file to a single line with “\n” as a separator so that I could easily cut and paste inline velocity templates into java code. Here is the final sed command !
sed […]
Posted in Linux | No Comments »




