[Trennmuster] Perl-Turbo

Georg Pfeiffer gp at praetor.de
Do Nov 7 16:38:15 CET 2013


Am Do 07 Nov 2013 14:40:01 schrieb Georg Pfeiffer:
> An attachment of type application/x-shellscript, named wln2wl.sh was
> removed from this document as it constituted a security hazard.

#!/bin/bash

# Füge mehrere Wortlisten zu einer Wortsuperliste zusammen.
WLN="/home/gp/workspace/wortliste/wortliste
/home/gp/workspace/wortliste/pre-1901 /home/gp/workspace/silben/wortliste"

cat $WLN > tmp
ed -s --verbose tmp <<!
1,$ s/#.*//g
1,$ s/^\s*$//
1,$ s/;.*//
1,$ s/[-=·\.\|]//g
w
q
!

cat tmp | sort | uniq -i > mywl
rm tmp
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <https://listi.jpberlin.de/pipermail/trennmuster/attachments/20131107/ace93365/attachment.htm>
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : signature.asc
Dateityp    : application/pgp-signature
Dateigröße  : 198 bytes
Beschreibung: This is a digitally signed message part.
URL         : <https://listi.jpberlin.de/pipermail/trennmuster/attachments/20131107/ace93365/attachment.asc>


Mehr Informationen über die Mailingliste Trennmuster