diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/check-c++-types.sh | 4 | ||||
-rw-r--r-- | scripts/documented.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/check-c++-types.sh b/scripts/check-c++-types.sh index b80d141f1a..852973daca 100755 --- a/scripts/check-c++-types.sh +++ b/scripts/check-c++-types.sh @@ -32,9 +32,9 @@ # #include <sys/stat.h> # EOF # gcc -D_GNU_SOURCE -E - | -# egrep '^typedef.*;$' | +# grep -E '^typedef.*;$' | # sed 's/^typedef[[:space:]]*//;s/\([[:space:]]\{1,\}__attribute__.*\);/;/;s/.*[[:space:]]\([*]\|\)\(.*\);/\2/' | -# egrep -v '^_' | +# grep -E -v '^_' | # LC_ALL=C sort -u # data=$1 diff --git a/scripts/documented.sh b/scripts/documented.sh index 047a1d3493..7d1ffd4a92 100644 --- a/scripts/documented.sh +++ b/scripts/documented.sh @@ -3,7 +3,7 @@ bindir=$1 VERSION=1.0 -egrep -h @deftypefu?nx? *.texi ../linuxthreads/*.texi | +grep -E -h @deftypefu?nx? *.texi ../linuxthreads/*.texi | sed -e 's/@deftypefunx*[[:space:]]*\({[^{]*}\|[[:alnum:]_]*\)[[:space:]]*\([[:alnum:]_]*\).*/\2/' -e 's/@deftypefn {[^}]*function}*[[:space:]]*\({[^{]*}\|[[:alnum:]_]*\)[[:space:]]*\([[:alnum:]_]*\).*/\2/' -e '/^@/d' | sed -e '/^obstack_/d' -e '/^\([lf]\|\)stat\(\|64\)$/d' -e '/^mknod$/d' | sed -e '/^signbit$/d' -e '/^sigsetjmp$/d' | @@ -15,7 +15,7 @@ sed -e '/^alloca$/d' | sort -u > DOCUMENTED nm --extern --define $bindir/libc.so $bindir/math/libm.so $bindir/rt/librt.so $bindir/linuxthreads/libpthread.so $bindir/dlfcn/libdl.so $bindir/crypt/libcrypt.so $bindir/login/libutil.so | -egrep " [TW] ([[:alpha:]]|_[[:alpha:]])" | +grep -E " [TW] ([[:alpha:]]|_[[:alpha:]])" | sed 's/\(@.*\)//' | cut -b 12- | sed -e '/^_IO/d' -e '/^_dl/d' -e '/^_pthread/d' -e '/^_obstack/d' | |