Home
last modified time | relevance | path

Searched refs:cut (Results 1 – 25 of 372) sorted by relevance

12345678910>>...15

/openbmc/openbmc/poky/meta/recipes-core/busybox/busybox/
H A D0001-cut-Fix-s-flag-to-omit-blank-lines.patch4 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/openbmc/meta-facebook/meta-ventura/recipes-phosphor/gpio/phosphor-gpio-monitor/
H A Dfrontled10 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/bootconfig/scripts/
H A Dftrace.sh23 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 …]
H A Dxbc.sh39 grep "^$1 =" $XBC_TMPFILE | cut -d= -f2- | \
55 grep "^$1$3" $XBC_TMPFILE | cut -d= -f1| cut -d. -f$((__s + 1))-$((__s + $2)) | uniq
/openbmc/qemu/libdecnumber/dpd/
H A Ddecimal64.c619 Int cut; /* work */ in decDigitsToDPD() local
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()
701 cut++; in decDigitsToDPD()
[all …]
/openbmc/u-boot/scripts/
H A DLindent4 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 Ddtc-version.sh17 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)
H A Ddecodecode103 code=`echo "$code" | cut -c$((${marker} + 1))-`
116 faultlinenum=$(( $(wc -l $T.oo | cut -d" " -f1) - \
117 $(wc -l $T.aa | cut -d" " -f1) + 3))
119 faultline=`cat $T.dis | head -1 | cut -d":" -f2-`
/openbmc/qemu/tests/qemu-iotests/
H A D24358 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/arch/powerpc/tools/
H A Dhead_check.sh52 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/linux/tools/testing/selftests/lkdtm/
H A Drun.sh41 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/tools/testing/selftests/ftrace/test.d/
H A Dfunctions21 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/linux/tools/testing/selftests/ftrace/test.d/kprobe/
H A Dkprobe_eventname.tc8 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 DLindent6 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 Dip-to-fpga.sh13 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/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/dvb-apps/files/
H A D0001-Fix-generate-keynames.patch21 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/linux/tools/testing/selftests/
H A Dkselftest_deps.sh93 targets=$(grep -E "^TARGETS +|^TARGETS =" Makefile | cut -d "=" -f2)
210 sed -e 's/+/ /' | cut -d "=" -f 2)
221 cut -d "=" -f 2)
230 sed -e 's/+/ /' | cut -d "=" -f 2)
248 cut -d "=" -f 2)
269 fail_target=$(echo "$test" | cut -d "/" -f1)
/openbmc/openbmc/poky/meta/classes/
H A Dextrausers.bbclass32 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-`
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/
H A Dredundantosrelease50 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/openbmc/poky/meta/recipes-core/initrdscripts/initramfs-framework/
H A Drootfs25 root_uuid=`echo $bootparam_root | cut -c6-`
28 root_partuuid=`echo $bootparam_root | cut -c10-`
31 root_partlabel=`echo $bootparam_root | cut -c11-`
34 root_label=`echo $bootparam_root | cut -c7-`
/openbmc/linux/tools/leds/
H A Dget_led_device_info.sh50 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/openbmc/poky/scripts/contrib/
H A Duncovered24 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/linux/tools/testing/selftests/kselftest/
H A Drunner.sh89 field=$(echo "$line" | cut -d= -f1)
90 value=$(echo "$line" | cut -d= -f2-)
117 if [ $(head -n 1 "$TEST" | cut -c -2) = "#!" ]
119 interpreter=$(head -n 1 "$TEST" | cut -c 3-)
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dethtool_extended_state.sh30 | 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/
H A Dtest-reexec18 targets=`bitbake -s | cut -d " " -f 1`
28 sstate_dir=`bitbake $target -e | grep "^SSTATE_DIR=" | cut -d "\"" -f 2`
29 sstate_pkgspec=`bitbake $target -e | grep "^SSTATE_PKGSPEC=" | cut -d "\"" -f 2`
30 sstasks=`bitbake $target -e | grep "^SSTATETASKS=" | cut -d "\"" -f 2`

12345678910>>...15