title: trim the output on command line unix
body: <p>I have an ouput from the command line, i need to trim and get the desired output as shown below:</p>
  
  <p>Input:</p>
  
  <pre><code>['0x66']
  ['0x66', '0x137', '0xa9']
  []
  ['0x148', '0x11a', '0x167', '0x151', '0xe6']
  []
  ['0x171', '0xe2', '0x174']
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>0x66
  0x66
  0x137
  0xa9
  0x148
  0x11a
  0x151
  0xe6
  </code></pre>
  
  <p>I used: <strong>tr -d "[]',"</strong> but after removing those do linux has any command like .split() in python.</p>
  
  <p><strong>[EDIT] After looking at the man pages of tr, I see there is a translate option so I piped the whole ouptut to:</strong></p>
  
  <pre><code>output | tr -d "[]' | tr " " "\n"
  </code></pre>