| /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 text executable [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 text executable [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 …]
|
| /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 …]
|
| /src/contrib/bmake/mk/ |
| H A D | scripts.mk | 43 .for script in ${${group}:O:u} 44 ${group}_INSTALL_OWN.${script:T} ?= ${${group}_INSTALL_OWN} 45 ${group}DIR.${script:T} ?= ${${group}DIR_${script:T}:U${${group}DIR}} 46 script_mkdir_list += ${${group}DIR.${script:T}} 48 ${group}NAME.${script} ?= ${${group}NAME_${script:T}:U${script:${SCRIPTSNAME_MOD}}} 49 .if ${${group}NAME.${script}:T} != ${script:T} 51 STAGE_AS_${script} = ${${group}NAME.${script:T}} 52 stage_as.${group}: ${script} 54 installscripts: installscripts.${group}.${script:T} 55 installscripts.${group}.${script:T}: ${script} script_mkdirs [all …]
|
| /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 …]
|
| /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 …]
|
| /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"
|
| /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"
|
| /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"
|
| /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 …]
|
| /src/usr.bin/m4/tests/ |
| H A D | m4_test.sh | 11 local args opt output script 23 script=$1 26 output="${script}" 38 if [ -f "${dir}/${script}.m4.uu" ] ; then 39 atf_check uudecode -o "${script}.m4" "${dir}/${script}.m4.uu" 40 elif [ -f "${dir}/${script}.m4" ] ; then 41 ln -s "${dir}/${script}.m4" "${script}.m4" 43 atf_fail "${script}.m4 not found" 46 m4 -I "${dir}" ${args} "${script}.m4"
|
| /src/contrib/pam-krb5/tests/fakepam/ |
| H A D | config.c | 301 rewind_section(FILE *script, size_t length) in rewind_section() argument 303 if (fseek(script, -length - 1, SEEK_CUR) != 0) in rewind_section() 474 parse_options(FILE *script, struct work *work, in parse_options() argument 481 for (line = readline(script); line != NULL; line = readline(script)) { in parse_options() 500 rewind_section(script, length); in parse_options() 540 parse_run(FILE *script) in parse_run() argument 546 for (line = readline(script); line != NULL; line = readline(script)) { in parse_run() 574 rewind_section(script, length); in parse_run() 589 parse_end(FILE *script) in parse_end() argument 595 for (line = readline(script); line != NULL; line = readline(script)) { in parse_end() [all …]
|
| /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
|
| /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 …]
|
| /src/usr.bin/sed/ |
| H A D | main.c | 71 static struct s_compunit *script, **cu_nextp = &script; variable 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->s); in cu_fgets() 237 fname = script->s; in cu_fgets() 243 sizeof(string_ident), "\"%s\"", script->s)) >= in cu_fgets() 248 s = script->s; in cu_fgets() 263 script = script->next; in cu_fgets() [all …]
|
| /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()
|
| /src/contrib/sqlite3/autosetup/teaish/ |
| H A D | tester.tcl | 91 lassign $args - script msg 99 lassign $args script msg 102 if {![uplevel 1 [concat expr [list $script]]]} { 104 set msg $script 144 proc test-assert {testId script {msg ""}} { 146 tailcall test__affert 1 $script $msg 156 proc test-expect {testId script result} { 158 set x [string trim [uplevel 1 $script]]
|
| /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 …]
|
| /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 …]
|