Wed, Nov 09, 2011 at 01:49:16, danfe wrote about "Re: svn commit: r227366 - in head/etc: . rc.d":
> > 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? You are right - Posix.1-2008 says the same - '^' as matching reverse and nothing for '!' <cite> A non-matching list expression begins with a <circumflex> ( '^' ), and specifies a list that shall match any single-character collating element except for the expressions represented in the list after the leading <circumflex>. </cite> -netch- _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"