John Leser wrote: > Nicolas Williams wrote: >> On Fri, Jun 13, 2008 at 03:16:49AM -0400, Peter Memishian wrote: >>> Is this horse dead yet? >> >> No >> >>> Huh? The conclusion was already reached that the choice of separator is >>> immaterial since it will be quoted anyway. Pursuant to that, John and I >>> agreed to use ":" because it already has precedent with zoneadm(1M) (and >>> has been a Unix separator character in other contexts such as /etc files >>> since the dawn of time). >> >> How should scripts unescape escaped separators? > > The "read" command handles this for you if you set IFS correctly (and > the escape character is \).
hmm ... relying on people to set IFS seems somewhat more error-prone than providing an option to specify the field separation character of the parsable output (as was previously suggested). Michael -- Michael Schuster http://blogs.sun.com/recursion Recursion, n.: see 'Recursion'
