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/jis0208.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/jis0208.c')
-rw-r--r-- | iconvdata/jis0208.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/iconvdata/jis0208.c b/iconvdata/jis0208.c index 4bfc68d66c..e2940113df 100644 --- a/iconvdata/jis0208.c +++ b/iconvdata/jis0208.c @@ -38,7 +38,7 @@ 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: @@ -1800,8 +1800,8 @@ const char __jisx0208_from_ucs4_lat1[JIS0208_LAT1_MAX + 1 /* 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: @@ -1868,8 +1868,8 @@ const char __jisx0208_from_ucs4_greek[0xc1][2] = 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 @@ -2610,8 +2610,8 @@ const struct jisx0208_ucs_idx __jisx0208_from_ucs_idx[] = 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 |