/freebsd-src/contrib/bmake/mk/ |
H A D | scripts.mk | 50 .for script in ${${group}:O:u} 51 ${group}_INSTALL_OWN.${script:T} ?= ${${group}_INSTALL_OWN} 52 ${group}DIR.${script:T} ?= ${${group}DIR_${script:T}:U${${group}DIR}} 53 script_mkdir_list += ${${group}DIR.${script:T}} 55 ${group}NAME.${script} ?= ${${group}NAME_${script:T}:U${script:${SCRIPTSNAME_MOD}}} 56 .if ${${group}NAME.${script}:T} != ${script:T} 58 STAGE_AS_${script} = ${${group}NAME.${script:T}} 59 stage_as.${group}: ${script} 61 installscripts: installscripts.${group}.${script:T} 62 installscripts.${group}.${script:T}: ${script} script_mkdirs [all …]
|
/freebsd-src/tools/regression/usr.bin/env/ |
H A D | regress-env.rgdata | 33 # These first two tests are testing how well the regression-script itself is 38 script:/bin/echo A-${TESTVAR}-Z 43 script:/bin/echo A-${TESTVAR}-Z 49 script:/bin/echo A-${TESTVAR}-Z 54 script:/bin/echo A-${TESTVAR}-Z 59 script:/bin/echo A-${TESTVAR}-Z 69 script:/bin/echo A-${PATH}-Z 76 script:/bin/echo A-${PATH}-Z 81 script:/bin/echo A-${PATH}-Z 90 script:/bin/echo A-${PATH}-Z [all …]
|
/freebsd-src/libexec/rc/rc.d/ |
H A D | localpkg | 29 for script in ${zlist} ${slist}; do 30 if [ -z "${initdone}" -a -f "${script}" ]; then 34 if [ -x "${script}" ]; then 37 ${script} start) 38 elif [ -f "${script}" -o -L "${script}" ]; then 39 echo -n " (skipping ${script}, not executable)" 57 for script in `reverse_list ${slist} ${zlist}`; do 58 if [ -z "${initdone}" -a -f "${script}" ]; then 62 if [ -x "${script}" ]; then 64 echo "==>" ${script} [all …]
|
/freebsd-src/contrib/file/magic/Magdir/ |
H A D | commands | 6 #0 string/w : shell archive or script for antique kernel text 7 0 string/fwt #!\ /bin/sh POSIX shell script text executable 9 0 string/fwb #!\ /bin/sh POSIX shell script executable (binary data) 11 >10 string #\040This\040script\040was\040generated\040using\040Makeself \b, self-executable archive 14 0 string/fwt #!\ /bin/csh C shell script text executable 18 0 string/fwt #!\ /bin/ksh Korn shell script text executable 20 0 string/fwb #!\ /bin/ksh Korn shell script executable (binary data) 23 0 string/fwt #!\ /bin/tcsh Tenex C shell script text executable 25 0 string/fwt #!\ /usr/bin/tcsh Tenex C shell script text executable 27 0 string/fwt #!\ /usr/local/tcsh Tenex C shell script tex [all...] |
H A D | tcl | 7 0 search/1/w #!\ /usr/bin/tcl Tcl script text executable 9 0 search/1/w #!\ /usr/local/bin/tcl Tcl script text executable 11 0 search/1 #!/usr/bin/env\ tcl Tcl script text executable 13 0 search/1 #!\ /usr/bin/env\ tcl Tcl script text executable 15 0 search/1/w #!\ /usr/bin/wish Tcl/Tk script text executable 17 0 search/1/w #!\ /usr/local/bin/wish Tcl/Tk script text executable 19 0 search/1 #!/usr/bin/env\ wish Tcl/Tk script text executable 21 0 search/1 #!\ /usr/bin/env\ wish Tcl/Tk script text executable 26 >0 regex \^package[\ \t]+req Tcl script 29 >0 regex \^package[\ \t]+req Tcl script
|
H A D | ruby | 9 0 search/1/w #!\ /usr/bin/ruby Ruby script text executable 12 0 search/1/w #!\ /usr/local/bin/ruby Ruby script text executable 15 0 search/1 #!/usr/bin/env\ ruby Ruby script text executable 18 0 search/1 #!\ /usr/bin/env\ ruby Ruby script text executable 28 >>>&0 regex \^[[:space:]]*end([[:space:]]+[;#].*)?$ Ruby script text 33 >>&0 regex \^[[:space:]]*end([[:space:]]+[;#].*)?$ Ruby script text 38 >&0 regex \^[[:space:]]*end([[:space:]]+[;#if].*)?$ Ruby script text 46 >>&0 regex \^[[:space:]]*end([[:space:]]+[;#].*)?$ Ruby script text 51 >0 regex \^[[:space:]]*require[[:space:]]'[A-Za-z_/.]+' Ruby script text 54 >0 regex \^[[:space:]]*include\ ([A-Z]+[a-z]*(::))+ Ruby script text
|
H A D | clojure | 6 0 string/w #!\ /usr/bin/clj Clojure script text executable 8 0 string/w #!\ /usr/local/bin/clj Clojure script text executable 10 0 string/w #!\ /usr/bin/clojure Clojure script text executable 12 0 string/w #!\ /usr/local/bin/clojure Clojure script text executable 14 0 string/W #!/usr/bin/env\ clj Clojure script text executable 16 0 string/W #!/usr/bin/env\ clojure Clojure script text executable 18 0 string/W #!\ /usr/bin/env\ clj Clojure script text executable 20 0 string/W #!\ /usr/bin/env\ clojure Clojure script text executable
|
H A D | varied.script | 2 # $File: varied.script,v 1.16 2024/02/04 19:26:02 christos Exp $ 3 # varied.script: file(1) magic for various interpreter scripts 9 >&-1 string/T x %s script text executable 13 >&-1 string/T x %s script executable (binary data) 19 >15 string/T >\0 %s script text executable 23 >15 string/T >\0 %s script executable (binary data)
|
H A D | python | 9 0 string/t """ Python script text executable 237 0 search/1/w #!\040/usr/bin/python Python script text executable 239 !:mime text/x-script.python 240 0 search/1/w #!\040/usr/local/bin/python Python script text executable 242 !:mime text/x-script.python 243 0 search/10/w #!\040/usr/bin/env\040python Python script text executable 245 !:mime text/x-script.python 250 >0 regex \^from[\040\t]+([A-Za-z0-9_]|\\.)+[\040\t]+import.*$ Python script text executable 252 !:mime text/x-script.python 253 >0 regex \^import\ [_[:alpha:]]+\ as\ [[:alpha:]][[:space:]]*$ Python script tex [all...] |
H A D | perl | 8 0 search/1024 eval\ "exec\ perl Perl script text 10 0 search/1024 eval\ "exec\ /bin/perl Perl script text 12 0 search/1024 eval\ "exec\ /usr/bin/perl Perl script text 14 0 search/1024 eval\ "exec\ /usr/local/bin/perl Perl script text 16 0 search/1024 eval\ 'exec\ perl Perl script text 18 0 search/1024 eval\ 'exec\ /bin/perl Perl script text 20 0 search/1024 eval\ 'exec\ /usr/bin/perl Perl script text 22 0 search/1024 eval\ 'exec\ /usr/local/bin/perl Perl script text 24 0 search/1024 eval\ '(exit\ $?0)'\ &&\ eval\ 'exec Perl script text 26 0 string #!/usr/bin/env\ perl Perl script text executable [all …]
|
/freebsd-src/usr.bin/tftp/tests/ |
H A D | tftp_test.sh | 47 echo "get ${remote_file##*/} ${local_file}" >client-script 49 tftp localhost <client-script 66 echo "get localhost:${remote_file##*/}" >client-script 68 tftp <client-script 85 echo "get 127.0.0.1:${remote_file##*/}" >client-script 87 tftp <client-script 105 echo "get [::1]:${remote_file##*/}" >client-script 107 tftp <client-script 124 echo "get ${remote_file##*/}" >client-script 126 tftp localhost <client-script [all …]
|
/freebsd-src/usr.sbin/periodic/etc/weekly/ |
H A D | 999.local | 14 for script in $weekly_local 17 case "$script" in 19 if [ -x "$script" ] 21 echo "Running $script:" 23 $script || rc=3 24 elif [ -f "$script" ] 26 echo "Running $script:" 28 sh $script || rc=3 30 echo "$script: No such file" 34 echo "$script: Not an absolute path"
|
/freebsd-src/usr.sbin/periodic/etc/monthly/ |
H A D | 999.local | 14 for script in $monthly_local 17 case "$script" in 19 if [ -x "$script" ] 21 echo "Running $script:" 23 $script || rc=3 24 elif [ -f "$script" ] 26 echo "Running $script:" 28 sh $script || rc=3 30 echo "$script: No such file" 34 echo "$script: Not an absolute path"
|
/freebsd-src/usr.sbin/periodic/etc/daily/ |
H A D | 999.local | 17 for script in $daily_local 20 case "$script" in 22 if [ -x "$script" ] 24 echo "Running $script:" 26 $script || rc=3 27 elif [ -f "$script" ] 29 echo "Running $script:" 31 sh $script || rc=3 33 echo "$script: No such file" 37 echo "$script: Not an absolute path"
|
/freebsd-src/stand/common/ |
H A D | interp_simple.c | 89 struct includeline *script, *se, *sp; in interp_include() local 112 script = se = NULL; in interp_include() 139 while (script != NULL) { in interp_include() 140 se = script; in interp_include() 141 script = script->next; in interp_include() 155 if (script == NULL) { in interp_include() 156 script = sp; in interp_include() 169 for (sp = script; sp != NULL; sp = sp->next) { in interp_include() 198 while (script != NULL) { in interp_include() 199 se = script; in interp_include() [all …]
|
H A D | interp_forth.c | 381 struct includeline *script, *se, *sp; in interp_include() local 403 script = se = NULL; in interp_include() 415 while (script != NULL) { in interp_include() 416 se = script; in interp_include() 417 script = script->next; in interp_include() 429 if (script == NULL) { in interp_include() 430 script = sp; in interp_include() 444 for (sp = script; sp != NULL; sp = sp->next) { in interp_include() 457 while (script != NULL) { in interp_include() 458 se = script; in interp_include() [all …]
|
/freebsd-src/contrib/llvm-project/lld/docs/ |
H A D | error_handling_script.rst | 6 user-provided script specified with ``--error-handling-script=<path to the script>`` 8 such a script. 13 The script is expected to be available in the ``PATH`` or to be provided using a 20 LLD calls the error handling script using the following arguments:: 22 error-handling-script <tag> <tag-specific-arguments...> 27 is specified as the second argument, e.g. ``error-handling-script missing-lib 32 ``error-handling-script undefined-symbol mysymbol`` 37 Upon success, the script is expected to return 0. A non-zero value is
|
/freebsd-src/lib/libveriexec/ |
H A D | exec_script.c | 44 find_interpreter(const char *script) in find_interpreter() argument 53 if ((fd = open(script, O_RDONLY)) >= 0) { in find_interpreter() 100 const char *script; in execv_script() local 103 script = argv[0]; in execv_script() 104 if (veriexec_check_path(script) == 0) { in execv_script() 105 rc = execv(script, argv); in execv_script() 110 interpreter = find_interpreter(script); in execv_script() 113 script, interpreter); in execv_script()
|
/freebsd-src/usr.sbin/ppp/ |
H A D | defs.c | 302 MakeArgs(char *script, char **pvect, int maxargs, int flags) in MakeArgs() argument 307 while (*script) { in MakeArgs() 308 script += strspn(script, " \t"); in MakeArgs() 309 if (*script == '#' && !(flags & PARSE_NOHASH)) { in MakeArgs() 310 *script = '\0'; in MakeArgs() 313 if (*script) { in MakeArgs() 316 *pvect++ = script; in MakeArgs() 318 script = findblank(script, flags); in MakeArgs() 319 if (script == NULL) in MakeArgs() 321 else if (!(flags & PARSE_NOHASH) && *script == '#') in MakeArgs() [all …]
|
/freebsd-src/usr.bin/sed/ |
H A D | main.c | 71 static struct s_compunit *script, **cu_nextp = &script; variable 172 /* First usage case; script is the first arg */ in main() 201 "usage: %s script [-Ealnru] [-i extension] [file ...]\n" in usage() 202 "\t%s [-Ealnu] [-i extension] [-e script] ... [-f script_file]" in usage() 223 if (script == NULL) { in cu_fgets() 229 switch (script->type) { in cu_fgets() 231 if (strcmp(script->s, "-") == 0) { in cu_fgets() 235 if ((f = fopen(script->s, "r")) == NULL) in cu_fgets() 236 err(1, "%s", script in cu_fgets() [all...] |
/freebsd-src/usr.sbin/bsdconfig/share/ |
H A D | script.subr | 32 f_dprintf "%s: loading includes..." script.subr 65 f_dprintf "script.subr: New resWord %s -> %s" "$resword" "$func" 96 # Load a script (usually filled with reswords). If $file is missing or NULL, 107 # Returns success if a script was loaded and itself returned success. 112 local script="$1" config_file retval=$SUCCESS 114 f_dprintf "$funcname: script=[%s]" "$script" 115 if [ ! "$script" ]; then 117 for script in \ 123 [ -e "$script" ] && break 130 # Hint to others that we're running from a script, should they care [all …]
|
/freebsd-src/contrib/unbound/contrib/ |
H A D | README | 4 * rc_d_unbound: FreeBSD compatible /etc/rc.d script. 5 * parseunbound.pl: perl script to run from cron that parses statistics from 8 * update-anchor.sh: shell script that uses unbound-host to update a set 14 * build-unbound-localzone-from-hosts.pl: perl script to turn /etc/hosts into 20 * create_unbound_ad_servers.sh: shell script to enter anti-ad server lists. 21 * create_unbound_ad_servers.cmd: windows script to enter anti-ad server lists. 22 * unbound_cache.sh: shell script to save and load the cache. 23 * unbound_cache.cmd: windows script to save and load the cache. 24 * warmup.sh: shell script to warm up DNS cache by your own MRU domains. 25 * warmup.cmd: windows script to warm up DNS cache by your own MRU domains. [all …]
|
/freebsd-src/sys/ddb/ |
H A D | db_script.c | 161 db_script_valid(const char *scriptname, const char *script) in db_script_valid() argument 169 if (strlen(script) >= DB_MAXSCRIPTLEN) in db_script_valid() 172 strcpy(buffer, script); in db_script_valid() 186 db_script_set(const char *scriptname, const char *script) in db_script_set() argument 191 error = db_script_valid(scriptname, script); in db_script_set() 202 strlcpy(dsp->ds_script, script, sizeof(dsp->ds_script)); in db_script_set() 504 char *buffer, *script, *scriptname; in sysctl_debug_ddb_scripting_script() local 521 script = buffer; in sysctl_debug_ddb_scripting_script() 522 scriptname = strsep(&script, "="); in sysctl_debug_ddb_scripting_script() 523 if (script == NULL) { in sysctl_debug_ddb_scripting_script() [all …]
|
/freebsd-src/contrib/diff/src/ |
H A D | context.c | 91 print_context_script (struct change *script, bool unidiff) in print_context_script() argument 94 mark_ignorable (script); in print_context_script() 98 for (e = script; e; e = e->link) in print_context_script() 106 print_script (script, find_hunk, pr_unidiff_hunk); in print_context_script() 108 print_script (script, find_hunk, pr_context_hunk); in print_context_script() 424 mark_ignorable (struct change *script) in mark_ignorable() argument 426 while (script) in mark_ignorable() 428 struct change *next = script->link; in mark_ignorable() 432 script->link = 0; in mark_ignorable() 435 script->ignore = ! analyze_hunk (script, in mark_ignorable() [all …]
|
/freebsd-src/contrib/openpam/t/ |
H A D | t_openpam_dispatch.c | 61 struct t_pam_conv_script script; variable 67 memset(&script, 0, sizeof script); 69 pamc.appdata_ptr = &script; 128 struct t_pam_conv_script script; variable 135 memset(&script, 0, sizeof script); 137 pamc.appdata_ptr = &script;
|