1

Bash script to remove line breaks?

view story
linux-howto

http://askubuntu.com – I need a script that inputs a file and echos its contents with linebreaks removed - "word wrapped" so to speak. I've tried: "#!/bin/bash find $HOME '$1' | while read line; do echo "${line}"; done" but it just returns nothing. (HowTos)