mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-10-31 06:00:54 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			34 lines
		
	
	
	
		
			981 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
	
		
			981 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| texinode(Invocation)(Files)(Introduction)(Top)
 | |
| chapter(Invocation)
 | |
| cindex(invocation)
 | |
| sect(Invocation Options)
 | |
| cindex(flags, shell)
 | |
| cindex(shell flags)
 | |
| If the tt(-s) flag is not present and an argument is given,
 | |
| the first argument is taken to be the pathname of a script to
 | |
| execute.  The remaining arguments are assigned to the positional
 | |
| parameters.  The following flags are interpreted by the shell
 | |
| when invoked:
 | |
| 
 | |
| startitem()
 | |
| item(tt(-c) var(string))(
 | |
| Read commands from var(string).
 | |
| )
 | |
| item(tt(-i))(
 | |
| Force shell to be interactive.
 | |
| )
 | |
| item(tt(-s))(
 | |
| Read command from the standard input.
 | |
| )
 | |
| enditem()
 | |
| 
 | |
| For further options, which are common to invocation and the tt(set)
 | |
| builtin, see
 | |
| ifzman(zmanref(zshoptions))\
 | |
| ifnzman(noderef(Options))\
 | |
| .  Flags may be specified by name using the tt(-o) option.  For example,
 | |
| 
 | |
| example(zsh -x -o shwordsplit scr)
 | |
| 
 | |
| runs the script tt(scr), setting the tt(XTRACE) option by the corresponding
 | |
| letter `tt(-x)' and the tt(SH_WORD_SPLIT) option by name.
 |