title: How to replace pipe delimited to white space in a specific range of columns?
body: <p>I have use awk and sed to replace pipe with white space, here's my code:</p>
  
  <pre><code>awk -F "|" -v OFS=" " ' $1=$1 '
  sed "s/|/ /g" try.log
  </code></pre>
  
  <p>But it deletes all the pipe in my data. Here's a sample data:</p>
  
  <pre><code>JAP|09|7777|TECHNOLOGY|AGRICULTURE|INDUSTRY
  </code></pre>
  
  <p>The result I want is this:</p>
  
  <pre><code>JAP 09 7777|TECHNOLOGY|AGRICULTURE|INDUSTRY
  </code></pre>
  
  <p>Thanks in advance. </p>