From 7e42d210121c9c2898caddcfc09d7e8d836c252e Mon Sep 17 00:00:00 2001 From: rsc Date: Wed, 21 Apr 2004 23:43:46 +0000 Subject: odds and ends --- src/libregexp/cvt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 src/libregexp/cvt (limited to 'src/libregexp') diff --git a/src/libregexp/cvt b/src/libregexp/cvt new file mode 100755 index 00000000..23757bea --- /dev/null +++ b/src/libregexp/cvt @@ -0,0 +1,11 @@ +#!/bin/sh + +/usr/bin/sed -E ' + s/\.(sp|rsp)/.s.\1/g + s/\.(ep|rep)/.e.\1/g + s/(\.|->)(cp|r|subid|right)([^a-zA-Z0-9_])/\1u1.\2\3/g + s/(\.|->)(left|next)([^a-z])/\1u2.\2\3/g + /#include /d + s//"lib9.h"/g + s/"regexp.h"/"regexp9.h"/g +' $* -- cgit v1.2.3