Tag: Long

Linux Terminal: Removing/Changing newlines without using a text editor

In the interests of automation, I wanted to be able to convert the output of a command (In this case “ls”) into a format that can be read by another program. To do this I had to replace the newline characters in the command’s output with the pipe character (“|”). Now, I couldĀ do this with …