23
rated 0 times
[
23]
[
0]
/ answers: 1 / hits: 65424
/ 3 Years ago, thu, may 20, 2021, 11:51:52
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.
More From » bash