/openbmc/openbmc/poky/meta/recipes-core/busybox/busybox/ |
H A D | 0001-cut-Fix-s-flag-to-omit-blank-lines.patch | 4 Subject: [PATCH 1/1] cut: Fix "-s" flag to omit blank lines 6 Using cut with the delimiter flag ("-d") with the "-s" flag to only 8 deviant behavior from cut provided by GNU Coreutils. Blank lines should 16 In addition, a test to cut.tests has been added to ensure that this 23 coreutils/cut.c | 6 ++++++ 24 testsuite/cut.tests | 9 +++++++++ 27 diff --git a/coreutils/cut.c b/coreutils/cut.c 29 --- a/coreutils/cut.c 30 +++ b/coreutils/cut.c 44 diff --git a/testsuite/cut.tests b/testsuite/cut.tests [all …]
|
/openbmc/linux/tools/bootconfig/scripts/ |
H A D | ftrace.sh | 23 cmd=`echo $line | cut -f2- -d: | cut -f1 -d"["` 24 file=`echo $line | cut -f1 -d:` 29 cmd=`echo $line | cut -f2- -d: | cut -f1 -d"["` 30 file=`echo $line | cut -f1 -d:` 45 echo 0 > `echo $line | cut -f1 -d:` 55 tr=`echo $t | cut -d: -f2` 62 name=`echo $t | cut -d: -f1 | cut -d' ' -f1` 64 tr=`echo $t | cut -d: -f2-4` 65 limit=`echo $t | cut -d: -f5` 67 tr=`echo $t | cut -d: -f2` [all …]
|
/openbmc/openbmc/meta-facebook/meta-ventura/recipes-phosphor/gpio/phosphor-gpio-monitor/ |
H A D | frontled | 10 LEDtray=$(echo "$MESSAGE" | cut -d '-' -f1) 13 traynum=$(echo "$MESSAGE" | cut -d '-' -f3 | cut -d ' ' -f1) 14 LEDstate=$(echo "$MESSAGE" | cut -d ' ' -f4) 22 traynum=$(echo "$MESSAGE" | cut -d '-' -f3 | cut -d ' ' -f1) 23 LEDstate=$(echo "$MESSAGE" | cut -d ' ' -f4) 31 Leaktray=$(echo "$MESSAGE" | cut -d '-' -f2) 33 traynum=$(echo "$MESSAGE" | cut -d '-' -f4 | cut -d ' ' -f1) 34 LEDstate=$(echo "$MESSAGE" | cut -d ' ' -f4) 42 traynum=$(echo "$MESSAGE" | cut -d '-' -f4 | cut -d ' ' -f1) 43 LEDstate=$(echo "$MESSAGE" | cut -d ' ' -f4)
|
/openbmc/linux/tools/testing/selftests/ftrace/test.d/ |
H A D | functions | 21 cmd=`echo $line | cut -f2- -d: | cut -f1 -d"["` 22 file=`echo $line | cut -f1 -d:` 27 cmd=`echo $line | cut -f2- -d: | cut -f1 -d"["` 28 file=`echo $line | cut -f1 -d:` 43 echo 0 > `echo $line | cut -f1 -d:` 53 tr=`echo $t | cut -d: -f2` 60 name=`echo $t | cut -d: -f1 | cut -d' ' -f1` 62 tr=`echo $t | cut -d: -f2-4` 63 limit=`echo $t | cut -d: -f5` 65 tr=`echo $t | cut -d: -f2` [all …]
|
/openbmc/u-boot/scripts/ |
H A D | Lindent | 4 V1=`echo $RES | cut -d' ' -f3 | cut -d'.' -f1` 5 V2=`echo $RES | cut -d' ' -f3 | cut -d'.' -f2` 6 V3=`echo $RES | cut -d' ' -f3 | cut -d'.' -f3`
|
H A D | dtc-version.sh | 17 MAJOR=$($dtc -v | head -1 | awk '{print $NF}' | cut -d . -f 1) 18 MINOR=$($dtc -v | head -1 | awk '{print $NF}' | cut -d . -f 2) 19 PATCH=$($dtc -v | head -1 | awk '{print $NF}' | cut -d . -f 3 | cut -d - -f 1)
|
/openbmc/openbmc/poky/meta/recipes-core/initrdscripts/initramfs-framework/ |
H A D | rootfs | 24 if [ "`echo ${bootparam_root} | cut -c1-5`" = "UUID=" ]; then 25 root_uuid=`echo $bootparam_root | cut -c6-` 27 elif [ "`echo ${bootparam_root} | cut -c1-9`" = "PARTUUID=" ]; then 28 root_partuuid=`echo $bootparam_root | cut -c10-` 30 elif [ "`echo ${bootparam_root} | cut -c1-10`" = "PARTLABEL=" ]; then 31 root_partlabel=`echo $bootparam_root | cut -c11-` 33 elif [ "`echo ${bootparam_root} | cut -c1-6`" = "LABEL=" ]; then 34 root_label=`echo $bootparam_root | cut -c7-`
|
/openbmc/openbmc/poky/meta/classes/ |
H A D | extrausers.bbclass | 32 setting=`echo $user_group_settings | cut -d ';' -f1` 33 remaining=`echo $user_group_settings | cut -d ';' -f2-` 35 cmd=`echo $setting | cut -d ' ' -f1` 36 opts=`echo $setting | cut -d ' ' -f2-` 70 setting=`echo $remaining | cut -d ';' -f1` 71 remaining=`echo $remaining | cut -d ';' -f2-`
|
H A D | useradd.bbclass | 60 opts=`echo "$GROUPADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` 61 remaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` 67 opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` 68 remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` 76 opts=`echo "$USERADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` 77 remaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` 83 opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` 84 remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` 92 opts=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` 93 remaining=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` [all …]
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/dvb-apps/files/ |
H A D | 0001-Fix-generate-keynames.patch | 21 cut -f 1 | cut -f 2 -d " " | sort -u) ; do 22 echo " { \"$(echo $x | cut -b 5-)\", $x }," >> $1 30 cut -f 1 | cut -f 2 -d " " | sort -u) ; do 31 echo " { \"$(echo $x | cut -b 5-)\", $x }," >> $1
|
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/ |
H A D | ksample.py | 61 self.cmd_and_check("lsmod | grep %s | cut -d\' \' -f1" % sysmbol_name, sysmbol_name) 80 self.cmd_and_check("lsmod | grep %s | cut -d\' \' -f1" % sysmbol_name, sysmbol_name) 96 self.cmd_and_check("lsmod | grep %s | cut -d\' \' -f1" % sysmbol_name, sysmbol_name) 135 … self.cmd_and_check("lsmod | grep trace_events_sample | cut -d\' \' -f1", "trace_events_sample") 146 … = self.target.run('cat /sys/kernel/debug/tracing/trace | grep hello | head -n1 | cut -d\':\' -f2') 168 self.cmd_and_check("lsmod | grep trace_printk | cut -d\' \' -f1", "trace_printk") 170 … /sys/kernel/debug/tracing/trace | grep trace_printk_irq_work | head -n1 | cut -d\':\' -f2", " tra… 191 self.cmd_and_check("lsmod | grep data_breakpoint | cut -d\' \' -f1", "data_breakpoint") 208 … self.cmd_and_check("lsmod | grep configfs_sample | cut -d\' \' -f1 | head -n1", "configfs_sample") 229 self.cmd_and_check("lsmod | grep cn_test | cut -d\' \' -f1", "cn_test") [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 243 | 58 du -b $TEST_IMG | cut -f1 62 [ $(du -B1 $TEST_IMG | cut -f1) -lt 1048576 ] && echo "low" || echo "high" 76 du -b $TEST_IMG | cut -f1 78 du -b $TEST_IMG.data | cut -f1 82 [ $(du -B1 $TEST_IMG | cut -f1) -lt 1048576 ] && echo "low" || echo "high" 84 [ $(du -B1 $TEST_IMG.data | cut -f1) -lt 2097152 ] && echo "low" || echo "high"
|
/openbmc/linux/tools/testing/selftests/ftrace/test.d/kprobe/ |
H A D | kprobe_eventname.tc | 8 FUNC=`grep " [tT] .*vfs_read$" /proc/kallsyms | tail -n 1 | cut -f 3 -d " "` 28 grep -m 10 " [tT] .*\.isra\..*$" /proc/kallsyms | tail -n 1 | cut -f 3 -d " " 32 grep " [tT] .*\.isra\..*" /proc/kallsyms | cut -f 3 -d " " | while read f; do 44 EVENT=`grep $FUNC kprobe_events | cut -f 1 -d " " | cut -f 2 -d:`
|
/openbmc/linux/scripts/ |
H A D | Lindent | 6 RES=`indent --version | cut -d' ' -f3` 10 V1=`echo $RES | cut -d'.' -f1` 11 V2=`echo $RES | cut -d'.' -f2` 12 V3=`echo $RES | cut -d'.' -f3`
|
/openbmc/openbmc/meta-amd/meta-ethanolx/recipes-amd/amd-fpga/files/ |
H A D | ip-to-fpga.sh | 13 IP_1=$(echo "${IP}" | cut -d "." -f 1) 14 IP_2=$(echo "${IP}" | cut -d "." -f 2) 15 IP_3=$(echo "${IP}" | cut -d "." -f 3) 16 IP_4=$(echo "${IP}" | cut -d "." -f 4)
|
/openbmc/linux/tools/testing/selftests/lkdtm/ |
H A D | run.sh | 41 test=$(echo "$line" | cut -d" " -f1) 43 expect=$(echo "$line" | cut -d" " -f2-) 50 test=$(echo "$test" | cut -c2-) 64 repeat=$(echo "$expect" | cut -d' ' -f1 | cut -d: -f2) 65 expect=$(echo "$expect" | cut -d' ' -f2-)
|
/openbmc/linux/arch/powerpc/tools/ |
H A D | head_check.sh | 52 vma=$(grep -e " [TA] _stext$" .tmp_symbols.txt | cut -d' ' -f1) 56 start_head_addr=$(grep " t start_first_256B$" .tmp_symbols.txt | cut -d' ' -f1) 66 top_vma=$(echo "$vma" | cut -d'0' -f1) 68 expected_start_text_addr=$(grep " a text_start$" .tmp_symbols.txt | cut -d' ' -f1 | sed "s/^0/$top_… 70 start_text_addr=$(grep " t start_text$" .tmp_symbols.txt | cut -d' ' -f1)
|
/openbmc/qemu/libdecnumber/dpd/ |
H A D | decimal64.c | 619 Int cut; /* work */ in decDigitsToDPD() local 640 target=uar+D2U(digits)-1+D2U(shift);/* where upper part of first cut goes */ in decDigitsToDPD() 641 cut=DECDPUN-MSUDIGITS(shift); /* where to slice */ in decDigitsToDPD() 642 if (cut==0) { /* unit-boundary case */ in decDigitsToDPD() 650 uInt quot=QUOT10(*source, cut); in decDigitsToDPD() 651 uInt rem=*source-quot*DECPOWERS[cut]; in decDigitsToDPD() 654 uInt rem=*source%DECPOWERS[cut]; in decDigitsToDPD() 655 next+=*source/DECPOWERS[cut]; in decDigitsToDPD() 658 next=rem*DECPOWERS[DECDPUN-cut]; /* save remainder for next Unit */ in decDigitsToDPD() 674 cut=0; /* at lowest digit */ in decDigitsToDPD() [all …]
|
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/ |
H A D | redundantosrelease | 50 firmware1_priority=$(eval "$dbus_command" | grep -w "1" | cut -d' ' -f 2) 55 redundant_firmware=$(eval "$dbus_command" | cut -d' ' -f 2-) 59 firmware2_priority=$(eval "$dbus_command" | grep -w "1" | cut -d' ' -f 2) 63 redundant_firmware=$(eval "$dbus_command" | cut -d' ' -f 2-)
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | ethtool_extended_state.sh | 30 | cut -d "(" -f2 | cut -d ")" -f1) 31 local ext_substate=$(echo $ext_state | cut -sd "," -f2 \ 33 ext_state=$(echo $ext_state | cut -d "," -f1)
|
/openbmc/openbmc/poky/scripts/contrib/ |
H A D | uncovered | 24 diff -u <(grep "$path" | grep -v '0%$' | cut -f1 -d: | sort) \ 25 <(find $path | xargs file | grep 'Python script' | cut -f1 -d:| sort) | \ 26 grep "^+$path" | cut -c2-
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/colord/ |
H A D | colord-native.bb | 22 major=`echo $version | cut -d. -f1` 23 minor=`echo $version | cut -d. -f2` 24 micro=`echo $version | cut -d. -f3` 52 major=`echo $version | cut -d. -f1`
|
/openbmc/linux/tools/leds/ |
H A D | get_led_device_info.sh | 50 usb_interface=`readlink $led_cdev_path | sed s'/.*\(usb[0-9]*\)/\1/' | cut -d\/ -f3` 122 color=`echo $led_name | cut -d: -f1` 123 function=`echo $led_name | cut -d: -f2` 125 devicename=`echo $led_name | cut -d: -f1` 126 color=`echo $led_name | cut -d: -f2` 127 function=`echo $led_name | cut -d: -f3`
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
H A D | def.h | 65 /* [15:12] IC version(CUT): A-cut=0, B-cut=1, C-cut=2, D-cut=3 */
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | def.h | 18 /* [15:12] IC version(CUT): A-cut=0, B-cut=1, C-cut=2, D-cut=3
|