File: make-proper-names.lst

package info (click to toggle)
scowl 5-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 8,240 kB
  • ctags: 36
  • sloc: perl: 352; sh: 330; makefile: 234; cpp: 45
file content (20 lines) | stat: -rwxr-xr-x 621 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

cat working/all.lst | grep "^[A-Z]"           \
  | comm -23 - working/abbreviations.lst.pre  \
  | cat - l/proper-names/*                    \
  | src/add-other-spellings                   \
  | src/find-ss working/all.lst               \
  | sed "s/^\(.*\)'s\$/\1/"                   \
  | src/filter                                \
  | sort | uniq                               \
  | comm -23 - working/known-upper.lst        \
  | sed "s/^\(.*\)/\1 \1's/"                  \
  | tr ' ' '\n'                               \
  | sort | uniq                               \
  > working/proper-names.lst