/freebsd/share/doc/usd/04.csh/ |
H A D | csh.g | 34 shell and gives references to sections of the shell 116 the shell. 117 The shell has a command 148 The list of arguments to a command written in the shell language 149 (a shell script or shell procedure) is stored in a variable called 151 within the shell. 178 A directory containing binaries of programs and shell scripts to be 199 structure of the shell (3.7). 209 A command executed directly by the shell is called a 212 Most commands in \s-2UNIX\s0 are not built into the shell, [all …]
|
H A D | csh.3 | 31 Shell control structures and command scripts 38 .I "shell scripts." 39 We here detail those features of the shell useful to the writers of such 44 It is important to first note what shell scripts are 60 This format is superior and preferable to maintaining a group of shell 86 The shell places these arguments in the variable 90 which are used to reference any other shell variables. 98 and place a shell comment at the beginning of the shell script 105 If the file does not begin with a `#' then the standard shell 107 This allows you to convert your older shell scripts to use [all …]
|
H A D | csh.2 | 31 Details on the shell for terminal users 33 Shell startup and termination 35 When you login, the shell is started by the system in your 43 For now we need not have this file and the shell does not complain about 47 .I "login shell" , 78 command which is interpreted directly by the shell. It sets the shell 81 which causes the shell to not log me off if I hit ^D. Rather, 87 variable, I ask the shell to watch for incoming mail to me. Every 5 minutes 88 the shell looks for this file and tells me if more mail has arrived there. 98 Next I set the shell variable `time' to `15' causing the shell to automatically [all …]
|
H A D | csh.1 | 29 .EH 'USD:4-%''An Introduction to the C shell' 30 .OH 'An Introduction to the C shell''USD:4-%' 33 An Introduction to the C shell 56 writing shell programs (shell scripts) easier, 63 will find a valuable basic explanation of the shell here. 67 The second section describes the shell's capabilities which you can 68 explore after you have begun to become acquainted with the shell. 70 for all users of the shell. 72 Additional information includes an appendix listing special characters of the shell 80 .I shell [all …]
|
/freebsd/contrib/bmake/unit-tests/ |
H A D | varname-dot-shell.exp | 1 Parsing line 10: ORIG_SHELL:= ${.SHELL} 3 Var_Parse: ${.SHELL} (eval-keep-dollar-and-undefined) 4 Global: ignoring delete '.SHELL' as it is not found 5 Command: .SHELL = (details omitted) 7 Parsing line 12: .SHELL= overwritten 8 Global: ignoring '.SHELL = overwritten' due to a command line variable of the same name 9 Parsing line 13: .if ${.SHELL} != ${ORIG_SHELL} 10 CondParser_Eval: ${.SHELL} != ${ORIG_SHELL} 11 Var_Parse: ${.SHELL} != ${ORIG_SHELL} (eval-defined) 14 Parsing line 19: .MAKEFLAGS: .SHELL [all...] |
H A D | var-op-shell.mk | 1 # $NetBSD: var-op-shell.mk,v 1.10 2024/07/11 20:09:16 sjg Exp $ 4 # side through the shell. 6 # The variable OUTPUT gets the output from running the shell command. 12 # Since 2014-08-20, the output of the shell command may be empty. 15 # an empty output produced the error message "Couldn't read shell's output 19 # It may be possible to trigger the error message by killing the shell after 26 # The output of a shell command that failed is processed nevertheless. 74 # The output from the shell's stderr is not captured, it just passes through. 80 # The 8 dollar signs end up as 4 dollar signs when expanded. The shell sees 89 # As a debugging aid, log the exact command that is run via the shell. [all …]
|
H A D | varname-dot-shell.mk | 1 # $NetBSD: varname-dot-shell.mk,v 1.7 2021/02/04 21:42:47 rillig Exp $ 3 # Tests for the special .SHELL variable, which contains the shell used for 10 ORIG_SHELL:= ${.SHELL} 12 .SHELL= overwritten 13 .if ${.SHELL} != ${ORIG_SHELL} 19 .MAKEFLAGS: .SHELL+=appended 20 .if ${.SHELL} != ${ORIG_SHELL} 27 .undef .SHELL 28 .SHELL= newly overwritten 29 .if ${.SHELL} != ${ORIG_SHELL}
|
/freebsd/bin/sh/ |
H A D | sh.1 | 37 .Nd command interpreter (shell) 67 specification for the shell. 72 specification of the shell. 74 The shell is a command that reads lines from 78 although a user can select a different shell with the 81 The shell 89 use (shell scripts). 91 to the running shell or can be put into a file, 92 which can be executed directly by the shell. 97 If no arguments are present and if the standard input of the shell [all …]
|
/freebsd/contrib/tcsh/ |
H A D | tcsh.man | 34 .\" - References are bold for section headings and environment and shell 44 .\" - Use `', not '' or "", except of course in shell syntax examples. 59 .\" - Say `the shell', not `tcsh', unless distinguishing between tcsh and csh. 61 .\" - Say `shell variable'/`environment variable' instead of `variable' 65 .\" - Use the simple present tense. `The shell uses', not `The shell will use'. 82 tcsh \- C shell with file name completion and command line editing 89 UNIX C shell, \fIcsh\fR(1). 91 shell and a shell script command processor. 106 If the first argument (argument 0) to the shell is `\-' then it is a 107 login shell. A login shell can be also specified by invoking the shell with [all …]
|
H A D | tcsh.man.new | 43 .\" - Say .Sq the shell , not .Sq tcsh , 46 .\" - Say .Sq shell variable / .Sq environment variable instead of 52 .\" .Sq The shell uses , not .Sq The shell will use 72 .Nd C shell with file name completion and command line editing 84 UNIX C shell, 87 shell and a shell script command processor. 119 If the first argument (argument 0) to the shell is 121 then it is a login shell. 122 A login shell can be also specified by invoking the shell with 133 further shell arguments to be treated as non-option arguments. [all …]
|
/freebsd/usr.bin/bmake/tests/shell/path_select/ |
H A D | Makefile.test | 4 # This selects a builtin shell according to the name, but executes it 8 # really our shell is executed. 14 .SHELL: name=sh path=${.CURDIR}/shell 16 @: This is the shell. 20 .SHELL: name=csh path=${.CURDIR}/shell 22 @: This is the C-shell. 26 .SHELL: name=ksh path=${.CURDIR}/shell 28 @: This is the Korn-shell.
|
/freebsd/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) 14 0 string/fwt #!\ /bin/csh C shell script text executable 17 # korn shell magic, sent by George Wu, gwu@clyde.att.com 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 …]
|
/freebsd/usr.bin/su/ |
H A D | su.1 | 46 A shell is then executed. 67 .Ev SHELL . 70 .Ev SHELL 75 The invoked shell is the one belonging to the target login. 91 If the invoked shell is 100 .Ev SHELL , 107 .Ev SHELL 118 The invoked shell is the target login's, and 128 The invoked shell is your login shell, and no directory changes are made. 129 As a security precaution, if the target user's shell is a non-standard [all …]
|
/freebsd/sys/contrib/openzfs/cmd/zed/zed.d/ |
H A D | README | 1 Shell scripts are the recommended choice for ZEDLETs that mostly call 4 Shell scripts MUST work on both bash and dash. 6 Shell scripts MUST run cleanly through ShellCheck: 13 Google Shell Style Guide 14 https://github.com/google/styleguide/blob/gh-pages/shell.xml 19 Common shell script mistakes 22 Filenames and Pathnames in Shell: How to do it Correctly 23 http://www.dwheeler.com/essays/filenames-in-shell.html 25 Autoconf: Portable Shell Programming 26 https://www.gnu.org/software/autoconf/manual/autoconf.html#Portable-Shell
|
/freebsd/usr.bin/bmake/tests/shell/path/ |
H A D | Makefile.test | 4 # one of the builtin shells so that the .SHELL target automatically 5 # also selectes the shell without specifying the name. 8 # really our shell is executed. 14 .SHELL: path=${.OBJDIR}/sh 16 @: This is the shell. 20 .SHELL: path=${.OBJDIR}/csh 22 @: This is the C-shell. 26 .SHELL: path=${.OBJDIR}/ksh 28 @: This is the Korn-shell.
|
/freebsd/contrib/bmake/ |
H A D | job.c | 101 * Job_ParseShell Given a special dependency line with target '.SHELL', 102 * define the shell that is used for the creation 160 * A shell defines how the commands are run. All commands for a target are 161 * written into a single file, which is then given to the shell to execute 165 * The name of the shell is the basename for the predefined shells, such as 167 * basename is used to select the type of shell; the longest match wins. 171 * echoOn, noPrint and noPrintLen. When echoOff is executed by the shell, it 178 * In case a shell doesn't have error control, echoTmpl is a printf template 182 * causing the shell to exit on error. If any of these strings are empty when 186 * shell code injection, the escaped command is safe to use in double quotes. [all …]
|
/freebsd/contrib/netbsd-tests/ipf/input/ |
H A D | ni19 | 1 # 192.168.113.3.1009 > 10.1.1.4.shell: SYN win 32768 <mss 1460,nop,wscale 0,sackOK,nop,nop,nop,nop,… 8 # 10.1.1.4.shell > 10.1.1.1.1009: SYN win 5840 <mss 1460,nop,nop,sackOK,nop,wscale 2> 15 # 192.168.113.3.1009 > 10.1.1.4.shell 21 # 192.168.113.3.1009 > 10.1.1.4.shell 27 # 10.1.1.4.shell > 10.1.1.1.1009 54 # 192.168.113.3.1009 > 10.1.1.4.shell 60 # 10.1.1.4.shell > 10.1.1.1.1009 66 # 192.168.113.3.1009 > 10.1.1.4.shell 75 # 10.1.1.4.shell > 10.1.1.1.1009 81 # 10.1.1.4.shell > 10.1.1.1.1009 [all …]
|
H A D | ni20 | 1 # 192.168.113.3.1009 > 10.1.1.4.shell: SYN win 32768 <mss 1460,nop,wscale 0,sackOK,nop,nop,nop,nop,… 8 # 192.168.113.4.shell > 192.168.113.3.1009: SYN win 5840 <mss 1460,nop,nop,sackOK,nop,wscale 2> 15 # 192.168.113.3.1009 > 10.1.1.4.shell 21 # 192.168.113.3.1009 > 10.1.1.4.shell 27 # 192.168.113.4.shell > 192.168.113.3.1009 54 # 192.168.113.3.1009 > 10.1.1.4.shell PUSH+ACK 60 # 192.168.113.4.shell > 192.168.113.3.1009 ACK 66 # 192.168.113.3.1009 > 10.1.1.4.shell PUSH+ACK 75 # 192.168.113.4.shell > 192.168.113.3.1009 ACK 81 # 192.168.113.4.shell > 192.168.113.3.1009 PUSH+ACK [all …]
|
/freebsd/usr.bin/bmake/tests/shell/replace/ |
H A D | Makefile.test | 2 # Test that we can replace the shell and set all the shell parameters 4 # using a shell script for the shell that echoes all command line 5 # arguments and its standard input. The shell name should not be one of 12 .SHELL: name="shell" path="${.CURDIR}/shell" \
|
/freebsd/contrib/atf/atf-sh/ |
H A D | integration_test.sh | 88 This is the custom shell 92 cat >custom-shell <<EOF 94 echo "This is the custom shell" 97 chmod +x custom-shell 100 atf_check -s eq:0 -o file:expout -e empty "${ATF_SH}" -s ./custom-shell tp 107 This is the custom shell 111 cat >custom-shell <<EOF 113 echo "This is the custom shell" 116 chmod +x custom-shell 119 tp "-s$(pwd)/custom-shell" [all …]
|
/freebsd/usr.sbin/adduser/ |
H A D | adduser.8 | 47 .Op Fl s Ar shell 53 utility is a shell script, implemented around the 108 .It shell 111 argument is supplied only valid shells from the shell database 115 either the base name or the full path of the shell may be supplied. 256 .It Fl s Ar shell 257 Default shell for new users. 259 .Ar shell 260 argument may be the base name of the shell or the full path. 263 argument is supplied the shell must exist in [all …]
|
/freebsd/crypto/heimdal/appl/login/ |
H A D | login.1 | 75 or the user shell, so the calling daemon should make sure it only 112 fork, and wait for the user shell to exit, and then run the command. 115 Finally, the user's shell is executed. If the user logging in is root, 116 and root's login shell does not exist, a default shell (usually 131 .It Dv SHELL 132 the user's shell 149 Note that they are not parsed the way a shell would. No variable 180 This program will be executed just before the user's shell is started. 183 This program will be executed just after the user's shell has 185 the parent process of the spawned shell. [all …]
|
/freebsd/usr.bin/script/ |
H A D | script.1 | 67 instead of an interactive shell. 139 The script ends when the forked shell (or command) exits (a 142 the Bourne shell 152 C-shell, 169 environment variable is added to the sub-shell. 173 its value is overwritten within the sub-shell. 179 .It Ev SHELL 181 .Ev SHELL 182 exists, the shell forked by 184 will be that shell. [all …]
|
/freebsd/contrib/sendmail/mail.local/ |
H A D | Makefile | 3 SHELL= /bin/sh macro 8 $(SHELL) $(BUILD) $(OPTIONS) $@ 10 $(SHELL) $(BUILD) $(OPTIONS) $@ 12 $(SHELL) $(BUILD) $(OPTIONS) $@ 14 $(SHELL) $(BUILD) $(OPTIONS) $@ 16 $(SHELL) $(BUILD) $(OPTIONS) $@ 19 $(SHELL) $(BUILD) $(OPTIONS) -c
|
/freebsd/contrib/sendmail/rmail/ |
H A D | Makefile | 3 SHELL= /bin/sh macro 8 $(SHELL) $(BUILD) $(OPTIONS) $@ 10 $(SHELL) $(BUILD) $(OPTIONS) $@ 12 $(SHELL) $(BUILD) $(OPTIONS) $@ 14 $(SHELL) $(BUILD) $(OPTIONS) $@ 16 $(SHELL) $(BUILD) $(OPTIONS) $@ 19 $(SHELL) $(BUILD) $(OPTIONS) -c
|