/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | cut.c | 138 Cut_t* cut; in cutinit() local 140 if (!(cut = (Cut_t*)stakalloc(sizeof(Cut_t) + strlen(cp) * sizeof(int)))) in cutinit() 142 if (cut->mb = mbwide()) in cutinit() 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() 149 cut->wdelim = *wdelim; in cutinit() 151 cut->space[wdelim->chr] = SP_WORD; in cutinit() 152 cut->ldelim = *ldelim; in cutinit() 153 cut->eob = (ldelim->len == 1) ? ldelim->chr : 0; in cutinit() [all …]
|
/illumos-gate/usr/src/cmd/ypcmd/yp2lscripts/ |
H A D | ypmap2src.sh | 246 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut 249 sort -n -t: -k3,3 $TMPDIR/${MAP}.cut > $TMPDIR/${MAP}.sort 255 UID=`head -1 $TMPDIR/${MAP}.sort | cut -f1 -d:` 256 PSWD=`head -1 $TMPDIR/${MAP}.sort | cut -f2 -d:` 260 cut -f 1,2 -d: $TMPDIR/${MAP}.sort | 288 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut 291 sort -n -t: -k3,3 $TMPDIR/${MAP}.cut > $OUTDIR/$SRCFILE 307 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut 310 sort -n -t. -k1,1 -k2,2 -k3,3 -k4,4 $TMPDIR/${MAP}.cut > $OUTDIR/$SRCFILE 326 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut [all …]
|
/illumos-gate/usr/src/cmd/tsol/misc/ |
H A D | txzonemgr.sh | 147 hexlabel=$(grep "^$zonename:" $TNZONECFG|cut -d : -f2); 189 z=$(echo "$p"|cut -d : -f2) 190 s=$(echo "$p"|cut -d : -f3) 299 z=$(print $x|cut -d : -f1) 416 zonepath=$(zoneadm -z $zonename list -p|cut -d : -f4) 422 grep "^NS_LDAP_SERVERS" | cut -d " " -f2) 427 grep "^NS_LDAP_PROFILE" | cut -d " " -f2) 429 grep "^NS_LDAP_BINDPASSWD" | cut -d " " -f2) 431 grep "^NS_LDAP_BINDDN" | cut -d " " -f 2) 443 locale=$(locale|grep LANG | cut -d "=" -f2) [all …]
|
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/ |
H A D | filter_kernel_deref_check.sh | 14 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 D | summarize_errs.sh | 59 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 D | show_ifs.sh | 16 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 D | show_errs.sh | 24 code_file=$(echo "$line" | cut -d ':' -f 1) 25 lineno=$(echo "$line" | cut -d ' ' -f 1 | cut -d ':' -f 2)
|
H A D | gen_err_ptr_list.sh | 4 project=$(echo "$2" | cut -d = -f 2) 22 grep "returns_err_ptr$" $file | cut -s -d ' ' -f 2 | cut -d '(' -f 1 | \
|
H A D | gen_returns_held.sh | 4 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 D | gen_allocation_list.sh | 4 project=$(echo "$2" | cut -d = -f 2) 22 grep "allocation func$" $file | cut -s -d ' ' -f 2 | cut -d '(' -f 1 | \
|
H A D | gen_unwind_functions.sh | 4 project=$(echo "$2" | cut -d = -f 2) 23 grep "is unwind function" $file | cut -d ' ' -f 2 | cut -d '(' -f 1 >> $tmp
|
H A D | gen_sizeof_param.sh | 4 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 D | show_unreachable.sh | 48 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 D | gen_no_return_funcs.sh | 4 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 D | disk_clean.sh | 342 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 D | st_clean.sh | 98 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 D | audio_clean.sh | 140 DEVICE=`echo $MAP | cut -f1 -d:` 141 TYPE=`echo $MAP | cut -f2 -d:` 142 FILES=`echo $MAP | cut -f3 -d:`
|
H A D | fd_clean.sh | 103 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 D | sr_clean.sh | 100 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 D | zpool_trim_partial.ksh | 75 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 D | zpool_trim_verify_trimmed.ksh | 62 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 D | update_grub.ksh | 60 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 D | Makefile.com | 38 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 D | clonebylabel.sh | 80 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 D | slop_space_test.ksh | 92 grep $NESTEDPOOL | awk '{print $2}' | cut -d"M" -f1 | \ 93 cut -d"." -f1) 97 grep $NESTEDPOOL | awk '{print $2}' | cut -d"M" -f1 | \ 98 cut -d"." -f1)
|