/illumos-gate/usr/src/cmd/bnu/ |
H A D | Install | 49 DIR=$1 53 -f*) DIR=`echo $1|sed "s/..//"` 92 if [ -z "$FILE" -o -z "$DIR" ]; then 98 echo mv $DIR/$FILE $DIR/OLD$FILE 99 mv $DIR/$FILE $DIR/OLD$FILE 102 rm -f $DIR/$FILE 103 echo cp $FILE $DIR/$FILE 104 cp $FILE $DIR/$FILE 107 echo chgrp $GROUP $DIR/$FILE 108 chgrp $GROUP $DIR/$FILE [all …]
|
H A D | Cvt | 96 DIR= 97 DIR=`uuname | grep "^$S"` 98 if [ -z "$DIR" ] 101 DIR=$S 103 DIR=`echo $DIR | sed "s/ .*//"` 104 if [ ! -d $SPOOL/$DIR ] 106 $ECHO mkdir $SPOOL/$DIR 107 $ECHO chmod 755 $SPOOL/$DIR 108 $ECHO chown uucp $SPOOL/$DIR 114 then $ECHO mv $SPOOL/D./$D $SPOOL/$DIR/$D [all …]
|
/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/ |
H A D | vim_smdb | 12 DIR="$HOME/.smdb_tmp" 13 mkdir -p $DIR 16 if [ ! -e $DIR/$i ] ; then 27 rm -f $DIR/$next 28 rm -f $DIR/.${i}.swp 39 echo "$func" >> $DIR/history 40 tail -n 7 $DIR/history | tac | perl -ne 's/\n/ /; print' | perl -ne 's/ $//; print' > $DIR/$i 41 echo "" >> $DIR/$i 42 echo "==========================" >> $DIR/$i 43 smdb $* >> $DIR/$i [all …]
|
/illumos-gate/usr/src/cmd/ypcmd/net_files/ |
H A D | Makefile | 39 DIR =/etc macro 112 group.time: $(DIR)/group 113 …@(awk 'BEGIN { FS=":"; OFS="\t"; } /^[a-zA-Z0-9_]/ { print $$1, $$0 }' $(DIR)/group $(CHKPIPE))| $… 114 …@(awk 'BEGIN { FS=":"; OFS="\t"; } /^[a-zA-Z0-9_]/ { printf("%-10d ", $$3); print $$0 }' $(DIR)/gr… 121 project.time: $(DIR)/project 122 …@(awk 'BEGIN { FS=":"; OFS="\t"; } /^[a-zA-Z0-9_]/ { print $$1, $$0 }' $(DIR)/project $(CHKPIPE))|… 123 …@(awk 'BEGIN { FS=":"; OFS="\t"; } /^[a-zA-Z0-9_]/ { printf("%-10d ", $$2); print $$0 }' $(DIR)/pr… 141 hosts.time: $(DIR)/hosts 142 @($(MULTI) $(B) -l $(DIR)/hosts); 143 @($(STDHOSTS) -w $(DIR)/hosts $(CHKPIPE))| \ [all …]
|
/illumos-gate/usr/src/head/ |
H A D | dirent.h | 58 } DIR; /* stream data from opendir() */ typedef 68 } DIR; /* stream data from opendir() */ 98 extern DIR *opendir(const char *); 101 extern DIR *fdopendir(int); 102 extern int dirfd(DIR *); 112 extern struct dirent *readdir(DIR *); 115 extern long telldir(DIR *); 116 extern void seekdir(DIR *, long); 118 extern void rewinddir(DIR *); 119 extern int closedir(DIR *); [all …]
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | webrev.sh | 1240 print "$HTML<head>$STDHEAD" > $WDIR/$DIR/$TNAME.lhs.html 1242 cat >> $WDIR/$DIR/$TNAME.lhs.html <<-EOF 1250 cp $WDIR/$DIR/$TNAME.lhs.html $WDIR/$DIR/$TNAME.rhs.html 1252 insert_anchors $lhsfile >> $WDIR/$DIR/$TNAME.lhs.html 1253 insert_anchors $rhsfile >> $WDIR/$DIR/$TNAME.rhs.html 1257 print $close >> $WDIR/$DIR/$TNAME.lhs.html 1258 print $close >> $WDIR/$DIR/$TNAME.rhs.html 1260 print "$FRAMEHTML<head>$STDHEAD" > $WDIR/$DIR/$TNAME.frames.html 1262 "$TPATH/$TNAME</title> </head>" >> $WDIR/$DIR/$TNAME.frames.html 1263 cat >> $WDIR/$DIR/$TNAME.frames.html <<-EOF [all …]
|
H A D | which_scm.sh | 92 DIR=$ORIG_CWD 93 CWD_TYPE=$(primary_type "$DIR") 95 while [[ "$DIR" != / ]]; do 96 set -- $(primary_type "$DIR") 108 PREVDIR="$DIR" 109 DIR=$(dirname "$DIR") 129 DIR=$ORIG_CWD 133 echo "$SCM_TYPE $DIR"
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pid/ |
H A D | tst.utf8probemod.ksh | 17 DIR=/var/tmp/dtest.$$ 18 mkdir $DIR 19 cd $DIR 44 print -u 2 "failed to compile libfoo in $DIR" 50 print -u 2 "failed to compile foo in $DIR" 58 print -u 2 "dtrace failed in $DIR" 63 rm -rf $DIR
|
H A D | tst.utf8probefunc.ksh | 17 DIR=/var/tmp/dtest.$$ 18 mkdir $DIR 19 cd $DIR 38 print -u 2 "failed to compile foo in $DIR" 50 print -u 2 "dtrace failed in $DIR" 55 rm -rf $DIR
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | dir.h | 124 } DIR; typedef 157 extern DIR *opendir(const char *); 158 extern struct direct *readdir(DIR *); 159 extern long telldir(DIR *); 160 extern void seekdir(DIR *, long); 165 extern void rewinddir(DIR *); 166 extern int closedir(DIR *); 168 extern DIR *opendir(); 181 extern struct direct64 *readdir64(DIR *);
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/dir/ |
H A D | opendir.c | 46 static DIR* freedirp; /* always keep one dirp */ 48 DIR* 51 register DIR* dirp = 0; 63 newof(0, DIR, 1, DIRBLKSIZ) 65 newof(0, DIR, 1, 0) 81 dirp->dd_buf = (void*)((char*)dirp + sizeof(DIR)); 87 closedir(register DIR* dirp)
|
H A D | dirstd.h | 38 } DIR; typedef 55 extern DIR* opendir(const char*); 56 extern void closedir(DIR*); 57 extern struct dirent* readdir(DIR*); 58 extern void seekdir(DIR*, long); 59 extern long telldir(DIR*);
|
H A D | dirlib.h | 79 __STDPP__directive pragma pp:hide DIR closedir opendir readdir seekdir telldir 81 #undef DIR 82 #define DIR ______DIR 120 __STDPP__directive pragma pp:nohide DIR closedir opendir readdir seekdir telldir 122 #undef DIR 136 #define DIR DIRDIR 144 #undef DIR
|
/illumos-gate/usr/src/cmd/fs.d/nfs/exportfs/ |
H A D | exportfs.sh | 84 if [ "$DIR" -o "$iflg" -o "$oflg" ] ; then bad ; fi 101 1 ) DIR=$1 ;; 107 if [ $vflg ] ; then echo unshare -F nfs $DIR ; fi 108 /usr/sbin/unshare -F nfs $DIR 114 if [ $vflg ] ; then echo share -F nfs -o $OPTS $DIR ; fi 115 /usr/sbin/share -F nfs -o $OPTS $DIR 117 CMD=`grep $DIR'[ ]*$' $DFSTAB` 119 echo "exportfs: no entry for $DIR in $DFSTAB" >&2
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | dirent | 41 } DIR; 58 extern DIR* opendir(const char*); 59 extern void closedir(DIR*); 60 extern struct dirent* readdir(DIR*); 61 extern void seekdir(DIR*, long); 62 extern long telldir(DIR*); 216 extern DIR* opendir(const char*); 217 extern void closedir(DIR*); 218 extern struct dirent* readdir(DIR*); 219 extern void seekdir(DIR*, long); [all …]
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | dirent.h | 44 typedef struct DIR DIR; typedef 46 extern DIR *opendir(const char *); 47 extern struct dirent *readdir(DIR *); 48 extern int closedir(DIR *);
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/snapshot/ |
H A D | snapshot_017_pos.ksh | 70 DIR=$PWD 71 verify_file $DIR/file1 72 verify_file $DIR/file2 73 verify_file $DIR/dir1/file3 74 verify_file $DIR/dir1/file4 75 verify_file $DIR/dir1/dir2/file5 76 verify_file $DIR/dir1/dir2/file6 78 verify_no_file $DIR/file99
|
/illumos-gate/usr/src/test/libc-tests/cfg/symbols/ |
H A D | dirent_h.cfg | 30 type | DIR * | dirent.h | XPG3+ POSIX+ 42 DIR * |\ 48 DIR * |\ 54 DIR *; struct dirent *; struct dirent ** |\ 59 DIR * | dirent.h | POSIX+ XPG3+ 63 DIR *; long |\ 68 DIR * |\
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/usdt/ |
H A D | tst.reeval.ksh | 33 DIR=/var/tmp/dtest.$$ 35 mkdir $DIR 36 cd $DIR 75 system("$DIR/test"); 95 /usr/bin/rm -rf $DIR
|
H A D | tst.include.ksh | 29 DIR=/var/tmp/dtest.$$ 31 mkdir $DIR 32 cd $DIR 58 /usr/bin/rm -rf $DIR
|
H A D | tst.deadstub.ksh | 27 DIR=/var/tmp/dtest.$$ 29 mkdir $DIR 30 cd $DIR 134 echo $DIR 159 /usr/bin/rm -rf $DIR
|
H A D | tst.noprobes.ksh | 32 DIR=/var/tmp/dtest.$$ 34 mkdir $DIR 35 cd $DIR 58 /usr/bin/rm -rf $DIR
|
H A D | tst.entryreturn.ksh | 33 DIR=/var/tmp/dtest.$$ 35 mkdir $DIR 36 cd $DIR 93 system("$DIR/test"); 115 /usr/bin/rm -rf $DIR
|
/illumos-gate/usr/src/cmd/print/scripts/ |
H A D | Makefile.yp | 34 DIR=/etc 36 $(DOM)/printers.conf.time: $(DIR)/printers.conf 37 -@if [ -f $(DIR)/printers.conf ]; then \ 39 -e '/\\$$/s/\\$$/ /' $(DIR)/printers.conf $(CHKPIPE))\
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/printa/ |
H A D | tst.largeusersym.ksh | 33 DIR=/var/tmp/dtest.$$ 35 mkdir $DIR 36 cd $DIR 81 /usr/bin/rm -rf $DIR
|