/ast/src/cmd/pax/ |
H A D | pax-vdb.c | 34 Sfio_t* directory; /* directory trailer stream */ member in struct:Vdb_s 113 if (vdb->directory) 114 sfclose(vdb->directory); 181 if (!(vdb = newof(0, Vdb_t, 1, 0)) || !(vdb->directory = sfstropen())) 187 sfprintf(vdb->directory, "%c%s%c%s\n", VDB_DELIMITER, VDB_MAGIC, VDB_DELIMITER, state.volume); 188 paxwrite(pax, ap, sfstrbase(vdb->directory), sfstrtell(vdb->directory)); 189 sfstrseek(vdb->directory, 0, SEEK_SET); 190 sfprintf(vdb->directory, " [all...] |
H A D | tar.sh | 51 directory names\) that specify which files are to be archived or 52 extracted. In all cases, appearance of a directory name refers to the 53 files and \(recursively\) subdirectories of that directory.]
|
H A D | misc.c | 285 error(ERROR_SYSTEM|2, "%s: cannot remove directory", f->name); 966 if (!p->matched || p->directory) 968 if (state.descend && dirprefix(p->pattern, s, p->directory)) 971 p->directory = p->matched = 1; 974 else if (p->directory) 975 p->directory = 0; 996 * return 1 if p is a directory prefix of s
|
H A D | testpax.sh | 101 else : directory link order matters!
|
H A D | pax.h | 134 #define SLASHDIR PAX_SLASHDIR /* trailing slash => directory */ 415 unsigned char directory; member in struct:Pattern_s 595 int delimiter; /* directory delimiter */ \
|
/ast/src/lib/libast/path/ |
H A D | pathfind.c | 34 #define directory(p,s) (stat((p),(s))>=0&&S_ISDIR((s)->st_mode)) macro 37 typedef struct Dir_s /* directory list element */ 40 char dir[1]; /* directory path */ 43 static struct /* directory list state */ 45 Dir_t* head; /* directory list head */ 46 Dir_t* tail; /* directory list tail */ 59 if (dir && *dir && !streq(dir, ".") && directory(dir, &st)) 115 * check the directory of the including file
|
/ast/src/cmd/tw/ |
H A D | find.c | 53 "[+DESCRIPTION?\bfind\b recursively descends the directory hierarchy for each" 67 " status is 1 if errors were detected in the directory traversal and" 265 "Turns off \b-silent\b; enables inaccessible file and directory" 287 "Process directory contents before the directory itself.", 289 "A directory with size 0 or with no entries other than . or .., or a" 295 " the current filename. The command is executed in the directory" 352 "Descend at most \alevel\a directory levels below the command" 370 "File base name (no directory components) matches \apattern\a.", 394 "File path name (with directory component [all...] |
/ast/src/lib/libcmd/ |
H A D | rm.c | 45 "[d:directory?\bremove\b(3) (or \bunlink\b(2)) directories rather than" 48 " constitution, to use this option. Even though the directory must" 59 " enabled) for each directory before attempting to remove directory" 87 int directory; /* remove(dir) not rmdir(dir) */ member in struct:State_s 136 error(2, "%s: cannot %s directory", ent->fts_path, (ent->fts_info & FTS_NR) ? "read" : "search"); 157 error(2, "%s: directory", ent->fts_path); 186 if ((v = astquery(-1, "remove directory %s? ", ent->fts_path)) < 0 || sh_checksig(state->context)) 200 error(1, "%s: hard link to directory", ent->fts_path); 207 if (isempty(ent) || state->directory) [all...] |
H A D | cp.c | 36 "[+DESCRIPTION?If the last argument names an existing directory, \bcp\b " 37 "copies each \afile\a into a file with the same name in that directory. " 39 "the second. It is an error if the last argument is not a directory and " 54 "appending to the target directory a slash and the specified source file " 55 "name. The last argument must be an existing directory. Missing " 69 "[+DESCRIPTION?If the last argument names an existing directory, \bln\b " 70 "links each \afile\a into a file with the same name in that directory. " 72 "second. It is an error if the last argument is not a directory and more " 78 "[+DESCRIPTION?If the last argument names an existing directory, \bmv\b " 79 "renames each \afile\a into a file with the same name in that directory 161 int directory; /* destination is directory */ member in struct:State_s [all...] |
/ast/src/cmd/ksh93/ |
H A D | Makefile | 27 SHOPT_CMDLIB_DIR == /* SHOPT_CMDLIB_HDR directory prefix (default "/opt/ast/bin") */
|
/ast/src/cmd/INIT/ |
H A D | ditto.sh | 20 : replicate directory hierarchies 30 [+NAME?ditto - replicate directory hierarchies] 31 [+DESCRIPTION?\bditto\b replicates the \asource\a directory hierarchy 32 to the \adestination\a directory hierarchy. Both \asource\a and 37 omitted, and the user home directory is used if \adirectory\a is
|
H A D | CONVERT.mk | 5 * directory name $(MAKEFILE:D). The hard work is in the makefile using 8 * named lib/package/PACKAGE.cvt in an ast package $PACKAGEROOT directory, 9 * and the conversion is run from the $PACKAGEROOT directory, e.g.: 31 * files in the original source directory are copied 33 * the default original source directory is ./original 41 * directory 47 * files in the from directory are copied to the to directory 50 * from original directory subdirectory 51 * . names the original directory [all...] |
H A D | regress.sh | 33 in the temporary directory \aunit\a\b.tmp\b.] 44 and do not remove the temporary directory \aunit\a\b.tmp\b.] 67 [+CD \b\adirectory\a?Create and change to working directory for 70 temporary directory \aunit\a\b.tmp\b, list the tests totals via 143 [+KEEP \b\apattern\a ...?The temporary directory is cleared for 182 input file sans directory and suffix. If \adir\a matches \b/*\b 183 then it is the directory name; if \adir\a is non-null then the 376 mkdir -p "$TEST_local" && ln -s "$TEST_local" "$TWD" || FATAL "$TWD": cannot create directory 378 else mkdir "$TWD" || FATAL "$TWD": cannot create directory 678 then mkdir -p "$@" && cd "$@" || FATAL cannot initialize working directory " [all...] |
H A D | package.mk | 117 This is a package root directory $PACKAGEROOT. Source and binary 118 packages in this directory tree are controlled by the command 122 Binary files may be in this directory or in the install root directory 1168 the source build hierarchy, not the current directory. 1482 echo "To install this $(type) package read the tarball into a directory" 1486 echo "To use the package export the bin directory in PATH. The commands and"
|
H A D | mamake.c | 71 " found in each leaf directory is scanned for leaf directory" 75 " \adirectory\a.]:[directory]" 221 char* directory; /* work in this directory */ member in struct:__anon22 224 char* pwd; /* current directory */ 268 fprintf(stderr, "Usage: %s [-iknFKNV] [-f mamfile] [-r pattern] [-C directory] [-D level] [target ...] [name=value ...]\n", state.id); 281 if (state.directory) 282 fprintf(sp, "%s [%s]: ", state.id, state.directory); 2135 state.directory [all...] |
H A D | package.sh | 105 package files are in the \b$PACKAGEROOT\b directory tree. 107 \blib/package\b directory. Binary package files are in the 110 require the current directory to be under \b$PACKAGEROOT\b. See 114 directory. The \buse\b action starts a \bsh\b(1) with the environment 185 root directory and optionally the remote protocol (rsh 186 or ssh) if the directory is on a different server than 187 the master package root directory. If 189 directory then it is sourced by \bsh\b(1) before 193 directory hierarchy to the local one. If [\amaster\a]]: 256 directory prefixe [all...] |
/ast/src/lib/libjcl/ |
H A D | find.c | 31 #define directory(p,s) (stat((p),(s))>=0&&S_ISDIR((s)->st_mode)) macro 34 static struct /* directory list state */ 36 Dirlist_t dirs; /* global directory list */ 176 if (dir && *(dir = (const char*)expand(jcl, dir, 0)) && !streq(dir, ".") && directory(dir, &st)) 288 * check the directory of the including file
|
/ast/src/lib/libtk/library/ |
H A D | tkfbox.tcl | 753 # 4: set the default directory and selection according to the -initial 760 error "\"$data(-initialdir)\" is not a valid directory" 775 # Get image files from the library directory. 796 # f1: the frame with the directory option menu 883 # time. This is important because loading the directory may take a long 884 # time and we don't want to load the same directory for multiple times 900 # sets up the directory option menu for quick access to parent 929 # We cannot change directory to $data(selectPath). $data(selectPath) 934 "Cannot change to the directory \"$data(selectPath)\".\nPermission denied."\ 1060 # context: the current directory yo [all...] |
/ast/src/cmd/mam/ |
H A D | mamnew.c | 49 "[x:omit?Omit pathnames with directory \aprefix\a.]#[prefix]" 68 #define A_ancestor (A_LAST<<1) /* ancestor directory */ 70 #define A_directory (A_LAST<<3) /* source directory */ 81 struct rule* directory; /* directory prefix */ member in struct:local 364 x->directory = initdir(r->name, s);
|
/ast/src/cmd/std/ |
H A D | shar.sh | 129 mkdir=$"creating directory" 175 then err_exit "cannot archive directory $file with -b option." 221 # Source directory was \`$(pwd)'. 323 then filteype=directory
|
/ast/lib/package/ |
H A D | package.mk | 117 This is a package root directory $PACKAGEROOT. Source and binary 118 packages in this directory tree are controlled by the command 122 Binary files may be in this directory or in the install root directory 1168 the source build hierarchy, not the current directory. 1482 echo "To install this $(type) package read the tarball into a directory" 1486 echo "To use the package export the bin directory in PATH. The commands and"
|
/ast/src/cmd/nmake/ |
H A D | Makerules.mk | 37 set option=';ancestor;n;-;Set the ancestor search directory depth to \adepth\a. \bMAKEPATH\b and variant recursive invocations may increase the depth.;depth:=3' 38 set option=';ancestor-source;s;-;A list of \b.SOURCE\b\a.suffix\a \adirectory\a pairs added to the ancestor directory search.;.SOURCE.suffix directory...:=$(.ANCESTOR.LIST)' 40 set option=';archive-output;s;-;The output file name for archiving actions (\bpax\b, \bsave\b, \btgz\b, etc.) The default is based on the current directory and the VERSION variable.;file' 51 set option=';local-static;bp;-;Compile and link against static library targets. The default links against shared library targets, but care must be taken to point runtime shared library binding to the current directory when executing command targets in the current directory.' 57 set option=';recurse;sa;-;Set the recursive \b:MAKE:\b \aaction\a:;[action:=1]{[+combine?Combine all recursive makefiles into one rooted at the current directory. \b::\b, \b:PACKAGE:\b, \b.SOURCE\b*, and \bLDLIBRARIES\b are intercepted to adjust relative directory and library references. Complex makefile hierarchies may not be amenable to combination.][+implicit?All makefiles in all subdirectories are treated as if they contained \b:MAKE:\b.][+list?List the recursion directories, one per line, on the standard output and exit. A \b-\b prerequisite separates groups that may be made concurrently and a \b+\b prerequisite separates leaf directories from intermediate directories.][+only?Disable component closure and operate on explicit prerequisites only.][+prereqs?List the recursion directory dependencies as a makefile on the standard output and exit.][+\anumber\a?Set the directory recursio [all...] |
H A D | bind.c | 171 * determine if a directory (archive) has already been scanned 189 if ((d = getdir(&id)) && state.alias && d->directory == (S_ISDIR(st.st_mode) != 0) && (!state.mam.statix || S_ISDIR(st.st_mode))) 192 * internal.unbind causes directory rescan 199 * the physical directory alias can go either way 212 message((-2, "%s %s is also specified as %s", (r->property & P_archive) ? "archive" : "directory", unbound(r), x->name)); 224 d->directory = S_ISDIR(st.st_mode) != 0; 227 d->ignorecase = d->directory; 233 * add a directory (archive) entry to the file hash 253 * the entries for a directory and its covered directories 293 * add new file r to the directory has [all...] |
H A D | make.h | 343 #define D_source (1L<<15) /* .SOURCE directory */ 374 #define M_directory (1<<2) /* bind directory mark */ 442 typedef struct Dir_s /* scanned directory entry */ 444 char* name; /* directory name */ 446 unsigned char archive; /* directory is an archive */ 447 unsigned char directory; /* directory is a real directory*/ member in struct:Dir_s 455 Dir_t* dir; /* directory containing file */ 669 char* lib; /* related file lib directory */ [all...] |
/ast/src/cmd/html/ |
H A D | htmlrefs.c | 40 " [+document-root?The document root directory containing URL" 43 " [+program-root?The program root directory containing CGI" 45 " If specified then the program root directory should" 47 " [+data-root?The data root directory containing CGI" 49 " the data root directory should contain a pseudo index" 68 " times so that future copies can be avoided.]:[directory]" 78 "[i:index?\aname\a specifies the page named by directory" 95 " references.]:[directory:=~\auser\a]" 99 " directory are considered referenced; \b--strict\b considers" 105 " directory [all...] |