- sort with --dictionary-order

- remove words with possessives ('s)
This commit is contained in:
kzak 2005-05-02 10:36:43 +00:00
parent 97759489c2
commit eb2d50315a

View File

@ -1,7 +1,7 @@
Summary: A dictionary of English words for the /usr/share/dict directory. Summary: A dictionary of English words for the /usr/share/dict directory.
Name: words Name: words
Version: 3.0 Version: 3.0
Release: 6 Release: 4
License: public domain License: public domain
Group: System Environment/Libraries Group: System Environment/Libraries
Source: http://www.dcs.shef.ac.uk/research/ilash/Moby/mwords.tar.Z Source: http://www.dcs.shef.ac.uk/research/ilash/Moby/mwords.tar.Z
@ -22,7 +22,7 @@ passwords.
%build %build
cd mwords cd mwords
dos2unix -o *; chmod a+r * dos2unix -o *; chmod a+r *
sort --ignore-case [1-9]*.??? | uniq | grep -E "^[[:alnum:]'&!,./-]+$" > moby cat [1-9]*.??? | fgrep -v \'s | egrep "^[[:alnum:]'&!,./-]+$" | sort --ignore-case --dictionary-order | uniq > moby
cat <<EOF >license.txt cat <<EOF >license.txt
On June 1, 1996 Grady Ward announced that the fruits of On June 1, 1996 Grady Ward announced that the fruits of
@ -60,6 +60,10 @@ rm -rf $RPM_BUILD_ROOT
/usr/share/dict/words /usr/share/dict/words
%changelog %changelog
* Mon May 2 2005 Karel Zak <kzak@redhat.com> 3-7
- sort with --dictionary-order
- remove words with possessives ('s)
* Mon Apr 4 2005 Karel Zak <kzak@redhat.com> 3-6 * Mon Apr 4 2005 Karel Zak <kzak@redhat.com> 3-6
- fix uniq command usage - fix uniq command usage