title: Strip unwanted characters from a series of text files
body: <p>Hi I've got a list of csv files which need to be formatted properly by getting rid of some unwanted characters.</p>
  <p>original:</p>
  <pre><code>9: [&quot;2019-4-24&quot;,-7.101458109105941]
  10: [&quot;2019-5-6&quot;,-7.050609022950812]
  100: [&quot;2019-5-6&quot;,-7.050609022950812]
  </code></pre>
  <p>I'd like to modify as:</p>
  <pre><code>2019-4-24,-7.101458109105941
  2019-5-6,-7.050609022950812
  2019-5-6,-7.050609022950812
  </code></pre>
  <p>There are dozens of files in this format and I was thinking of writing a sed command which makes a series of null substitutions for all the files in directory, but these don't seem to work.</p>
  <pre><code>find ./ -type f -exec sed -i '' -e &quot;s/^[[:space:]]*//&quot; {} \; 
  find ./ -type f -exec sed -i '' -e &quot;s/\[//&quot; {} \; 
  find ./ -type f -exec sed -i '' -e &quot;s/\]//&quot; {} \; 
  </code></pre>
  <p>Many thanks for suggestions.</p>