Home
last modified time | relevance | path

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

12345

/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dcut.c138 Cut_t* cut; in cutinit() local
144 memset(cut->space, 0, sizeof(cut->space) / 2); in cutinit()
145 memset(cut->space + sizeof(cut->space) / 2, SP_WIDE, sizeof(cut->space) / 2); in cutinit()
148 memset(cut->space, 0, sizeof(cut->space)); in cutinit()
154 cut->space[cut->eob] = SP_LINE; in cutinit()
155 cut->cflag = (mode&C_CHARS) && cut->mb; in cutinit()
160 lp = cut->list; in cutinit()
226 return cut; in cutinit()
348 if (!cut->nlflag && (skip || must || cut->reclen)) in cutcols()
351 sfwrite(fdout, cut->ldelim.str, cut->ldelim.len); in cutcols()
[all …]
/illumos-gate/usr/src/cmd/ypcmd/yp2lscripts/
H A Dypmap2src.sh246 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
288 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
307 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
326 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
352 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
371 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
390 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
409 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
428 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
546 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
[all …]
/illumos-gate/usr/src/cmd/tsol/misc/
H A Dtxzonemgr.sh189 z=$(echo "$p"|cut -d : -f2)
190 s=$(echo "$p"|cut -d : -f3)
299 z=$(print $x|cut -d : -f1)
768 template=$(print "$x"|cut -d : -f2)
778 ip=$(print $remote|cut -d "/" -f1)
780 pr=$(print $remote|cut -d "/" -f2)
846 nic=$(print "$msg"|cut -d" " -f5)
1436 zonename=$(echo "$p"|cut -d : -f2)
1538 z=$(print $x|cut -d : -f1)
1573 zonename=$(echo "$p"|cut -d : -f2)
[all …]
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/
H A Dfilter_kernel_deref_check.sh14 code_file=$(echo "$line" | cut -d ':' -f1)
15 lineno=$(echo "$line" | cut -d ' ' -f1 | cut -d ':' -f2)
16 function=$(echo "$line" | cut -d ' ' -f2)
17 variable=$(echo "$line" | cut -d "'" -f3)
H A Dsummarize_errs.sh59 file=$(echo $sm_err | cut -d ':' -f 1)
60 line=$(echo $sm_err | cut -d ' ' -f 1 | cut -d ':' -f 2)
67 last=$(echo $sm_err | cut -d ' ' -f 2-)
H A Dshow_ifs.sh16 grep 'if();' $file | cut -d ' ' -f1 | while read loc; do
17 code_file=$(echo $loc | cut -d ':' -f 1)
18 line=$(echo $loc | cut -d ':' -f 2)
H A Dshow_errs.sh24 code_file=$(echo "$line" | cut -d ':' -f 1)
25 lineno=$(echo "$line" | cut -d ' ' -f 1 | cut -d ':' -f 2)
H A Dgen_err_ptr_list.sh4 project=$(echo "$2" | cut -d = -f 2)
22 grep "returns_err_ptr$" $file | cut -s -d ' ' -f 2 | cut -d '(' -f 1 | \
H A Dgen_returns_held.sh4 project=$(echo "$2" | cut -d = -f 2)
22 grep "returned dev is held" $file | cut -s -d ' ' -f 2 | cut -d '(' -f 1 | \
H A Dgen_allocation_list.sh4 project=$(echo "$2" | cut -d = -f 2)
22 grep "allocation func$" $file | cut -s -d ' ' -f 2 | cut -d '(' -f 1 | \
H A Dgen_unwind_functions.sh4 project=$(echo "$2" | cut -d = -f 2)
23 grep "is unwind function" $file | cut -d ' ' -f 2 | cut -d '(' -f 1 >> $tmp
H A Dgen_sizeof_param.sh4 project=$(echo "$2" | cut -d = -f 2)
21 grep sizeof_param $file | grep '[0-9] [0-9]$' | cut -d ' ' -f 5- | \
23 grep sizeof_param $file | grep '[0-9] -1$' | cut -d ' ' -f 5- | \
H A Dshow_unreachable.sh48 grep 'ignoring unreachable' $file | cut -d ' ' -f1 | while read loc; do
49 code_file=$(echo $loc | cut -d ':' -f 1)
50 line=$(echo $loc | cut -d ':' -f 2)
H A Dgen_no_return_funcs.sh4 project=$(echo "$2" | cut -d = -f 2)
23 grep no_return_funcs $file | cut -d ' ' -f 2 | cut -d '(' -f 1 > $tmp
/illumos-gate/usr/src/cmd/allocate/
H A Ddisk_clean.sh342 cut -d '>' -f2`
344 cut -d ' ' -f1`
474 FILES=`echo $MAP | cut -f4 -d:` # e.g., /dev/dsk/c0t6d0s0 /dev/dsk/c0t6d0s1 ...
475 DEVFILE=`echo $FILES | cut -f1 -d" "` # e.g., "/dev/dsk/c0t6d0s0"
479 VOLUME_DEVICE=`echo $FILES | cut -f2 -d" "` # e.g., "/dev/dsk/c0t6d0s1"
480 MEDIATYPE=`echo $MAP | cut -f3 -d: | cut -f2 -d" "`
H A Dst_clean.sh98 DEVICE=`echo $MAP | cut -f1 -d:`
99 TYPE=`echo $MAP | cut -f2 -d:`
100 FILES=`echo $MAP | cut -f3 -d:`
101 DEVFILE=`echo $FILES | cut -f1 -d" "`
H A Daudio_clean.sh140 DEVICE=`echo $MAP | cut -f1 -d:`
141 TYPE=`echo $MAP | cut -f2 -d:`
142 FILES=`echo $MAP | cut -f3 -d:`
H A Dfd_clean.sh103 DEVICE=`echo $MAP | cut -f1 -d:`
104 TYPE=`echo $MAP | cut -f2 -d:`
105 FILES=`echo $MAP | cut -f3 -d:`
106 DEVFILE=`echo $FILES | cut -f1 -d" "`
H A Dsr_clean.sh100 DEVICE=`echo $MAP | cut -f1 -d:`
101 TYPE=`echo $MAP | cut -f2 -d:`
102 FILES=`echo $MAP | cut -f3 -d:`
103 DEVFILE=`echo $FILES | cut -f1 -d" "`
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_trim/
H A Dzpool_trim_partial.ksh75 new_size=$(du "$LARGEFILE" | cut -f1)
88 new_size=$(du "$LARGEFILE" | cut -f1)
103 new_size=$(du "$LARGEFILE" | cut -f1)
117 new_size=$(du "$LARGEFILE" | cut -f1)
H A Dzpool_trim_verify_trimmed.ksh62 original_size=$(du "$LARGEFILE" | cut -f1)
71 new_size=$(du "$LARGEFILE" | cut -f1)
81 new_size=$(du "$LARGEFILE" | cut -f1)
/illumos-gate/usr/src/cmd/boot/scripts/
H A Dupdate_grub.ksh60 cut -d= -f2`
80 cut -d= -f2`
83 cut -d"'" -f2 | sed 's+/dsk/+/rdsk/+'
89 rootpool=`df -k ${ALT_ROOT:-/} | tail +2 | cut -d/ -f1`
/illumos-gate/usr/src/cmd/dtrace/test/tst/
H A DMakefile.com38 CSRCS :sh= find . -name SCCS -prune -o -name *.c -print | cut -b3-
39 SSRCS :sh= find . -name SCCS -prune -o -name *.S -print | cut -b3-
40 DSRCS :sh= find . -name SCCS -prune -o -name *.d -print | cut -b3-
48 | cut -b3-
/illumos-gate/usr/src/cmd/tsol/demo/
H A Dclonebylabel.sh80 zonename=`/bin/grep $label: $ZONECFG | cut -d ":" -f1`
82 state=`zoneadm -z $zonename list -p 2>/dev/null | cut -d ":" -f3`
95 nz=`/bin/grep "^$zonename:" $ZONECFG | cut -d ":" -f1`
/illumos-gate/usr/src/test/zfs-tests/tests/longevity/
H A Dslop_space_test.ksh91 grep $NESTEDPOOL | awk '{print $2}' | cut -d"M" -f1 | \
92 cut -d"." -f1)
96 grep $NESTEDPOOL | awk '{print $2}' | cut -d"M" -f1 | \
97 cut -d"." -f1)

12345