I am trying to cat
three files and obtain and insert a newline \n
after each file ,I thought of using something like :
cat f1 f2 f3|tr "\EOF" "\n"
without success.
What is the easiest way to achieve that ?
cat f1 <(echo) f2 <(echo) f3 <(echo)
or
perl -pe 'eof&&s/$/\n/' a b c
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With