I'm trying to change the message of the day (MOTD) on my Ubuntu Amazon EC2 box so that it will display the git status of one of my directories when I SSH in.
The output from all of the default MOTD files have two spaces at the start of each line so it looks nicely indented, but because my git status
output spans several lines, if I do echo -n " "
before it only indents the first line.
Any idea how I can get it to indent every line?