Renamed kpengine to jben_kpengine and made its data dir relocatable.
[jben.git] / skip.regex
blobad48a6213626ed9e4eef98a2324b0738e105257c
1 Use the below regex commands to check for and remove SKIP codes in a stock
2 KANJIDIC.
4 To search for lines containing SKIP codes/miscodes:
5 grep -e ' [[:alpha:]]*P[[:digit:]]\+-[[:digit:]]\+-[[:digit:]]\+ ' < kanjidic
7 To remove SKIP codes/miscodes (NEW):
8 sed -e 's/ [[:alpha:]]*P[[:digit:]]\+-[[:digit:]]\+-[[:digit:]]\+ / /g' < kanjidic.src > kanjidic.dest
9 NOTE: it takes a total of 3 passes to get rid of all codes.  Verify the final
10 file using the grep statement listed above.