Skip to content

padwasabimasala/home-sweet-home

Repository files navigation

H O M E - S W E E T - H O M E

    ) )        /\
   =====      /  \
  _|___|_____/ __ \____________
 |::::::::::/ |  | \:::::::::::|
 |:::::::::/  ====  \::::::::::|
 |::::::::/__________\:::::::::|
 |_________|  ____  |__________|
  | ______ | / || \ | _______ |
  ||  |   || ====== ||   |   ||
  ||--+---|| |    | ||---+---||
  ||__|___|| |   o| ||___|___||
  |========| |____| |=========|
 (^^-^^^^^-|________|-^^^--^^^)
 (,, , ,, ,/________\,,,, ,, ,)
','',,,,' /__________\,,,',',;;

Credit: http://www.ascii-fr.com/-House-.html

Doc

Join lines in Bash

ls -1 | tr "\n" " "

(credit)[http://stackoverflow.com/questions/2764051/joining-multiple-lines-into-one-with-bash]

Prepend lines in Bash

cmd | while read line; do echo "[ERROR] $line"; done

(credit)[http://serverfault.com/questions/72744/command-to-prepend-string-to-each-line]