diff options
author | Sam James <sam@gentoo.org> | 2022-06-05 12:09:02 -0700 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2022-06-05 12:09:02 -0700 |
commit | 7df596a58cdfa763924487b8c275269de3497304 (patch) | |
tree | 7b2762ba7b12c0ed07d63cd14109305af04f4cf8 /iconvdata/cns11643l1.c | |
parent | 3c23fa9f44fe88d0851e1344fc37ba60e74cb0fc (diff) | |
download | glibc-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/cns11643l1.c')
-rw-r--r-- | iconvdata/cns11643l1.c | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/iconvdata/cns11643l1.c b/iconvdata/cns11643l1.c index 839cc84f72..96bd962ecc 100644 --- a/iconvdata/cns11643l1.c +++ b/iconvdata/cns11643l1.c @@ -32,7 +32,7 @@ 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: @@ -1540,8 +1540,8 @@ const char __cns11643l1_from_ucs4_tab2[][2] = /* 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 @@ -1581,8 +1581,8 @@ const char __cns11643l1_from_ucs4_tab3[][2] = /* 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 @@ -1619,8 +1619,8 @@ const char __cns11643l1_from_ucs4_tab5[][2] = /* 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 @@ -1650,8 +1650,8 @@ const char __cns11643l1_from_ucs4_tab6[][2] = /* 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 @@ -1686,8 +1686,8 @@ const char __cns11643l1_from_ucs4_tab7[][2] = /* 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 @@ -1718,8 +1718,8 @@ const char __cns11643l1_from_ucs4_tab8[][2] = /* 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 @@ -1763,8 +1763,8 @@ const char __cns11643l1_from_ucs4_tab9[][2] = /* 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 @@ -1798,8 +1798,8 @@ const char __cns11643l1_from_ucs4_tab10[][2] = /* 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 @@ -1827,8 +1827,8 @@ const char __cns11643l1_from_ucs4_tab11[][2] = /* 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 @@ -3657,8 +3657,8 @@ const char __cns11643l1_from_ucs4_tab12[][2] = /* 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 @@ -3699,8 +3699,8 @@ const char __cns11643l1_from_ucs4_tab13[][2] = /* 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 |