]> git.baikalelectronics.ru Git - uboot.git/commitdiff
Use `grep -E` or plain `grep` instead of `egrep`
authorVille Skyttä <ville.skytta@iki.fi>
Sun, 1 Jan 2023 16:41:42 +0000 (18:41 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 11 Jan 2023 20:02:24 +0000 (15:02 -0500)
`egrep` has been deprecated in GNU grep since 2007,
and since 3.8 it emits obsolescence warnings:
https://git.savannah.gnu.org/cgit/grep.git/commit/?id=a9515624709865d480e3142fd959bccd1c9372d1
Acked-by: Dhruva Gole <d-gole@ti.com>
arch/arm/mach-socfpga/qts-filter-a10.sh
arch/arm/mach-socfpga/qts-filter.sh
doc/board/intel/edison.rst
scripts/coccicheck
test/fs/fs-test.sh

index 57d77e8e12c6626b0701bf8c585555d905f73943..ab16522add5e13f151e9c8f465210fd986c4320d 100755 (executable)
@@ -10,7 +10,7 @@ fix_newlines_in_macros() {
 
 #filter out only what we need from a10 hps.xml
 grep_a10_hps_config() {
-       egrep "clk_hz|i_clk_mgr|i_io48_pin_mux|AXI_SLAVE|AXI_MASTER"
+       grep -E "clk_hz|i_clk_mgr|i_io48_pin_mux|AXI_SLAVE|AXI_MASTER"
 }
 
 #
@@ -35,35 +35,35 @@ EOF
 
        echo "/* Clocks */"
        fix_newlines_in_macros \
-               ${hps_xml} | egrep "clk_hz" |
+               ${hps_xml} | grep "clk_hz" |
                        awk -F"'" '{ gsub("\\.","_",$2) ; \
                                print "#define" " " toupper($2) " " $4}' |
                        sed 's/\.[0-9]//' |
                        sed 's/I_CLK_MGR_//' |
                        sort
        fix_newlines_in_macros \
-               ${hps_xml} | egrep "i_clk_mgr_mainpll" |
+               ${hps_xml} | grep "i_clk_mgr_mainpll" |
                        awk -F"'" '{ gsub("\\.","_",$2) ; \
                                print "#define" " " toupper($2) " " $4}' |
                        sed 's/\.[0-9]//' |
                        sed 's/I_CLK_MGR_//' |
                        sort
        fix_newlines_in_macros \
-               ${hps_xml} | egrep "i_clk_mgr_perpll" |
+               ${hps_xml} | grep "i_clk_mgr_perpll" |
                        awk -F"'" '{ gsub("\\.","_",$2) ; \
                                print "#define" " " toupper($2) " " $4}' |
                        sed 's/\.[0-9]//' |
                        sed 's/I_CLK_MGR_//' |
                        sort
        fix_newlines_in_macros \
-               ${hps_xml} | egrep "i_clk_mgr_clkmgr" |
+               ${hps_xml} | grep "i_clk_mgr_clkmgr" |
                        awk -F"'" '{ gsub("\\.","_",$2) ; \
                                print "#define" " " toupper($2) " " $4}' |
                        sed 's/\.[0-9]//' |
                        sed 's/I_CLK_MGR_//' |
                        sort
        fix_newlines_in_macros \
-               ${hps_xml} | egrep "i_clk_mgr_alteragrp" |
+               ${hps_xml} | grep "i_clk_mgr_alteragrp" |
                        awk -F"'" '{ gsub("\\.","_",$2) ; \
                                print "#define" " " toupper($2) " " $4}' |
                        sed 's/\.[0-9]//' |
@@ -77,7 +77,7 @@ EOF
        echo
        echo "/* Pin Mux Configuration */"
        fix_newlines_in_macros \
-               ${hps_xml} | egrep "i_io48_pin_mux" |
+               ${hps_xml} | grep "i_io48_pin_mux" |
                        awk -F"'" '{ gsub("\\.","_",$2) ; \
                                print "#define" " " toupper($2) " " $4}' |
                        sed 's/I_IO48_PIN_MUX_//' |
@@ -90,7 +90,7 @@ EOF
        echo
        echo "/* Bridge Configuration */"
        fix_newlines_in_macros \
-               ${hps_xml} | egrep "AXI_SLAVE|AXI_MASTER" |
+               ${hps_xml} | grep -E "AXI_SLAVE|AXI_MASTER" |
                        awk -F"'" '{ gsub("\\.","_",$2) ; \
                                print "#define" " " toupper($2) " " $4}' |
                        sed 's/true/1/' |
index 6416252d4ed81913280058f85bc0cdcdab584e30..1610c89a485b31b5911b50c27c1d1a213bd67296 100755 (executable)
@@ -128,7 +128,7 @@ EOF
 # Filter out only the macros which are actually used by the code
 #
 grep_sdram_config() {
-       egrep "#define (CFG_HPS_SDR_CTRLCFG_CTRLCFG_MEMTYPE|CFG_HPS_SDR_CTRLCFG_CTRLCFG_MEMBL|CFG_HPS_SDR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_HPS_SDR_CTRLCFG_MPWIEIGHT_3_SUMOFWEIGHT_63_46|CFG_HPS_SDR_CTRLCFG_PHYCTRL_PHYCTRL_0|CFG_HPS_SDR_CTRLCFG_MPPACING_0_THRESHOLD1_31_0|CFG_HPS_SDR_CTRLCFG_MPPACING_1_THRESHOLD1_59_32|CFG_HPS_SDR_CTRLCFG_MPPACING_1_THRESHOLD2_3_0|CFG_HPS_SDR_CTRLCFG_MPPACING_2_THRESHOLD2_35_4|CFG_HPS_SDR_CTRLCFG_MPPACING_3_THRESHOLD2_59_36|CFG_HPS_SDR_CTRLCFG_MPTHRESHOLDRST_0_THRESHOLDRSTCYCLES_31_0|CFG_HPS_SDR_CTRLCFG_MPTHRESHOLDRST_1_THRESHOLDRSTCYCLES_63_32|CFG_HPS_SDR_CTRLCFG_MPTHRESHOLDRST_2_THRESHOLDRSTCYCLES_79_64|RW_MGR_ACTIVATE_0_AND_1|RW_MGR_ACTIVATE_0_AND_1_WAIT1|RW_MGR_ACTIVATE_0_AND_1_WAIT2|RW_MGR_ACTIVATE_1|RW_MGR_CLEAR_DQS_ENABLE|RW_MGR_EMR_OCD_ENABLE|RW_MGR_EMR|RW_MGR_EMR2|RW_MGR_EMR3|RW_MGR_GUARANTEED_READ|RW_MGR_GUARANTEED_READ_CONT|RW_MGR_GUARANTEED_WRITE|RW_MGR_GUARANTEED_WRITE_WAIT0|RW_MGR_GUARANTEED_WRITE_WAIT1|RW_MGR_GUARANTEED_WRITE_WAIT2|RW_MGR_GUARANTEED_WRITE_WAIT3|RW_MGR_IDLE|RW_MGR_IDLE_LOOP1|RW_MGR_IDLE_LOOP2|RW_MGR_INIT_RESET_0_CKE_0|RW_MGR_INIT_RESET_1_CKE_0|RW_MGR_INIT_CKE_0|RW_MGR_LFSR_WR_RD_BANK_0|RW_MGR_LFSR_WR_RD_BANK_0_DATA|RW_MGR_LFSR_WR_RD_BANK_0_DQS|RW_MGR_LFSR_WR_RD_BANK_0_NOP|RW_MGR_LFSR_WR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ER_QUICK_CALIBRATION|MAX_LATENCY_COUNT_WIDTH|READ_VALID_FIFO_SIZE|REG_FILE_INIT_SEQ_SIGNATURE|TINIT_CNTR0_VAL|TINIT_CNTR1_VAL|TINIT_CNTR2_VAL|TRESET_CNTR0_VAL|TRESET_CNTR1_VAL|TRESET_CNTR2_VAL|CFG_HPS_SDR_CTRLCFG_EXTRATIME1_CFG_EXTRA_CTL_CLK_RD_TO_WR|CFG_HPS_SDR_CTRLCFG_EXTRATIME1_CFG_EXTRA_CTL_CLK_RD_TO_WR_BC|CFG_HPS_SDR_CTRLCFG_EXTRATIME1_CFG_EXTRA_CTL_CLK_RD_TO_WR_DIFF_CHIP)[[:space:]]"
 }
 
 #
index 5a65673d1e06a06494145b88dc3bff3cb6aac5d9..782d75a67453bd755b4aa9769e68248419fba4dd 100644 (file)
@@ -90,7 +90,7 @@ If you want to check if the board is ready, type:
 
 .. code-block:: none
 
-  lsusb | egrep "8087|8086"
+  lsusb | grep -E "8087|8086"
   Bus 001 Device 004: ID 8086:e005 Intel Corp.
 
 If you see a device with the same ID as above, the board is waiting for your
index dccaea38e36a675e4cb68bf829a00939e2f66acd..00b22e662d8d3359f7c4943f911b16c07c11a1f9 100755 (executable)
@@ -54,7 +54,7 @@ FLAGS="--very-quiet"
 # inspected there.
 #
 # --profile will not output if --very-quiet is used, so avoid it.
-echo $SPFLAGS | egrep -e "--profile|--show-trying" 2>&1 > /dev/null
+echo $SPFLAGS | grep -Ee "--profile|--show-trying" 2>&1 > /dev/null
 if [ $? -eq 0 ]; then
        FLAGS="--quiet"
 fi
index b87748106c7a3c9b3be6dcf405366aa33e7cd036..dec2634de37f4bf526c4c4494ad5c7f03841a46b 100755 (executable)
@@ -462,22 +462,22 @@ function check_results() {
        FAIL=0
 
        # Check if the ls is showing correct results for 2.5 gb file
-       grep -A7 "Test Case 1 " "$1" | egrep -iq "2621440000 *$4"
+       grep -A7 "Test Case 1 " "$1" | grep -Eiq "2621440000 *$4"
        pass_fail "TC1: ls of $4"
 
        # Check if the ls is showing correct results for 1 mb file
-       grep -A7 "Test Case 1 " "$1" | egrep -iq "1048576 *$3"
+       grep -A7 "Test Case 1 " "$1" | grep -Eiq "1048576 *$3"
        pass_fail "TC1: ls of $3"
 
        # Check size command on 1MB.file
-       egrep -A3 "Test Case 2a " "$1" | grep -q "filesize=100000"
+       grep -A3 "Test Case 2a " "$1" | grep -q "filesize=100000"
        pass_fail "TC2: size of $3"
        # Check size command on 1MB.file via a path using '..'
-       egrep -A3 "Test Case 2b " "$1" | grep -q "filesize=100000"
+       grep -A3 "Test Case 2b " "$1" | grep -q "filesize=100000"
        pass_fail "TC2: size of $3 via a path using '..'"
 
        # Check size command on 2.5GB.file
-       egrep -A3 "Test Case 3 " "$1" | grep -q "filesize=9c400000"
+       grep -A3 "Test Case 3 " "$1" | grep -q "filesize=9c400000"
        pass_fail "TC3: size of $4"
 
        # Check read full mb of 1MB.file