endif # $(headers)
define summarize-tests
-@egrep -v '^(PASS|XFAIL):' $(objpfx)$1 || true
+@grep -E -v '^(PASS|XFAIL):' $(objpfx)$1 || true
@echo "Summary of test results$2:"
@sed 's/:.*//' < $(objpfx)$1 | sort | uniq -c
-@! egrep -q -v '^(X?PASS|XFAIL|UNSUPPORTED):' $(objpfx)$1
+@! grep -E -q -v '^(X?PASS|XFAIL|UNSUPPORTED):' $(objpfx)$1
endef
# The intention here is to do ONE install of our build into the
EOF
if ! AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp
$3 -nostdlib -nostartfiles
- -S conftest.c -o - | fgrep "$1"
+ -S conftest.c -o - | grep -F "$1"
1>&AS_MESSAGE_LOG_FD])
then
libc_compiler_builtin_inlined=yes
while read lib file; do \
case $$lib in \
libc_pic.a) \
- LC_ALL=C fgrep -l /$$file \
+ LC_ALL=C grep -F -l /$$file \
$(common-objpfx)stamp.os $(common-objpfx)*/stamp.os | \
LC_ALL=C \
sed 's@^$(common-objpfx)\([^/]*\)/stamp\.os$$@rtld-\1'" +=$$file@"\
${run_program_env} \
$rtld --list-tunables \
| sort -u \
-| egrep "(rtld|malloc)" \
+| grep -E "(rtld|malloc)" \
| sed -e "s/0xf\+/0x[f]+/"
/* Table for Big5 to UCS conversion. This is generated from the BIG5
charmap, using the following command:
- egrep "/x../x.." BIG5 | egrep -v "^% " | sed 's/%IRREVERSIBLE%//' | \
+ grep -E "/x../x.." BIG5 | grep -E -v "^% " | sed 's/%IRREVERSIBLE%//' | \
perl segA.pl > segA
where segA.pl script is:
---------------------------------------------------------------------
rm -f segB2
-egrep "/x../x.." BIG5 | egrep -v "^%" | egrep "^<U02" | sort | \
+grep -E "/x../x.." BIG5 | grep -E -v "^%" | grep -E "^<U02" | sort | \
perl segB2.pl 2 0x02C7 0x02D9 >> segB2
-egrep "/x../x.." BIG5 | egrep -v "^%" | egrep "^<U03" | sort | \
+grep -E "/x../x.." BIG5 | grep -E -v "^%" | grep -E "^<U03" | sort | \
perl segB2.pl 3 0x0391 0x03C9 >> segB2
-egrep "/x../x.." BIG5 | egrep -v "^%" | egrep "^<U20[1-3]" | sort | \
+grep -E "/x../x.." BIG5 | grep -E -v "^%" | grep -E "^<U20[1-3]" | sort | \
perl segB2.pl 4 0x2013 0x203B >> segB2
( Separate U20AC, U2103, U2105, U2109 )
-egrep "/x../x.." BIG5 | egrep -v "^%" | egrep "^<U216" | sort | \
+grep -E "/x../x.." BIG5 | grep -E -v "^%" | grep -E "^<U216" | sort | \
perl segB2.pl 5 0x2160 0x2169 >> segB2
-egrep "/x../x.." BIG5 | egrep -v "^%" | egrep "^<U219" | sort | \
+grep -E "/x../x.." BIG5 | grep -E -v "^%" | grep -E "^<U219" | sort | \
perl segB2.pl 6 0x2190 0x2199 >> segB2
-egrep "/x../x.." BIG5 | egrep -v "^%" | egrep "^<U22[1-6]" | sort | \
+grep -E "/x../x.." BIG5 | grep -E -v "^%" | grep -E "^<U22[1-6]" | sort | \
perl segB2.pl 7 0x2215 0x2267 >> segB2
( Separate U2295, U2299, U22A5, U22BF )
-egrep "/x../x.." BIG5 | egrep -v "^%" | egrep "^<U2[56]" | sort | \
+grep -E "/x../x.." BIG5 | grep -E -v "^%" | grep -E "^<U2[56]" | sort | \
perl segB2.pl 8 0x2500 0x2642 >> segB2
-egrep "/x../x.." BIG5 | egrep -v "^%" | egrep "^<U30" | sort | \
+grep -E "/x../x.." BIG5 | grep -E -v "^%" | grep -E "^<U30" | sort | \
perl segB2.pl 9 0x3000 0x3029 >> segB2
-egrep "/x../x.." BIG5 | egrep -v "^%" | egrep "^<U31" | sort | \
+grep -E "/x../x.." BIG5 | grep -E -v "^%" | grep -E "^<U31" | sort | \
perl segB2.pl 10 0x3105 0x3129 >> segB2
( Separate U32A3 )
-egrep "/x../x.." BIG5 | egrep -v "^%" | egrep "^<U33" | sort | \
+grep -E "/x../x.." BIG5 | grep -E -v "^%" | grep -E "^<U33" | sort | \
perl segB2.pl 11 0x338E 0x33D5 >> segB2
-egrep "/x../x.." BIG5 | egrep -v "^%" | egrep "^<U[4-9]" | sort | \
+grep -E "/x../x.." BIG5 | grep -E -v "^%" | grep -E "^<U[4-9]" | sort | \
perl segB2.pl 12 0x4E00 0x9FA4 >> segB2
-egrep "/x../x.." BIG5 | egrep -v "^%" | egrep "^<UF[678]" | sort | \
+grep -E "/x../x.." BIG5 | grep -E -v "^%" | grep -E "^<UF[678]" | sort | \
perl segB2.pl 13 0xF6B1 0xF848 >> segB2
( Separate UFA0C, UFA0D )
-egrep "/x../x.." BIG5 | egrep -v "^%" | egrep "^<UFE" | sort | \
+grep -E "/x../x.." BIG5 | grep -E -v "^%" | grep -E "^<UFE" | sort | \
perl segB2.pl 14 0xFE30 0xFE6B >> segB2
-egrep "/x../x.." BIG5 | egrep -v "^%" | egrep "^<UFF" | sort | \
+grep -E "/x../x.." BIG5 | grep -E -v "^%" | grep -E "^<UFF" | sort | \
perl segB2.pl 15 0xFF01 0xFFE5 >> segB2
---------------------------------------------------------------------
The table can be generated using
- egrep '^0x2' CNS11643.TXT |
+ grep -E '^0x2' CNS11643.TXT |
awk '{print $1, $2}' | perl tab.pl
where tab.pl is:
The table can be generated using
- egrep '^0x3' CNS11643.TXT |
+ grep -E '^0x3' CNS11643.TXT |
awk '{print $1, $2}' | perl tab.pl
where tab.pl is:
The table can be generated using
- egrep '^0x4' CNS11643.TXT |
+ grep -E '^0x4' CNS11643.TXT |
awk '{print $1, $2}' | perl tab.pl
where tab.pl is:
The table can be generated using
- egrep '^0x5' CNS11643.TXT |
+ grep -E '^0x5' CNS11643.TXT |
awk '{print $1, $2}' | perl tab.pl
where tab.pl is:
The table can be generated using
- egrep '^0x6' CNS11643.TXT |
+ grep -E '^0x6' CNS11643.TXT |
awk '{print $1, $2}' | perl tab.pl
where tab.pl is:
The table can be generated using
- egrep '^0x7' CNS11643.TXT |
+ grep -E '^0x7' CNS11643.TXT |
awk '{print $1, $2}' | perl tab.pl
where tab.pl is:
The table can be generated using
- egrep '^0xF' CNS11643.TXT |
+ grep -E '^0xF' CNS11643.TXT |
awk '{print $1, $2}' | perl tab.pl
where tab.pl is:
CJK Ideographs in the UCS plane 0: range U+3400..U+9FA5.
The table can be created using
- egrep '^0x' CNS11643.TXT |
- awk '{ print $2, $1 }' | sort | egrep '^0x(3[4-9A-F]|[4-9])' | perl tab.pl
+ grep -E '^0x' CNS11643.TXT |
+ awk '{ print $2, $1 }' | sort | grep -E '^0x(3[4-9A-F]|[4-9])' | perl tab.pl
where tab.pl is
/* CJK Ideographs in the UCS plane 2: range U+20000..U+2A6D6.
The table can be created using
- egrep '^0x' CNS11643.TXT |
- awk '{ print $2, $1 }' | sort | egrep '^0x2[0-9A]... ' | perl tab.pl
+ grep -E '^0x' CNS11643.TXT |
+ awk '{ print $2, $1 }' | sort | grep -E '^0x2[0-9A]... ' | perl tab.pl
where tab.pl is
/* CJK Compatibility Ideographs in the UCS plane 2: range U+2F800..U+2FA1D.
The table can be created using
- egrep '^0x' CNS11643.TXT |
- awk '{ print $2, $1 }' | sort | egrep '^0x2F... ' | perl tab.pl
+ grep -E '^0x' CNS11643.TXT |
+ awk '{ print $2, $1 }' | sort | grep -E '^0x2F... ' | perl tab.pl
where tab.pl is
The table can be generated using
- egrep '^0x1' CNS11643.TXT |
+ grep -E '^0x1' CNS11643.TXT |
awk '{print $1, $2}' | perl tab.pl
where tab.pl is:
/* Greek alphabet. The table can be created using
- egrep '^0x1' CNS11643.TXT |
- awk '{ print $2, $1 }' | sort | egrep '^0x03' | perl tab.pl
+ grep -E '^0x1' CNS11643.TXT |
+ awk '{ print $2, $1 }' | sort | grep -E '^0x03' | perl tab.pl
where tab.pl is
/* General punctuation. The table can be created using
- egrep '^0x1' CNS11643.TXT |
- awk '{ print $2, $1 }' | sort | egrep '^0x20' | perl tab.pl
+ grep -E '^0x1' CNS11643.TXT |
+ awk '{ print $2, $1 }' | sort | grep -E '^0x20' | perl tab.pl
where tab.pl is
/* Mathematical operators. The table can be created using
- egrep '^0x1' CNS11643.TXT |
- awk '{ print $2, $1 }' | sort | egrep '^0x22[1-6]' | perl tab.pl
+ grep -E '^0x1' CNS11643.TXT |
+ awk '{ print $2, $1 }' | sort | grep -E '^0x22[1-6]' | perl tab.pl
where tab.pl is
/* Graphic pictures for control codes. The table can be created using
- egrep '^0x1' CNS11643.TXT |
- awk '{ print $2, $1 }' | sort | egrep '^0x24[0-2]' | perl tab.pl
+ grep -E '^0x1' CNS11643.TXT |
+ awk '{ print $2, $1 }' | sort | grep -E '^0x24[0-2]' | perl tab.pl
where tab.pl is
/* Circled and Parenthesized numbers. The table can be created using
- egrep '^0x1' CNS11643.TXT |
- awk '{ print $2, $1 }' | sort | egrep '^0x24[67]' | perl tab.pl
+ grep -E '^0x1' CNS11643.TXT |
+ awk '{ print $2, $1 }' | sort | grep -E '^0x24[67]' | perl tab.pl
where tab.pl is
/* Circled and Parenthesized numbers. The table can be created using
- egrep '^0x1' CNS11643.TXT |
- awk '{ print $2, $1 }' | sort | egrep '^0x2[56]' | perl tab.pl
+ grep -E '^0x1' CNS11643.TXT |
+ awk '{ print $2, $1 }' | sort | grep -E '^0x2[56]' | perl tab.pl
where tab.pl is
/* CJK punctuation and Hangzhou-style numerals. The table can be created using
- egrep '^0x1' CNS11643.TXT |
- awk '{ print $2, $1 }' | sort | egrep '^0x30[0-2]' | perl tab.pl
+ grep -E '^0x1' CNS11643.TXT |
+ awk '{ print $2, $1 }' | sort | grep -E '^0x30[0-2]' | perl tab.pl
where tab.pl is
/* Squared latin abbreviations. The table can be created using
- egrep '^0x1' CNS11643.TXT |
- awk '{ print $2, $1 }' | sort | egrep '^0x33' | perl tab.pl
+ grep -E '^0x1' CNS11643.TXT |
+ awk '{ print $2, $1 }' | sort | grep -E '^0x33' | perl tab.pl
where tab.pl is
/* CJK Ideographs. The table can be created using
- egrep '^0x1' CNS11643.TXT |
- awk '{ print $2, $1 }' | sort | egrep '^0x[4-9]' | perl tab.pl
+ grep -E '^0x1' CNS11643.TXT |
+ awk '{ print $2, $1 }' | sort | grep -E '^0x[4-9]' | perl tab.pl
where tab.pl is
/* Glyphs for vertical variants. The table can be created using
- egrep '^0x' CNS11643.TXT |
- awk '{ print $2, $1 }' | sort | egrep '^0xFE' | perl tab.pl
+ grep -E '^0x' CNS11643.TXT |
+ awk '{ print $2, $1 }' | sort | grep -E '^0xFE' | perl tab.pl
where tab.pl is
/* Fullwidth ASCII variants. The table can be created using
- egrep '^0x' CNS11643.TXT |
- awk '{ print $2, $1 }' | sort | egrep '^0xFF[0-5]' | perl tab.pl
+ grep -E '^0x' CNS11643.TXT |
+ awk '{ print $2, $1 }' | sort | grep -E '^0xFF[0-5]' | perl tab.pl
where tab.pl is
/* The conversion table to UCS4 has almost no holes. It can be generated with:
- egrep '^0x' /mnt/cdrom/unix/mappings/eastasia/gb/gb2312.txt |
+ grep -E '^0x' /mnt/cdrom/unix/mappings/eastasia/gb/gb2312.txt |
perl tab.pl
where tab.pl is:
/* The table can be created using
- egrep '^0x' /mnt/cdrom/unix/mappings/eastasia/gb/gb2312.txt |
- awk '{ print $2, $1 }' | sort | egrep '^0x03' | perl tab.pl
+ grep -E '^0x' /mnt/cdrom/unix/mappings/eastasia/gb/gb2312.txt |
+ awk '{ print $2, $1 }' | sort | grep -E '^0x03' | perl tab.pl
where tab.pl is
/* The table can be created using
- egrep '^0x' /mnt/cdrom/unix/mappings/eastasia/gb/gb2312.txt |
- awk '{ print $2, $1 }' | sort | egrep '^0x04' | perl tab.pl
+ grep -E '^0x' /mnt/cdrom/unix/mappings/eastasia/gb/gb2312.txt |
+ awk '{ print $2, $1 }' | sort | grep -E '^0x04' | perl tab.pl
where tab.pl is
/* The table can be created using
- egrep '^0x' /mnt/cdrom/unix/mappings/eastasia/gb/gb2312.txt |
- awk '{ print $2, $1 }' | sort | egrep '^0x20' | perl tab.pl
+ grep -E '^0x' /mnt/cdrom/unix/mappings/eastasia/gb/gb2312.txt |
+ awk '{ print $2, $1 }' | sort | grep -E '^0x20' | perl tab.pl
where tab.pl is
/* The table can be created using
- egrep '^0x' /mnt/cdrom/unix/mappings/eastasia/gb/gb2312.txt |
- awk '{ print $2, $1 }' | sort | egrep '^0x2[12]' | perl tab.pl
+ grep -E '^0x' /mnt/cdrom/unix/mappings/eastasia/gb/gb2312.txt |
+ awk '{ print $2, $1 }' | sort | grep -E '^0x2[12]' | perl tab.pl
where tab.pl is
/* The table can be created using
- egrep '^0x' /mnt/cdrom/unix/mappings/eastasia/gb/gb2312.txt |
- awk '{ print $2, $1 }' | sort | egrep '^0x24' | perl tab.pl
+ grep -E '^0x' /mnt/cdrom/unix/mappings/eastasia/gb/gb2312.txt |
+ awk '{ print $2, $1 }' | sort | grep -E '^0x24' | perl tab.pl
where tab.pl is
/* The table can be created using
- egrep '^0x' /mnt/cdrom/unix/mappings/eastasia/gb/gb2312.txt |
- awk '{ print $2, $1 }' | sort | egrep '^0x3[01]' | perl tab.pl
+ grep -E '^0x' /mnt/cdrom/unix/mappings/eastasia/gb/gb2312.txt |
+ awk '{ print $2, $1 }' | sort | grep -E '^0x3[01]' | perl tab.pl
where tab.pl is
/* The table can be created using
- egrep '^0x' /mnt/cdrom/unix/mappings/eastasia/gb/gb2312.txt |
- awk '{ print $2, $1 }' | sort | egrep '^0x[4-9]' | perl tab.pl
+ grep -E '^0x' /mnt/cdrom/unix/mappings/eastasia/gb/gb2312.txt |
+ awk '{ print $2, $1 }' | sort | grep -E '^0x[4-9]' | perl tab.pl
where tab.pl is
/* The table can be created using
- egrep '^0x' /mnt/cdrom/unix/mappings/eastasia/gb/gb2312.txt |
- awk '{ print $2, $1 }' | sort | egrep '^0xFF[0-5]' | perl tab.pl
+ grep -E '^0x' /mnt/cdrom/unix/mappings/eastasia/gb/gb2312.txt |
+ awk '{ print $2, $1 }' | sort | grep -E '^0xFF[0-5]' | perl tab.pl
where tab.pl is
/* The table can be created using
- awk '{ print $2, $1 }' gbk.txt | sort | egrep '^0x00' | perl tab.pl
+ awk '{ print $2, $1 }' gbk.txt | sort | grep -E '^0x00' | perl tab.pl
where tab.pl is
/* The table can be created using
- awk '{ print $2, $1 }' gbk.txt | sort | egrep '^0x03' | perl tab.pl
+ awk '{ print $2, $1 }' gbk.txt | sort | grep -E '^0x03' | perl tab.pl
where tab.pl is
/* The table can be created using
- awk '{ print $2, $1 }' gbk.txt | sort | egrep '^0x04' | perl tab.pl
+ awk '{ print $2, $1 }' gbk.txt | sort | grep -E '^0x04' | perl tab.pl
where tab.pl is
/* The table can be created using
- awk '{ print $2, $1 }' gbk.txt | sort | egrep '^0x20' | perl tab.pl
+ awk '{ print $2, $1 }' gbk.txt | sort | grep -E '^0x20' | perl tab.pl
where tab.pl is
/* The table can be created using
- awk '{ print $2, $1 }' gbk.txt | sort | egrep '^0x2[12]' | perl tab.pl
+ awk '{ print $2, $1 }' gbk.txt | sort | grep -E '^0x2[12]' | perl tab.pl
where tab.pl is
/* The table can be created using
- awk '{ print $2, $1 }' gbk.txt | sort | egrep '^0x2[4-6]' | perl tab.pl
+ awk '{ print $2, $1 }' gbk.txt | sort | grep -E '^0x2[4-6]' | perl tab.pl
where tab.pl is
/* The table can be created using
- awk '{ print $2, $1 }' gbk.txt | sort | egrep '^0x3[0-3]' | perl tab.pl
+ awk '{ print $2, $1 }' gbk.txt | sort | grep -E '^0x3[0-3]' | perl tab.pl
where tab.pl is
/* The table can be created using
- awk '{ print $2, $1 }' gbk.txt | sort | egrep '^0x[4-9]' | perl tab.pl
+ awk '{ print $2, $1 }' gbk.txt | sort | grep -E '^0x[4-9]' | perl tab.pl
where tab.pl is
/* The table can be created using
- awk '{ print $2, $1 }' gbk.txt | sort | egrep '^0xE[78]' | perl tab.pl
+ awk '{ print $2, $1 }' gbk.txt | sort | grep -E '^0xE[78]' | perl tab.pl
where tab.pl is
/* The table can be created using
- awk '{ print $2, $1 }' gbk.txt | sort | egrep '^0xFA[0-2]' | perl tab.pl
+ awk '{ print $2, $1 }' gbk.txt | sort | grep -E '^0xFA[0-2]' | perl tab.pl
where tab.pl is
/* The table can be created using
- awk '{ print $2, $1 }' gbk.txt | sort | egrep '^0xFE[3-6]' | perl tab.pl
+ awk '{ print $2, $1 }' gbk.txt | sort | grep -E '^0xFE[3-6]' | perl tab.pl
where tab.pl is
/* The table can be created using
- awk '{ print $2, $1 }' gbk.txt | sort | egrep '^0xFF[0-5]' | perl tab.pl
+ awk '{ print $2, $1 }' gbk.txt | sort | grep -E '^0xFF[0-5]' | perl tab.pl
where tab.pl is
It's not worth trying to use these gaps. The table can be generated
using
- egrep '^0x' < .../eastasia/jis/jis0208.txt |
+ grep -E '^0x' < .../eastasia/jis/jis0208.txt |
perl tab.pl
with tab.pl containing:
/* The following table can be generated using
- egrep '^0x' < .../eastasia/jis/jis0208.txt |
- awk '{ print $3, $2}' | egrep '^0x0[34]' | sort -u | perl tab.pl
+ grep -E '^0x' < .../eastasia/jis/jis0208.txt |
+ awk '{ print $3, $2}' | grep -E '^0x0[34]' | sort -u | perl tab.pl
where tab.pl contains:
unpredictable place and size. Therefore we use a table which maps
ranges to idexes in a table. This table ca be generated with:
- egrep '^0x' < .../eastasia/jis/jis0208.txt | awk '{ print $3, $2}' |
- egrep '^0x[^01]' | sort -u | perl tab.pl
+ grep -E '^0x' < .../eastasia/jis/jis0208.txt | awk '{ print $3, $2}' |
+ grep -E '^0x[^01]' | sort -u | perl tab.pl
where tab.pl is
therefore indexed using UCS with leaving large gaps out. It can
be computed with
- egrep '^0x' < .../eastasia/jis/jis0208.txt | awk '{ print $3, $2}' |
- egrep '^0x[^01]' | sort -u | perl tag.pl
+ grep -E '^0x' < .../eastasia/jis/jis0208.txt | awk '{ print $3, $2}' |
+ grep -E '^0x[^01]' | sort -u | perl tag.pl
where tab.pl is
char in a table resulting in an index to a table with the UCS. The
following command can be used to generate the table:
- egrep '^0x[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]' \
+ grep -E '^0x[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]' \
.../eastasia/jis/jis0212.txt | perl tab.pl
where tab.pl is
/* The table which the UCS values indexed by the table above can be
generated using the following code:
- egrep '^0x[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]' \
+ grep -E '^0x[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]' \
.../eastasia/jis/jis0212.txt | perl tab.pl
where tab.pl is:
use again a two-step mapping table. The index table can be computed
using
- egrep '^0x[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]' \
+ grep -E '^0x[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]' \
../eastasia/jis/jis0212.txt | awk '{ print $2, $1 }' | sort -u |
perl tab.pl
/* The values corresponding to the table can be computed using
- egrep '^0x[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]' \
+ grep -E '^0x[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]' \
.../eastasia/jis/jis0212.txt | awk '{ print $2, $1 }' |
sort -u | perl tab.pl
#include "ksc5601.h"
/*
-egrep '# HANGUL SYLL' < /cdrom/unix/mappings/eastasia/ksc/ksc5601.txt | \
-egrep -v '^0x[4-9AD-F]' | egrep -v '^0x..([4-9].|A0)' | \
+grep -E '# HANGUL SYLL' < /cdrom/unix/mappings/eastasia/ksc/ksc5601.txt | \
+grep -E -v '^0x[4-9AD-F]' | grep -E -v '^0x..([4-9].|A0)' | \
perl tab21.pl > ksc_hangul1.tb
----------
and UCS-4. It's used to convert symbols in EUC-KR, ISO-2022-KR,
Johab, UHC to UCS-4.
-egrep '^0xA[1-C]' < /cdrom/unix/mappings/eastasia/ksc/ksc5601.txt | \
+grep -E '^0xA[1-C]' < /cdrom/unix/mappings/eastasia/ksc/ksc5601.txt | \
grep -v '# HANGUL SYLLABLE' | perl tab11.pl > ksc_sym1.tb
$n=0;
Mapping table from UCS4 to symbols defined in KS C 5601-1987.
-egrep '^0xA[1-C]' /cdrom/unix/mappings/eastasia/ksc/ksc5601.txt | \
+grep -E '^0xA[1-C]' /cdrom/unix/mappings/eastasia/ksc/ksc5601.txt | \
grep -v '# HANGUL SYLLABLE' | awk '{print $2, $1}' | sort -u |
perl tab12.pl > ksc_sym2.tb
};
/*
-egrep '^0x.*# <CJK>' < /cdrom/unix/mappings/eastasia/ksc/ksc5601.txt | \
+grep -E '^0x.*# <CJK>' < /cdrom/unix/mappings/eastasia/ksc/ksc5601.txt | \
perl tab21.pl > ksc_hanja1.tb
};
/*
-egrep '^0x.*# <CJK>' < /cdrom/unix/mappings/eastasia/ksc/ksc5601.txt | \
+grep -E '^0x.*# <CJK>' < /cdrom/unix/mappings/eastasia/ksc/ksc5601.txt | \
awk '{print $2,$1}' | sort -u | perl tab12.pl > ksc_hanja2.tb
$n=0;
from the Unicode CD (also available on their FTP server) using
the command
- egrep '^0x8[01234][[:xdigit:]][[:xdigit:]]' \
+ grep -E '^0x8[01234][[:xdigit:]][[:xdigit:]]' \
/mnt/cdrom/unix/mappings/eastasia/jis/shiftjis.txt | perl ~/sjis.pl
where sjis.pl contains:
from the Unicode CD (also available on their FTP server) using
the command
- egrep '^0x8[89][[:xdigit:]][[:xdigit:]]' \
+ grep -E '^0x8[89][[:xdigit:]][[:xdigit:]]' \
/mnt/cdrom/unix/mappings/eastasia/jis/shiftjis.txt | perl ~/sjis.pl
where sjis.pl contains:
from the Unicode CD (also available on their FTP server) using
the command
- egrep '^0x(8[9a-fA-F]|9[[:xdigit:]])[[:xdigit:]][[:xdigit:]]' \
+ grep -E '^0x(8[9a-fA-F]|9[[:xdigit:]])[[:xdigit:]][[:xdigit:]]' \
/mnt/cdrom/unix/mappings/eastasia/jis/shiftjis.txt | perl ~/sjis.pl
where sjis.pl contains:
from the Unicode CD (also available on their FTP server) using
the command
- egrep '^0x[eE][[:xdigit:]][[:xdigit:]][[:xdigit:]]' \
+ grep -E '^0x[eE][[:xdigit:]][[:xdigit:]][[:xdigit:]]' \
/mnt/cdrom/unix/mappings/eastasia/jis/shiftjis.txt | perl ~/sjis.pl
where sjis.pl contains:
/* The following table can be generated using
awk '/^0x/ { print $2, $1; }' < .../eastasia/jis/shiftjis.txt |
- egrep "^0x00[[:xdigit:]][[:xdigit:]]" |
+ grep -E "^0x00[[:xdigit:]][[:xdigit:]]" |
sort -u | perl tab.pl
where tab.pl is
/* The following table can be generated using
awk '/^0x/ { print $2, $1; }' < .../eastasia/jis/shiftjis.txt |
- egrep "^0x0[34][[:xdigit:]][[:xdigit:]]" |
+ grep -E "^0x0[34][[:xdigit:]][[:xdigit:]]" |
sort -u | perl tab.pl
where tab.pl is
The following table can be generated using
awk '/^0x/ { print $2, $1; }' < ...eastasia/jis/shiftjis.txt |
- egrep "^0x[2-9][[:xdigit:]][[:xdigit:]][[:xdigit:]]" |
+ grep -E "^0x[2-9][[:xdigit:]][[:xdigit:]][[:xdigit:]]" |
sort -u | perl tab.pl
where tab.pl is
/*
-egrep \
+grep -E \
'^0x([89][0-9A-F]..|A0..|[AB][0-9A-F][4-9].|[AB][0-9A-F]A0|C[0-6][4-9].|C[0-6]A0)' < /cdrom/unix/mappings/eastasia/ksc/ksc5601.txt | perl tab.pl
------tab.pl
};
/*
-egrep '# HANGUL SYLL' < /cdrom/unix/mappings/eastasia/ksc/ksc5601.txt | \
+grep -E '# HANGUL SYLL' < /cdrom/unix/mappings/eastasia/ksc/ksc5601.txt | \
awk '{print $2, $1}' | sort -u | perl tab.pl
-----tab.pl
regexp=`echo $(ls -U $tmp/$ftwtest/foo/lvl1b \
| sed -n '/file@1b$/,${/file[23]@1b$/p;}') | sed 's, ,|,'`
catcmd=cat
-[ -n "$regexp" ] && catcmd="egrep -v $regexp"
+[ -n "$regexp" ] && catcmd="grep -E -v $regexp"
$catcmd <<EOF | diff -u $testout - || exit 1
base = "$tmp/", file = "$ftwtest", flag = FTW_D, level = 0
}
collect_nodes () {
- egrep '^(@c )?@node.*Top' "$@" /dev/null | cut -d, -f-2 |
+ grep -E '^(@c )?@node.*Top' "$@" /dev/null | cut -d, -f-2 |
sed 's/@c //; s/, /:/; s/:@node /:/; s/ /_/g; s/:/ /g' |
$AWK '{ file[$2] = $1; nnode[$2] = $3 }
END { for (x in file)
-e "s/DATE/`date +'%Y-%m-%d %H:%M'$$disp`/" \
-e "s/CHARSET/UTF-8/" \
$< > $@.new
- egrep -v '\.ksh$$' $(word 2,$^) > $(objdir)/tmp-libc.pot-files
+ grep -E -v '\.ksh$$' $(word 2,$^) > $(objdir)/tmp-libc.pot-files
cd ..; $(XGETTEXT) --keyword=_ --keyword=N_ \
--add-comments=TRANS --flag=error:3:c-format \
--flag=f_print:2:c-format \
--sort-by-file --omit-header -E -n -d - \
-f $(objdir)/tmp-libc.pot-files >> po/$@.new
- egrep '\.ksh$$' $(word 2,$^) > $(objdir)/tmp-libc.pot-files
+ grep -E '\.ksh$$' $(word 2,$^) > $(objdir)/tmp-libc.pot-files
cd ..; $(XGETTEXT) --add-comments=TRANS --language=Shell \
--sort-by-file --omit-header -E -n -o po/$@.new -j \
-f $(objdir)/tmp-libc.pot-files po/$@.new
# #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
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' |
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' |
LC_ALL=C $READELF -dr conftest.so > conftest.dr 2>&5 &&
{
cat conftest.dr 1>&5
- fgrep 'TEXTREL
+ grep -F 'TEXTREL
R_ARM_NONE' conftest.dr > /dev/null || libc_cv_arm_pcrel_movw=yes
}
rm -f conftest*
LC_ALL=C $READELF -dr conftest.so > conftest.dr 2>&AS_MESSAGE_LOG_FD &&
{
cat conftest.dr 1>&AS_MESSAGE_LOG_FD
- fgrep 'TEXTREL
+ grep -F 'TEXTREL
R_ARM_NONE' conftest.dr > /dev/null || libc_cv_arm_pcrel_movw=yes
}
rm -f conftest*])
EOF
if ! { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp
-O0 -nostdlib -nostartfiles
- -S conftest.c -o - | fgrep "__sync_val_compare_and_swap"
+ -S conftest.c -o - | grep -F "__sync_val_compare_and_swap"
1>&5'
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
(eval $ac_try) 2>&5
# OBJECT symbols can be ignored.
$READELF -sW ${objpfx}dl-allobjs.os ${objpfx}rtld-libc.a |
-egrep " OBJECT *GLOBAL " |
+grep -E " OBJECT *GLOBAL " |
awk '{if ($7 != "ABS") print $8 }' |
sort -u > "$tmp"
declare -a objects
done
for o in $rtldobjs; do
ro=$(echo "$objpfx"../*/"$o")
- if $NM -g --defined-only "$ro" | egrep -qs " $s\$"; then
- if ! (echo "$tocheck $objs" | fgrep -qs "$o"); then
+ if $NM -g --defined-only "$ro" | grep -E -qs " $s\$"; then
+ if ! (echo "$tocheck $objs" | grep -F -qs "$o"); then
echo "$o needed for $s"
objs="$objs $o"
fi
file=$1
size=$(readelf -S $file | \
(sz=0; while read line; do
- if echo $line | fgrep -q " .rodata"; then
+ if echo $line | grep -F -q " .rodata"; then
read sz rest
break
fi
done;
printf "%d" 0x$sz))
- summands=$(readelf -s $file | fgrep " OBJECT " | tr -s ' ' |
+ summands=$(readelf -s $file | grep -F " OBJECT " | tr -s ' ' |
cut -f4 -d' ' | sed 's,$,+,')0
sum=$(($summands))
if [ $sum != $size ]; then