svn commit: r227366 - in head/etc: . rc.d

Alexey Dokuchaev danfe at FreeBSD.org
Wed Nov 9 01:49:16 UTC 2011


On Tue, Nov 08, 2011 at 11:02:32PM +0000, Jilles Tjoelker wrote:
> Author: jilles
> Date: Tue Nov  8 23:02:32 2011
> New Revision: 227366
> URL: http://svn.freebsd.org/changeset/base/227366
> 
> Log:
>   rc.d: Eliminate some unnecessary non-POSIX constructs:
>   
>    * ^ in character class
> 
> -			for file in ${dir}/[^0-9]*.sh; do
> +			for file in ${dir}/[!0-9]*.sh; do

I don't have my copy of POSIX handy, but looking at SUSv2, circumflex `^' is
documented as non-matching list expression specifier, while `!' is not.

I am reading it wrong?

./danfe


More information about the svn-src-head mailing list