Indenting multi-line output in a shell script January 7, 2023 by Tarik Pipe it to sed to insert 2 spaces at the beginning of each line. git status | sed 's/^/ /'