summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2024-01-05 01:27:27 -0800
committerDan Fandrich <danf@mageia.org>2024-01-05 01:27:27 -0800
commita87aa0ddc02605887ecd181a42813d9a7293a1e2 (patch)
tree123f1361579c4965b8e02e2c802622a315a7b61a
parent0fa88b29b084ef372bd580cd94132abfd820c035 (diff)
downloaddrakx-a87aa0ddc02605887ecd181a42813d9a7293a1e2.tar
drakx-a87aa0ddc02605887ecd181a42813d9a7293a1e2.tar.gz
drakx-a87aa0ddc02605887ecd181a42813d9a7293a1e2.tar.bz2
drakx-a87aa0ddc02605887ecd181a42813d9a7293a1e2.tar.xz
drakx-a87aa0ddc02605887ecd181a42813d9a7293a1e2.zip
Eliminate use of egrep and fgrep and the warnings they now give
-rw-r--r--kernel/Makefile2
-rw-r--r--perl-install/install/share/list.xml4
-rw-r--r--perl-install/lang.pm2
-rw-r--r--tools/Makefile2
4 files changed, 5 insertions, 5 deletions
diff --git a/kernel/Makefile b/kernel/Makefile
index 6dfb3eff8..819173f76 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -4,5 +4,5 @@ clean:
check:
perl -I. modules.pl check > /dev/null
@echo "unlisted drivers: "
- @for i in $$(zcat /usr/share/ldetect-lst/pcitable.gz|cut -f 2 -d \" |egrep -v '^#|ADSL:|Bad:|Card:|H[cs]f:|ISDN:|LT:'|sort|uniq|less);do fgrep -q $$i list_modules.pm|| echo -n "$$i ";done
+ @for i in $$(zcat /usr/share/ldetect-lst/pcitable.gz|cut -f 2 -d \" | grep -E -v '^#|ADSL:|Bad:|Card:|H[cs]f:|ISDN:|LT:'|sort|uniq|less);do grep -F -q $$i list_modules.pm|| echo -n "$$i ";done
@echo
diff --git a/perl-install/install/share/list.xml b/perl-install/install/share/list.xml
index 280746ba1..c7f39df8c 100644
--- a/perl-install/install/share/list.xml
+++ b/perl-install/install/share/list.xml
@@ -69,7 +69,7 @@
</if>
<if set="DEBUG_INSTALL">
- strace bash less ps top gdb busybox cfdisk partprobe chroot fgrep vim-minimal rpm urpmi
+ strace bash less ps top gdb busybox cfdisk partprobe chroot grep vim-minimal rpm urpmi
</if>
</from>
@@ -423,7 +423,7 @@
<!-- example how to include debuginfo in stage2:
<from expand="command">
- rpm -ql ldetect-debuginfo drakxtools-backend-debuginfo x11-server-debuginfo |egrep '.build-id/|\.debug'
+ rpm -ql ldetect-debuginfo drakxtools-backend-debuginfo x11-server-debuginfo |grep -E '.build-id/|\.debug'
</from>
-->
<from expand="command">
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 5097fc735..849f386e3 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -577,7 +577,7 @@ The list of locales supported by glibc.
=cut
#- this list is built with the following command:
-#- urpmf LC_CTYPE | egrep '/usr/share/locale/[a-z]' | cut -d'/' -f5 | sed 's/\.\(UTF-8\|ARM\|EUC\|GB.\|ISO\|KOI\|TCVN\).*\|\@\(euro\|iqtelif.*\)//' | sort -u | tr '\n' ' ';echo
+#- urpmf LC_CTYPE | grep -E '/usr/share/locale/[a-z]' | cut -d'/' -f5 | sed 's/\.\(UTF-8\|ARM\|EUC\|GB.\|ISO\|KOI\|TCVN\).*\|\@\(euro\|iqtelif.*\)//' | sort -u | tr '\n' ' ';echo
our @locales = qw(aa_DJ aa_ER aa_ER@saaho aa_ET af_ZA ak_GH am_ET an_ES anp_IN ar_AE ar_BH ar_DZ ar_EG ar_IN ar_IQ ar_JO ar_KW ar_LB ar_LY ar_MA ar_OM ar_QA ar_SA ar_SD ar_SS ar_SY ar_TN ar_YE as_IN ast_ES ayc_PE az_AZ be_BY be_BY@latin bem_ZM ber_DZ ber_MA bg_BG bho_IN bn_BD bn_IN bo_CN bo_IN br_FR brx_IN bs_BA byn_ER ca_AD ca_ES ca_FR ca_IT cmn_TW crh_UA csb_PL cs_CZ cv_RU cy_GB da_DK de_AT de_BE de_CH de_DE de_LU doi_IN dv_MV dz_BT el_CY el_GR en_AG en_AU en_BE en_BW en_CA en_DK en_GB en_HK en_IE en_IN en_NG en_NZ en_PH en_SG en_US en_ZA en_ZM en_ZW eo_XX es_AR es_BO es_CL es_CO es_CR es_CU es_DO es_EC es_ES es_GT es_HN es_MX es_NI es_PA es_PE es_PR es_PY es_SV es@tradicional es_US es_UY es_VE et_EE eu_ES fa_IR ff_SN fi_FI fil_PH fo_FO fr_BE fr_CA fr_CH fr_FR fr_LU fur_IT fy_DE fy_NL ga_IE gd_GB gez_ER gez_ER@abegede gez_ET gez_ET@abegede gl_ES gu_IN gv_GB hak_TW ha_NG he_IL hi_IN hne_IN hr_HR hsb_DE ht_HT hu_HU hy_AM ia_FR id_ID ig_NG ik_CA is_IS it_CH it_IT iu_CA iw_IL ja_JP ka_GE kk_KZ kl_GL km_KH kn_IN kok_IN ko_KR ks_IN ks_IN@devanagari ku_TR kw_GB ky_KG lb_LU lg_UG li_BE lij_IT li_NL lo_LA lt_LT lv_LV lzh_TW mag_IN mai_IN mg_MG mhr_RU mi_NZ mk_MK ml_IN mni_IN mn_MN mr_IN ms_MY mt_MT my_MM nan_TW nan_TW@latin nb_NO nds_DE nds_DE@traditional nds_NL ne_NP nhn_MX niu_NU niu_NZ nl_AW nl_BE nl_NL nn_NO nr_ZA nso_ZA oc_FR om_ET om_KE or_IN os_RU pa_IN pap_AN pap_AW pap_CW pa_PK pl_PL ps_AF pt_BR pt_PT quz_PE ro_RO ru_RU ru_UA rw_RW sa_IN sat_IN sc_IT sd_IN sd_IN@devanagari se_NO shs_CA sid_ET si_LK sk_SK sl_SI so_DJ so_ET so_KE so_SO sq_AL sq_MK sr_ME sr_RS sr_RS@latin ss_ZA st_ZA sv_FI sv_SE sw_KE sw_TZ sw_XX szl_PL ta_IN ta_LK te_IN tg_TJ the_NP th_TH ti_ER ti_ET tig_ER tk_TM tl_PH tn_ZA tr_CY tr_TR ts_ZA tt_RU ug_CN uk_UA unm_US ur_IN ur_PK uz_UZ uz_UZ@cyrillic ve_ZA vi_VN wa_BE wae_CH wal_ET wo_SN xh_ZA yi_US yo_NG yue_HK zh_CN zh_HK zh_SG zh_TW zu_ZA);
# (cg) Taken from systemd/src/locale/localed.c
diff --git a/tools/Makefile b/tools/Makefile
index bac17c3e7..40194245d 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -2,7 +2,7 @@ DIRS = serial_probe
LDFLAGS = $(shell pkg-config libtirpc --libs)
CFLAGS = -Wall $(shell pkg-config libtirpc --cflags)
-ARCH := $(shell arch | egrep "x86_64")
+ARCH := $(shell arch | grep -E "x86_64")
ifneq ("x$(ARCH)", "x")
LIB_NAME = lib64
else