Hi Ken,
I installed /usr/share/dict/words this way:
# cd ~/Downloads
# wget ftp://fr2.rpmfind.net/linux/fedora/releases/11/Everything
/i386/os/Packages/words-3.0-15.fc11.noarch.rpm
# rpm2cpio words-3.0-15.fc11.noarch.rpm | (cd /; cpio -idmv)
# chmod 755 /usr/share/dict/
The rpm2cpio.exe
On Mon, Oct 19, 2009 at 3:30 PM, Eric Blake wrote:
>
> Indeed - \b is a GNU extension available in glibc's regcomp(), but not
> required by POSIX nor available in newlib. Unless/until someone
> contributes patches to write the same extensions to the POSIX interface,
> then bash won't be able to m
These should print "Matched", but they don't:
$ REGEX='\bcat\b'
$ [[ "dog cat bird" =~ $REGEX ]] && echo "Matched"
$ REGEX='\'
$ [[ "dog cat bird" =~ $REGEX ]] && echo "Matched"
$
egrep works as expected:
$ egrep -q '\bcat\b' <(echo "dog cat bird") && echo "Matched"
Matched
$ egrep -q '\' <(echo
3 matches
Mail list logo