[linux] wtf... regular expressions in awk...

Hans Paijmans j.j.paijmans op uvt.nl
Ma Sep 26 11:14:06 CEST 2005


Volgens mij gebruik ik al minstens tien jaar de regexp
"if (letter~/[A-Z]/)..." in awk. Werkt opeens niet meer.
de POSIX kreet "if (letter~/[:upper:]/)..." doet het ook
niet. Alleen "if (letter~/[ABCDE(enzovoorts)]/) doet het
nog. Is er vannacht iets gebeurd?

paai op paai:/Data/Vertaal> awk --version
GNU Awk 3.1.4
Copyright (C) 1989, 1991-2003 Free Software Foundation.


-- 
Dr. J.J. Paijmans
Rijksdienst Oudheidkundig Bodemonderzoek                  033-4227591
Maastricht University: IKAT, Faculty of General Sciences  043-3883477
Tilburg University: Dept. of Linguistics & AI             013-4662693
Home: Elzenstraat 1, Waalre,                              040-2230680
http://pi0959.kub.nl   http://paijmans.net       GSM: +31 621 961 083





More information about the Linux mailing list