Home
last modified time | relevance | path

Searched refs:grep (Results 1 – 25 of 303) sorted by relevance

12345678910>>...13

/titanic_50/usr/src/cmd/ypcmd/yp2lscripts/
H A Dypmap2src.sh241 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
242 grep -v "YP_DOMAIN_NAME $DOMAIN" |
243 grep -v YP_MASTER_NAME > $TMPDIR/${MAP}.grep
246 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
283 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
284 grep -v "YP_DOMAIN_NAME $DOMAIN" |
285 grep -v YP_MASTER_NAME > $TMPDIR/${MAP}.grep
288 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
302 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
303 grep -v "YP_DOMAIN_NAME $DOMAIN" |
[all …]
/titanic_50/usr/src/cmd/boot/scripts/
H A Dupdate_grub.ksh49 bootdev=`grep -v "^#" "$ALT_ROOT"/etc/vfstab | grep pcfs \
50 | grep "[ ]/stubboot[ ]" | nawk '{print $1}'`
59 dev=`grep '^PHYS_SLICE=' "$ALT_ROOT"/etc/lu/GRUB_slice |
79 dev=`grep '^PHYS_SLICE' "$ALT_ROOT"/etc/lu/GRUB_slice |
82 fstyp -a "$dev" | grep 'path: ' | grep -v phys_path: |
94 dev=`grep -v "^#" "$ALT_ROOT"/etc/vfstab | \
95 grep "[ ]/[ ]" | nawk '{print $2}'`
121 bootdev=`grep -v "^#" "$ALT_ROOT"/etc/vfstab | grep pcfs | \
122 grep "[ ]/stubboot[ ]" | nawk '{print $1}'`
H A Dextract_boot_filelist.ksh56 ls -d platform/*/kernel | grep -v $STRIP
117 grep ^platform$ $altroot/$list > /dev/null
121 cat $altroot/$list | grep -v ^platform$
123 cat $altroot/$list | grep -v ^platform$ | \
124 grep -v $STRIP
130 cat $altroot/$list | grep -v $STRIP
/titanic_50/usr/src/cmd/avs/sdbc/etc/
H A Dscm.sh63 if [ `grep -c $pid $DSCFG_DEPEND_NOCHK` -gt 0 ]
68 elif [ `ps -ef | grep preremove | grep -c SUNWscmu` -gt 0 ]
76 count=`$SVCS -o STATE -D $1 2>>/dev/null | grep "^online" | wc -l`
84 $SVCS -D $1 2>>/dev/null | grep "^online"
92 $SVCS -D $1 2>>/dev/null | grep "^online"
131 ps -e | grep -w nskernd > /dev/null 2>&1
139 mid=`/usr/sbin/modinfo | grep -w $m | awk '{print $1}' -`
151 pid=`ps -e | grep -w nskernd | sed -e 's/^ *//' -e 's/ .*//'`
167 pid=`ps -e | grep -w dscfgloc | sed -e 's/^ *//' -e 's/ .*//'`
188 ps -e | grep -w nskernd > /dev/null 2>&1
[all …]
/titanic_50/usr/src/cmd/tsol/misc/
H A Dtxzonemgr.sh147 hexlabel=$(grep "^$zonename:" $TNZONECFG|cut -d : -f2);
169 remotes=$(grep -v "^#" $TNRHDB|grep $template)
204 macstate=$(zonecfg -z $zonename info|grep win_mac_write)
243 for zbe in $(zfs list -rHo name $ZDSET/$zonename|grep ROOT/zbe) ; do
258 tnzone=$(grep "^${template}:" $TNRHTP 2>/dev/null)
269 grep "^$tnzline" $TNZONECFG 1>/dev/null 2>&1
297 x=$(grep -i :{$hexlabel}: $TNZONECFG)
339 echo $(zfs get 2>&1 | grep encryption | sed -e s/^.*YES// -e s/\|//g)
363 cversion=$(zpool upgrade -v | grep Crypto | awk '{ print $1 }')
422 grep "^NS_LDAP_SERVERS" | cut -d " " -f2)
[all …]
/titanic_50/usr/src/cmd/avs/rdc/etc/
H A Drdc.sh60 if [ `grep -c $pid $DSCFG_DEPEND_NOCHK` -gt 0 ]
65 elif [ `ps -ef | grep preremove | grep -c SUNWrdcu` -gt 0 ]
73 count=`$SVCS -o STATE -D $1 2>>/dev/null | grep "^online" | wc -l`
81 $SVCS -D $1 2>>/dev/null | grep "^online"
89 $SVCS -D $1 2>>/dev/null | grep "^online"
106 /usr/bin/grep -w $1 |
/titanic_50/usr/src/cmd/avs/sv/etc/
H A Dsv.sh52 if [ `grep -c $pid $DSCFG_DEPEND_NOCHK` -gt 0 ]
57 elif [ `ps -ef | grep preremove | grep -c SUNWspsvu` -gt 0 ]
66 count=`$SVCS -o STATE -D $1 2>>/dev/null | grep "^online" | wc -l`
74 $SVCS -D $1 2>>/dev/null | grep "^online"
82 $SVCS -D $1 2>>/dev/null | grep "^online"
/titanic_50/usr/src/cmd/power/
H A Dsysidpm.sh99 grep -s "$SHUTDOWN_PATTERN" $PWR_CONF > /dev/null
101 set - `grep "$SHUTDOWN_PATTERN" $PWR_CONF`
118 grep -s "$SHUTDOWN_PATTERN" $PWR_CONF > /dev/null
120 set - `grep "$SHUTDOWN_PATTERN" $PWR_CONF`
151 grep -v "# Auto-Shutdown[ ]" $PWR_CONF | grep -v "$SHUTDOWN_PATTERN" > $TMP
247 grep -v statefile $PWR_CONF > $TMP
299 prtconf -vp | grep -s -w ${ESTAR_PROP} > /dev/null
/titanic_50/usr/src/cmd/avs/dsw/etc/
H A Dii.sh48 if [ `grep -c $pid $DSCFG_DEPEND_NOCHK` -gt 0 ]
53 elif [ `ps -ef | grep preremove | grep -c SUNWiiu` -gt 0 ]
61 count=`$SVCS -o STATE -D $1 2>>/dev/null | grep "^online" | wc -l`
69 $SVCS -D $1 2>>/dev/null | grep "^online"
77 $SVCS -D $1 2>>/dev/null | grep "^online"
/titanic_50/usr/src/cmd/print/scripts/
H A Dgetppdfile82 /bin/grep "${make}" /var/lp/ppd/ppdcache |
83 /bin/grep "${model}:" |
84 /bin/grep "${ppd}:" |
85 /bin/grep "$(rep_path ${extppdlabel})/${extppdlabel%\(*}" |
H A Dconv_lp85 REMOTE=`grep Remote: ${PRINTER}/configuration 2>/dev/null | sed -e "s/^Remote: //"`
86 DEVICE=`grep Device: ${PRINTER}/configuration 2>/dev/null | sed -e "s/^Device: //"`
90 elif [ `echo ${REMOTE} | grep -c \!` -ne 0 ] ; then
/titanic_50/usr/src/grub/grub-0.97/util/
H A Dgrub-install.in133 tmp_drive=`grep -v '^#' $device_map | grep "$tmp_disk *$" \
149 if echo $tmp_part | grep "^s" >/dev/null; then
155 if echo $tmp_part | grep "[a-g]$" >/dev/null; then
163 if echo $tmp_part | grep "^s" >/dev/null; then
169 if echo $tmp_part | grep "[a-h]$" >/dev/null; then
177 if echo $tmp_part | grep "^[abe-p]$" >/dev/null; then
342 if grep "Error [0-9]*: " $log_file >/dev/null; then
433 if grep "Error [0-9]*: " $log_file >/dev/null; then
460 if grep "Error [0-9]*: " $log_file >/dev/null || test $debug = yes; then
/titanic_50/usr/src/cmd/allocate/
H A Dst_clean.sh115 if mt -f $DEVFILE status 2>&1 | grep "no tape loaded" >/dev/null ; then
127 if echo $x | grep "no tape loaded" >/dev/null ; then
156 if mt -f $DEVFILE status 2>&1 | grep "no tape loaded" > /dev/null ; then
162 if mt -f $DEVFILE status 2>&1 | grep "no tape loaded" > /dev/null ; then
179 if echo $x | grep "no tape loaded" > /dev/null ; then
/titanic_50/usr/src/cmd/tsol/labeld/
H A Dsvc-labeld186 grep \
197 grep "^[# ]*$e1[ ][ ]*$e2[ ]" \
233 grep '^[a-z].*pam_tsol_account' $PAM_DEST > /dev/null 2>&1
240 grep -v pam_tsol_account $PAM_DEST > $TMPFILE
255 grep -v "sys_labeling=" ${ROOT_PATH}/etc/system > /tmp/etc.system.$$
258 grep "set sys_labeling=1" ${ROOT_PATH}/etc/system > /dev/null 2>&1
322 inst=`echo "$RC" | grep -i urn|awk -F= '{print $2}'`
387 grep "^set sys_labeling=1" ${ROOT_PATH}/etc/system > /dev/null 2>&1
411 grep "^set sys_labeling=1" ${ROOT_PATH}/etc/system > /dev/null 2>&1
449 grep -v "sys_labeling" ${ROOT_PATH}/etc/system > /tmp/etc.system.$$
[all …]
/titanic_50/usr/src/cmd/svc/milestone/
H A Dnet-routing-setup56 nawk '/^ipv[46]-routing [.]*/ { print $2 }' | /usr/bin/grep "current=enabled"`
87 defrouters=`/usr/bin/grep -v \^\# /etc/defaultrouter | \
101 /usr/bin/grep '^default'`
149 /usr/bin/grep default >/dev/null 2>&1 && defrouters=yes
193 cat /etc/svc/volatile/etc/inet/static_routes | grep -v '^#' \
/titanic_50/usr/src/tools/scripts/
H A Delfcmp.sh77 dump -h "$1" | grep '\[[0-9]' | awk '{print $7}'
81 dump -hv "$1" | grep '\[[0-9]' | awk '$3 ~ /A/ {print $4, $5, $6, $7}'
85 /usr/xpg4/bin/grep -v -e \\$SHSTRTAB -e \\.SUNW_signature
95 SHSTRTAB=`dump -h "$1" | grep "^\\[$SHSTRNDX\\]" | \
/titanic_50/usr/src/cmd/dumpadm/
H A Dsvc-dumpadm67 if /usr/sbin/dumpadm 2>/dev/null | grep "Dump device:" | \
68 grep '(dedicated)' > /dev/null 2>&1; then
81 set -- `/usr/sbin/dumpadm 2>/dev/null | /usr/bin/grep 'device:'`
131 if /usr/sbin/swap -l 2>/dev/null | grep "^${DUMPADM_DEVICE} " \
/titanic_50/usr/src/lib/libshell/common/tests/
H A Dgrep.sh34 function grep function
90 cat > $tmp/grep <<\!
101 if (( $(grep -c 'foo*bar' $tmp/grep ) != 6))
H A Dattributes.sh108 if [[ $(export | grep '^PATH=') != PATH=* ]]
151 [[ $(set | grep LAST) == LAST=02 ]] || err_exit "LAST not correct in set list"
155 if [[ $(export | grep ^foo=) != 'foo=bar' ]]
162 if [[ $(export | grep ^foo=) != 'foo=bar' ]]
165 if [[ $(typeset | grep PS2) == PS2 ]]
224 [[ $(export | grep foo) == 'foo=hello' ]] || err_exit 'export not working in functions'
225 [[ $(export | grep bar) ]] && err_exit 'typeset -x not local'
/titanic_50/usr/src/cmd/vt/
H A Dvtxlock.sh57 | grep -w ${GNOME_ATOM} >/dev/null; then
64 | grep -w ${XSCREENSAVER_LOCKED} >/dev/null && exit 0
75 | grep -w ${CDE_ATOM} >/dev/null; then
/titanic_50/usr/src/cmd/grep_xpg4/
H A DMakefile27 PROG= grep
28 XPG4PROG= grep
43 POFILES= grep.po
/titanic_50/usr/src/cmd/sendmail/cf/sh/
H A Dcheck-permissions.sh81 afl1=`grep "^OA" $config | sed 's/^OA//' | sed 's/,/ /g' | sed 's/.*://'`
82 afl2=`grep "^O AliasFile=" $config | sed 's/^O AliasFile=//' | \
94 grep :include: | \
/titanic_50/usr/src/grub/grub-0.97/
H A Dconfig.guess169 | grep __ELF__ >/dev/null
534 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
549 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
557 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
653 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null
861 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
880 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
899 objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
905 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
981 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
[all …]
/titanic_50/usr/src/cmd/ssh/etc/
H A Dsshd36 grep -i "^[ ]*HostKey[ ]*=\{0,1\}[ ]*$keypath" \
37 $SSHDIR/sshd_config | grep "$keypath" > /dev/null 2>&1
60 tports=`grep "^Port" /etc/ssh/sshd_config 2>/dev/null | \
/titanic_50/usr/src/cmd/grep/
H A DMakefile29 PROG= grep
35 XGETFLAGS += -a -x grep.xcl

12345678910>>...13