title: Indenting Bash Script Output
body: <p>I am attempting to write a bash script and I am having difficulty making the output look neat and organized. I could fall back on just using newlines, but I would much rather have output that was easy to read. For instance, when I run <code>git clone ...</code>, I want to first echo "Cloning repository" and then have the output of <code>git</code> indented. Example output:</p>
  
  <pre><code>Cloning repository...
      Initialized empty Git repository in /root/client_scripts/jojo/.git/
      remote: Counting objects: 130, done.
      remote: Compressing objects: 100% (121/121), done.
      remote: Total 130 (delta 13), reused 113 (delta 6)
      Receiving objects: 100% (130/130), 176.07 KiB, done.
      Resolving deltas: 100% (13/13), done.
  </code></pre>
  
  <p>Currently, it's all compressed with no indentation. Does anyone know how to do this? I attempted with <code>sed</code> and <code>awk</code> but it didn't seem to show any more output than just <code>Initialized empty Git repository in /root/client_scripts/jojo/.git/</code>. I would greatly appreciate any comments.</p>