title: reading a very long line from without breaking into multiple line in shell script
body: <p>I have a file which has very long rows of data. When i try to read using shell script, the data comes into multiple lines,ie, breaks at certain points.  </p>
  
  <p>Example row:  </p>
  
  <pre><code>B_18453583||Active|917396140129|405819121107402|Active|7396140129||7396140129|||||||||18-MAY-10|||||18-MAY-10|405819121107402|Outgoing International Calls,Outgoing Calls,WAP,Call Waiting,MMS,Data Service,National Roaming-Voice,Outgoing International Calls except home country,Conference Call,STD,Call Forwarding-Barr,CLIP,Incoming Calls,INTSNS,WAPSNS,International Roaming-Voice,ISD,Incoming Calls When Roaming Internationally,INTERNET||For You Plan||||||||||||||||||
  </code></pre>
  
  <p>All this is the content of a single line.
  I use a normal read like this :  </p>
  
  <pre><code>var=`cat pranay.psv`
  for i in $var; do
      echo $i
  done
  </code></pre>
  
  <p>The output comes as:</p>
  
  <pre><code>B_18453583||Active|917396140129|405819121107402|Active|7396140129||7396140129|||||||||18-  MAY-10|||||18-MAY-10|405819121107402|Outgoing  
  International  
  Calls,Outgoing  
  Calls,WAP,Call  
  Waiting,MMS,Data  
  Service,National  
  Roaming-Voice,Outgoing  
  International  
  Calls  
  except  
  home  
  country,Conference  
  Call,STD,Call  
  Forwarding-Barr,CLIP,Incoming  
  Calls,INTSNS,WAPSNS,International  
  Roaming-Voice,ISD,Incoming  
  Calls  
  When  
  Roaming  
  Internationally,INTERNET||For  
  You  
  Plan||||||||||||||||||  
  </code></pre>
  
  <p>How do i print all in single line??
  Please help.<br>
  Thanks</p>