[illumos-Developer] webrev: 992 towlower/towupper are broken

Yuri Pankov yuri.pankov at gmail.com
Tue May 10 00:32:15 PDT 2011


On Tue, May 10, 2011 at 03:27:01AM -0400, Richard Lowe wrote:
> Makefile:260
>    Looks like a typo "rUTF-8.ct" should be "UTF-8.ct"
> 
> I'm confused about why you need the start and end markers.

'/^LC_CTYPE/,/^END LC_CTYPE/d;$$ rUTF-8.ct' translates to:

/^LC_CTYPE/,/^END LC_CTYPE/d - delete a block of lines starting from
'^LC_CTYPE' and ending with '^END LC_CTYPE'
- $ rUTF-8.ct - read UTF-8.ct at the end of the input

from sed(1):

[1addr]r file
	Copy the contents of file to the standard output immediately
	before the next attempt to read a line of input.  If file cannot
	be read for any reason, it is silently ignored and no error con‐
	dition is set.


Yuri



More information about the Developer mailing list