aboutsummaryrefslogtreecommitdiff
path: root/iconvdata/gbk.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/gbk.c
parent3c23fa9f44fe88d0851e1344fc37ba60e74cb0fc (diff)
downloadglibc-7df596a58cdfa763924487b8c275269de3497304.tar
glibc-7df596a58cdfa763924487b8c275269de3497304.tar.gz
glibc-7df596a58cdfa763924487b8c275269de3497304.tar.bz2
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/gbk.c')
-rw-r--r--iconvdata/gbk.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/iconvdata/gbk.c b/iconvdata/gbk.c
index 97717181f4..53e865e74a 100644
--- a/iconvdata/gbk.c
+++ b/iconvdata/gbk.c
@@ -5543,7 +5543,7 @@ static const uint16_t __gbk_to_ucs[] =
/* 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
@@ -5574,7 +5574,7 @@ static const char __gbk_from_ucs4_tab1[][2] =
/* 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
@@ -5614,7 +5614,7 @@ static const char __gbk_from_ucs4_tab2[][2] =
/* 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
@@ -5660,7 +5660,7 @@ static const char __gbk_from_ucs4_tab3[][2] =
/* 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
@@ -5690,7 +5690,7 @@ static const char __gbk_from_ucs4_tab4[][2] =
/* 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
@@ -5738,7 +5738,7 @@ static const char __gbk_from_ucs4_tab5[][2] =
/* 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
@@ -5829,7 +5829,7 @@ static const char __gbk_from_ucs4_tab6[][2] =
/* 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
@@ -5943,7 +5943,7 @@ static const char __gbk_from_ucs4_tab7[][2] =
/* 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
@@ -12935,7 +12935,7 @@ static const char __gbk_from_ucs4_tab8[][2] =
/* 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
@@ -12993,7 +12993,7 @@ static const char __gbk_from_ucs4_tab9[][2] =
/* 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
@@ -13023,7 +13023,7 @@ static const char __gbk_from_ucs4_tab10[][2] =
/* 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
@@ -13065,7 +13065,7 @@ static const char __gbk_from_ucs4_tab11[][2] =
/* 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