Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Apr 2009 23:00:02 GMT
From:      Jilles Tjoelker <jilles@stack.nl>
To:        freebsd-standards@FreeBSD.org
Subject:   Re: standards/116826: [patch] sh support for POSIX character classes
Message-ID:  <200904232300.n3NN02jb057957@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR standards/116826; it has been noted by GNATS.

From: Jilles Tjoelker <jilles@stack.nl>
To: bug-followup@FreeBSD.org, uberlord@gentoo.org
Cc:  
Subject: Re: standards/116826: [patch] sh support for POSIX character
	classes
Date: Fri, 24 Apr 2009 00:52:12 +0200

 The patch seems to work in brief testing.
 
 The code seems to be taken from dash, and an attribution/copyright
 notice seems missing.
 
 I put an improved patch (also including a bug fix from dash) on
 http://www.stack.nl/~jilles/unix/sh-match-charclass.patch
 
 Recent versions of dash can use fnmatch(3) (and also glob(3)) instead of
 the internal implementations; this is however not used by default (I
 suppose it was added to make it possible to build smaller binaries; dash
 is also obfuscated in some places to decrease binary size). It requires
 converting the CTLESC etc quoting to backslash quoting. This could be
 nice in that our fnmatch supports multibyte characters; however it does
 not support the [:alpha:] classes either.
 
 -- 
 Jilles Tjoelker



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