title: newline character in POSIX shell
body: <p>I'm parsing output of avahi-browse tool and my script should be POSIX compatible.</p>
  
  <p>I'm doing it next way:</p>
  
  <pre><code>      local _dnssd=`avahi-browse -apt`
        if [ -z "$_dnssd" ]; then
          echo "No info"
        else
          IFS='
      ' # it's new line character in IFS
          for _row in $_dnssd
           do  
            local _tmpIFP="$IFS"
            IFS=";"
              case "$_row" in
              ...
              esac
              IFS="$_tmpIFS"
          done
        fi  
  </code></pre>
  
  <p>I really don't like line with newline assignment to IFS. Is it possible to replace it in better way?</p>
  
  <p>I tried some suggestions from stackoverflow, but it doesn't work: </p>
  
  <pre><code>IFS=$(echo -e '\n')
  </code></pre>
  
  <p>avahi-browse output:</p>
  
  <pre><code>+;br0;IPv4;switch4B66E4;_http._tcp;local
  +;br0;IPv4;switch4B66E4;_csco-sb._tcp;local
  </code></pre>