Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Nov 2001 21:53:16 -0000
From:      Matthew Whelan <muttley@gotadsl.co.uk>
To:        Eugene Grosbein <eugen@svzserv.kemerovo.su>, stable@FreeBSD.ORG
Subject:   Re: sh(1) is broken - loss of data!
Message-ID:  <20011106215317.B2F0B37B405@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
06/11/2001 16:39:55, Eugene Grosbein <eugen@svzserv.kemerovo.su> wrote:

>These codes (in decimal) that are processed incorrectly: 
>0, 9, 10, 11, 33, 129 and 136.

0 = end of string = not possible in a file name, not printable, no surprise there
9 = tab; read will discard it as a separator
10 = newline; read will be confused into thinking this is two lines
11 = read being confused by the newline
33 = this is really 32, ie. space, discarded by read as a separator

The last couple are a slight surprise, but I can't reproduce them here.

Matthew


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011106215317.B2F0B37B405>