about summary refs log tree commit diff
path: root/iconvdata/ksc5601.c
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-06-05 12:09:02 -0700
committerFangrui Song <maskray@google.com>2022-06-05 12:09:02 -0700
commit7df596a58cdfa763924487b8c275269de3497304 (patch)
tree7b2762ba7b12c0ed07d63cd14109305af04f4cf8 /iconvdata/ksc5601.c
parent3c23fa9f44fe88d0851e1344fc37ba60e74cb0fc (diff)
downloadglibc-7df596a58cdfa763924487b8c275269de3497304.tar.gz
glibc-7df596a58cdfa763924487b8c275269de3497304.tar.xz
glibc-7df596a58cdfa763924487b8c275269de3497304.zip
grep: egrep -> grep -E, fgrep -> grep -F
Newer versions of GNU grep (after grep 3.7, not inclusive) will warn on
'egrep' and 'fgrep' invocations.

Convert usages within the tree to their expanded non-aliased counterparts
to avoid irritating warnings during ./configure and the test suite.

Signed-off-by: Sam James <sam@gentoo.org>
Reviewed-by: Fangrui Song <maskray@google.com>
Diffstat (limited to 'iconvdata/ksc5601.c')
-rw-r--r--iconvdata/ksc5601.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/iconvdata/ksc5601.c b/iconvdata/ksc5601.c
index 922ec8b0c5..533f7bca17 100644
--- a/iconvdata/ksc5601.c
+++ b/iconvdata/ksc5601.c
@@ -20,8 +20,8 @@
 #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
 
 ----------
@@ -350,7 +350,7 @@ const uint16_t __ksc5601_hangul_to_ucs[KSC5601_HANGUL]=
     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;
@@ -624,7 +624,7 @@ const uint16_t __ksc5601_sym_to_ucs[] =
 
  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
 
@@ -981,7 +981,7 @@ const struct map __ksc5601_sym_from_ucs[KSC5601_SYMBOL] =
 };
 
 /*
-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
 
 
@@ -1613,7 +1613,7 @@ const uint16_t __ksc5601_hanja_to_ucs[KSC5601_HANJA]=
 };
 
 /*
-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;