Date: 19 Aug 2001 04:14:51 +0200 From: Dag-Erling Smorgrav <des@ofug.org> To: Arne Dag =?iso-8859-1?q?Fidjest=F8l?= <adf@idi.ntnu.no> Cc: Josef Karthauser <joe@tao.org.uk>, freebsd-fs@FreeBSD.ORG Subject: Re: parsing problem with /proc/N/status Message-ID: <xzpn14w3iec.fsf@flood.ping.uio.no> In-Reply-To: <200108182324.BAA10850@zevs.idi.ntnu.no> References: <200108182324.BAA10850@zevs.idi.ntnu.no>
next in thread | previous in thread | raw e-mail | index | archive | help
Arne Dag Fidjest=F8l <adf@idi.ntnu.no> writes: > > > newline). If we have to go down that road, I'd rather just encode > > > whitespace and unprintables in octal notation (like ls -B does). > Unprintables vary with locales, so octal encoding should probably be=20 > limited to ascii-whitespace? Anything below ASCII value 33 or above ASCII value 126 is unprintable. > > Sounds fair. I don't particularly care, but as it stands it's next > > to useless as it's unparsable. > Provided that there is a known number of space-seperated fields it is=20 > still parsable. Only if you're 100% certain you'll never, ever want to add more fields at the end. DES --=20 Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpn14w3iec.fsf>