<Comment># basic types:</Comment><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><String SingleQ>'single quoted string'</String SingleQ><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><String DoubleQ>"double quoted string"</String DoubleQ><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><String SingleQ>$'string with esc</String SingleQ><String Escape>\a</String Escape><String SingleQ>pes</String SingleQ><String Escape>\x0d</String Escape><String SingleQ>in it'</String SingleQ><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><String Transl.>$"</String Transl.><String DoubleQ>string meant to be translated"</String DoubleQ><br/>
<Normal Text></Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># comments:</Comment><br/>
<Comment># this is a comment</Comment><br/>
<Comment>#this too</Comment><br/>
<Builtin>echo</Builtin><Normal Text> this </Normal Text><Path>is</Path><Glob>#</Glob><Path>nt</Path><Normal Text> a comment</Normal Text><br/>
<Command>dcop</Command><Normal Text> kate </Normal Text><Path>EditInterface</Path><Glob>#</Glob><Path>1</Path><Normal Text> </Normal Text><Comment>#this is</Comment><br/>
<Command>grep</Command><Normal Text> </Normal Text><Option>-e</Option><Normal Text> </Normal Text><String DoubleQ>"^default/linux/amd64/"</String DoubleQ><Normal Text> </Normal Text><Control>|</Control><OtherCommand>\ #this</OtherCommand><Normal Text> is not a comment but </Normal Text><Comment>#this is</Comment><br/>
<Command>mkdir</Command><Normal Text> this</Normal Text><Escape>\ </Escape><Normal Text>isnt</Normal Text><Escape>\ </Escape><Glob>#</Glob><Path>a</Path><Escape>\ </Escape><Path>comment</Path><br/>
<Command>mkdir</Command><Normal Text> this</Normal Text><Escape>\ </Escape><Normal Text>isnt</Normal Text><Escape>\\\;</Escape><Glob>#</Glob><Path>a</Path><Escape>\ </Escape><Path>comment</Path><br/>
<Command>mkdir</Command><Normal Text> this</Normal Text><Escape>\\</Escape><Normal Text> </Normal Text><Comment>#is a comment</Comment><br/>
<Normal Text></Normal Text><br/>
<Comment># brace expansion</Comment><br/>
<Command>mv</Command><Normal Text> my_file.</Normal Text><Escape>{JPG</Escape><Operator>,</Operator><Escape>jpg}</Escape><br/>
<Builtin>echo</Builtin><Normal Text> f.</Normal Text><Escape>{</Escape><Number>01</Number><Escape>..</Escape><Number>100</Number><Escape>..</Escape><Number>3</Number><Escape>}</Escape><Normal Text> f.</Normal Text><Escape>{</Escape><Normal Text>#</Normal Text><Escape>..</Escape><Normal Text>Z</Normal Text><Escape>}</Escape><Normal Text> f.</Normal Text><Escape>{\{..\}}</Escape><Normal Text> f.</Normal Text><Escape>{</Escape><Dollar Prefix>$</Dollar Prefix><Variable>i</Variable><Escape>..</Escape><Dollar Prefix>$</Dollar Prefix><Variable>j</Variable><Escape>..</Escape><Dollar Prefix>$</Dollar Prefix><Variable>p</Variable><Escape>}</Escape><br/>
<Builtin>echo</Builtin><Normal Text> f.</Normal Text><Escape>{</Escape><Number>01</Number><Escape>..</Escape><Number>100</Number><Escape>}</Escape><Normal Text> f.</Normal Text><Escape>{</Escape><Normal Text>a</Normal Text><Escape>..</Escape><Normal Text>Z</Normal Text><Escape>}</Escape><Normal Text> f.</Normal Text><Escape>{</Escape><String SingleQ>'a'</String SingleQ><Escape>..</Escape><Dollar Prefix>$</Dollar Prefix><Variable>Z</Variable><Escape>}</Escape><br/>
<Comment># no brace expansion</Comment><br/>
<Builtin>echo</Builtin><Normal Text> f.{..100} f.{a..Z..}</Normal Text><br/>
<Normal Text></Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># special characters are escaped:</Comment><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Escape>\(</Escape><Normal Text>output</Normal Text><Escape>\)</Escape><Normal Text> </Normal Text><Escape>\&\|</Escape><Normal Text> </Normal Text><Escape>\></Escape><Normal Text> </Normal Text><Escape>\<</Escape><Normal Text> </Normal Text><Escape>\"</Escape><Normal Text> </Normal Text><Escape>\'</Escape><Normal Text> </Normal Text><Escape>\*</Escape><br/>
<Normal Text></Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># variable substitution:</Comment><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>filename</Variable><Normal Text>.ext</Normal Text><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>filename_ext</Variable><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>filename</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text>_ext</Normal Text><br/>
<Builtin>echo</Builtin><Normal Text> text</Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>array</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Dollar Prefix>$</Dollar Prefix><Variable>subscript</Variable><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text>.text</Normal Text><br/>
<Builtin>echo</Builtin><Normal Text> text</Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>array</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><String DoubleQ>"string"</String DoubleQ><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text>.text</Normal Text><br/>
<Builtin>echo</Builtin><Normal Text> short are </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>_</Variable><Normal Text>, </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>$</Variable><Normal Text>, </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>?</Variable><Normal Text>, </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>@</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text>, etc.</Normal Text><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>variable</Variable><Parameter Expansion Operator>/</Parameter Expansion Operator><Pattern>a</Pattern><Parameter Expansion Operator>/</Parameter Expansion Operator><String DoubleQ>d</String DoubleQ><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>1</Variable><Parameter Expansion Operator>:-</Parameter Expansion Operator><String DoubleQ>default</String DoubleQ><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>10</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>10</Variable><Normal Text>a</Normal Text><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>!</Variable><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Parameter Expansion Operator>=</Parameter Expansion Operator><Variable>!</Variable><br/>
<Normal Text></Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># expression subst:</Comment><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>$((</Parameter Expansion><Normal Text> </Normal Text><Variable>cd</Variable><Normal Text> </Normal Text><Operator><<</Operator><Normal Text> </Normal Text><Variable>ed</Variable><Normal Text> </Normal Text><Operator>+</Operator><Normal Text> </Normal Text><Number>1</Number><Normal Text> </Normal Text><Parameter Expansion>))</Parameter Expansion><br/>
<Normal Text></Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># command subst:</Comment><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>$(</Parameter Expansion><Command>ls</Command><Normal Text> </Normal Text><Option>-l</Option><Parameter Expansion>)</Parameter Expansion><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Backquote>`</Backquote><Command>cat</Command><Normal Text> myfile</Normal Text><Backquote>`</Backquote><br/>
<Normal Text></Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># file subst:</Comment><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>$(</Parameter Expansion><Redirection><</Redirection><Dollar Prefix>$</Dollar Prefix><Variable>filename</Variable><Parameter Expansion>)</Parameter Expansion><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>$(</Parameter Expansion><Redirection><</Redirection><Path>/path/to/myfile</Path><Parameter Expansion>)</Parameter Expansion><br/>
<Normal Text></Normal Text><br/>
<Comment># process subst:</Comment><br/>
<Command>sort</Command><Normal Text> </Normal Text><Redirection><(</Redirection><OtherCommand>show_labels</OtherCommand><Redirection>)</Redirection><Normal Text> </Normal Text><Control>|</Control><Normal Text> </Normal Text><Command>sed</Command><Normal Text> </Normal Text><String SingleQ>'s/a/bg'</String SingleQ><Normal Text> </Normal Text><Redirection>></Redirection><Normal Text> </Normal Text><Path>my_file.txt</Path><Normal Text> </Normal Text><File Descriptor>2</File Descriptor><Redirection>>&</Redirection><File Descriptor>1</File Descriptor><br/>
<Normal Text></Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># All substitutions also work in strings:</Comment><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><String DoubleQ>"subst </String DoubleQ><Parameter Expansion>${</Parameter Expansion><Variable>in</Variable><Parameter Expansion>}</Parameter Expansion><String DoubleQ>side string"</String DoubleQ><Normal Text>  </Normal Text><String SingleQ>'not $inside this ofcourse'</String SingleQ><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><String DoubleQ>"The result is </String DoubleQ><Parameter Expansion>$((</Parameter Expansion><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>a</Variable><Normal Text> </Normal Text><Operator>+</Operator><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>b</Variable><Normal Text> </Normal Text><Parameter Expansion>))</Parameter Expansion><String DoubleQ>. Thanks!"</String DoubleQ><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><String DoubleQ>"Your homedir contains </String DoubleQ><Backquote>`</Backquote><Command>ls</Command><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>HOME</Variable><Normal Text> </Normal Text><Control>|</Control><Command>wc</Command><Normal Text> </Normal Text><Option>-l</Option><Backquote>`</Backquote><String DoubleQ> files."</String DoubleQ><br/>
<Normal Text></Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># Escapes in strings:</Comment><br/>
<Variable>p</Variable><Operator>=</Operator><String DoubleQ>"String </String DoubleQ><String Escape>\`</String Escape><String DoubleQ> with </String DoubleQ><String Escape>\$</String Escape><String DoubleQ> escapes </String DoubleQ><String Escape>\"</String Escape><String DoubleQ> "</String DoubleQ><Control>;</Control><br/>
<Normal Text></Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># keywords are black, builtins dark purple and common commands lighter purple</Comment><br/>
<Builtin>set</Builtin><br/>
<Builtin>exit</Builtin><br/>
<Command>login</Command><br/>
<Normal Text></Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># Other colorings:</Comment><br/>
<Function>error()</Function><Normal Text> </Normal Text><Keyword>{</Keyword><br/>
<Normal Text>	</Normal Text><Command>cat</Command><Normal Text> </Normal Text><Path>/usr/bin/lesspipe.sh</Path><br/>
<Normal Text>	</Normal Text><OtherCommand>runscript</OtherCommand><Normal Text> </Normal Text><Redirection>>&</Redirection><Normal Text> </Normal Text><Path>redir.bak</Path><br/>
<Normal Text>	</Normal Text><Builtin>exec</Builtin><Normal Text> </Normal Text><File Descriptor>3</File Descriptor><Redirection>>&</Redirection><File Descriptor>4</File Descriptor><br/>
<Keyword>}</Keyword><br/>
<Normal Text></Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># do - done make code blocks</Comment><br/>
<Control Flow>while</Control Flow><Normal Text> </Normal Text><Builtin>[</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>p</Variable><Normal Text> </Normal Text><Expression>-lt</Expression><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>q</Variable><Normal Text> </Normal Text><Builtin>]</Builtin><br/>
<Control Flow>do</Control Flow><br/>
<Normal Text>	</Normal Text><Command>chown</Command><Normal Text> 0644 </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>file</Variable><Normal Text>.</Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>p</Variable><br/>
<Control Flow>done</Control Flow><br/>
<Normal Text></Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># braces as well</Comment><br/>
<OtherCommand>run_prog</OtherCommand><Normal Text> </Normal Text><Control>|</Control><Normal Text> </Normal Text><Command>sort</Command><Normal Text> </Normal Text><Option>-u</Option><Normal Text> </Normal Text><Control>|</Control><br/>
<Keyword>{</Keyword><br/>
<Normal Text>	</Normal Text><Builtin>echo</Builtin><Normal Text> Header</Normal Text><br/>
<Normal Text>	</Normal Text><Control Flow>while</Control Flow><Normal Text> </Normal Text><Builtin>read</Builtin><Normal Text> </Normal Text><Variable>a</Variable><Normal Text> </Normal Text><Variable>b</Variable><Normal Text> </Normal Text><Variable>d</Variable><br/>
<Normal Text>	</Normal Text><Control Flow>do</Control Flow><br/>
<Normal Text>		</Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>a</Variable><Path>/</Path><Dollar Prefix>$</Dollar Prefix><Variable>b</Variable><Path>/</Path><Dollar Prefix>$</Dollar Prefix><Variable>c</Variable><br/>
<Normal Text>	</Normal Text><Control Flow>done</Control Flow><br/>
<Normal Text>	</Normal Text><Builtin>echo</Builtin><Normal Text> Footer</Normal Text><br/>
<Keyword>}</Keyword><br/>
<Normal Text></Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># Any constructions can be nested:</Comment><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><String DoubleQ>"A long string with </String DoubleQ><Parameter Expansion>$(</Parameter Expansion><br/>
<Normal Text>	</Normal Text><Control Flow>if</Control Flow><Normal Text> </Normal Text><Builtin>[</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>count</Variable><Normal Text> </Normal Text><Expression>-gt</Expression><Normal Text> 100 </Normal Text><Builtin>]</Builtin><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><br/>
<Normal Text>		</Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><String DoubleQ>"much"</String DoubleQ><br/>
<Normal Text>	</Normal Text><Control Flow>else</Control Flow><br/>
<Normal Text>		</Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><String DoubleQ>"not much"</String DoubleQ><br/>
<Normal Text>	</Normal Text><Control Flow>fi</Control Flow><Normal Text> </Normal Text><Parameter Expansion>)</Parameter Expansion><String DoubleQ> substitutions."</String DoubleQ><Normal Text> </Normal Text><Control>;</Control><br/>
<Normal Text></Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># Even the case construct is correctly folded:</Comment><br/>
<Builtin>test</Builtin><Normal Text> </Normal Text><Option>-f</Option><Normal Text> blaat </Normal Text><Control>&&</Control><br/>
<Keyword>(</Keyword><Normal Text>	</Normal Text><OtherCommand>do_something</OtherCommand><br/>
<Normal Text>	</Normal Text><Control Flow>case</Control Flow><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>p</Variable><Normal Text> </Normal Text><Keyword>in</Keyword><br/>
<Normal Text>		</Normal Text><Glob>*</Glob><Pattern>bak</Pattern><Keyword>)</Keyword><br/>
<Normal Text>			</Normal Text><OtherCommand>do_bak</OtherCommand><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>p</Variable><br/>
<Normal Text>			</Normal Text><Control Flow>;;</Control Flow><br/>
<Normal Text>		</Normal Text><Glob>*</Glob><Keyword>)</Keyword><br/>
<Normal Text>			</Normal Text><OtherCommand>dont_bak</OtherCommand><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>p</Variable><br/>
<Normal Text>			</Normal Text><Control Flow>;;</Control Flow><br/>
<Normal Text>	</Normal Text><Control Flow>esac</Control Flow><br/>
<Keyword>)</Keyword><Normal Text> </Normal Text><Comment># despite the extra parentheses in the case construction.</Comment><br/>
<Normal Text></Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># more control flow</Comment><br/>
<Control Flow>while</Control Flow><Normal Text> </Normal Text><Builtin>:</Builtin><Control>;</Control><br/>
<Normal Text>  </Normal Text><Control Flow>break</Control Flow><br/>
<Normal Text>  </Normal Text><Control Flow>continue</Control Flow><br/>
<Normal Text>  </Normal Text><Control Flow>return</Control Flow><br/>
<Control Flow>done</Control Flow><br/>
<Normal Text></Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># variable assignments:</Comment><br/>
<Variable>DIR</Variable><Operator>=</Operator><Path>/dev</Path><br/>
<Variable>p</Variable><Operator>=</Operator><Backquote>`</Backquote><Command>ls</Command><Backquote>`</Backquote><br/>
<Variable>LC_ALL</Variable><Operator>=</Operator><String DoubleQ>"nl"</String DoubleQ><Normal Text> </Normal Text><Command>dcop</Command><Normal Text> </Normal Text><String SingleQ>'kate*'</String SingleQ><br/>
<Variable>_VAR</Variable><Operator>=</Operator><Normal Text>val</Normal Text><br/>
<Variable>ARR</Variable><Operator>=</Operator><Variable>(</Variable><Normal Text>this is an array</Normal Text><Variable>)</Variable><br/>
<Variable>ARR2</Variable><Operator>=</Operator><Variable>(</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Normal Text>this</Normal Text><Parameter Expansion Operator>]</Parameter Expansion Operator><Variable>=</Variable><Normal Text>too </Normal Text><Parameter Expansion Operator>[</Parameter Expansion Operator><Normal Text>and</Normal Text><Parameter Expansion Operator>]</Parameter Expansion Operator><Variable>=</Variable><String DoubleQ>"this too"</String DoubleQ><Variable>)</Variable><br/>
<Variable>usage</Variable><Operator>=</Operator><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>0</Variable><String DoubleQ> -- version </String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>VERSION</Variable><br/>
<String DoubleQ>Multiple lines of output</String DoubleQ><br/>
<String DoubleQ>can be possible."</String DoubleQ><br/>
<Variable>ANSWER</Variable><Operator>=</Operator><Normal Text>yes	</Normal Text><Comment># here 'yes' isn't highlighed as command</Comment><br/>
<Normal Text></Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># Some commands expect variable names, these are colored correctly:</Comment><br/>
<Builtin>export</Builtin><Normal Text> </Normal Text><Variable>PATH</Variable><Operator>=</Operator><Path>/my/bin:</Path><Dollar Prefix>$</Dollar Prefix><Variable>PATH</Variable><Normal Text> </Normal Text><Variable>BLAAT</Variable><br/>
<Builtin>export</Builtin><Normal Text> </Normal Text><Variable>A</Variable><Normal Text> </Normal Text><Variable>B</Variable><Normal Text> </Normal Text><Variable>D</Variable><br/>
<Builtin>local</Builtin><Normal Text> </Normal Text><Variable>p</Variable><Operator>=</Operator><Normal Text>3  </Normal Text><Variable>x</Variable><Normal Text>  </Normal Text><Variable>y</Variable><Operator>=</Operator><String SingleQ>'\'</String SingleQ><br/>
<Builtin>read</Builtin><Normal Text> </Normal Text><Variable>x</Variable><Normal Text> </Normal Text><Variable>y</Variable><Normal Text> </Normal Text><Variable>z</Variable><Normal Text> </Normal Text><Redirection><<<</Redirection><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>hallo</Variable><br/>
<Builtin>unset</Builtin><Normal Text> </Normal Text><Variable>B</Variable><br/>
<Builtin>declare</Builtin><Normal Text> </Normal Text><Option>-a</Option><Normal Text> </Normal Text><Variable>VAR1</Variable><Normal Text> </Normal Text><Variable>VAR2</Variable><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Builtin>exit</Builtin><br/>
<Builtin>declare</Builtin><Normal Text> </Normal Text><Variable>less</Variable><Normal Text> </Normal Text><Variable>a</Variable><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><OtherCommand>b</OtherCommand><br/>
<Builtin>declare</Builtin><Normal Text> </Normal Text><Variable>a</Variable><Operator>=</Operator><Variable>(</Variable><Normal Text>1 2</Normal Text><Variable>)</Variable><br/>
<Builtin>getopts</Builtin><Normal Text> </Normal Text><Operator>:</Operator><Normal Text>h</Normal Text><Operator>:</Operator><Normal Text>l</Normal Text><Operator>::</Operator><Normal Text>d </Normal Text><Variable>arg</Variable><br/>
<Builtin>read</Builtin><Normal Text> </Normal Text><Comment>#comment</Comment><br/>
<Builtin>let</Builtin><Normal Text> </Normal Text><Variable>a</Variable><Operator>=</Operator><Number>4</Number><Operator>+</Operator><Number>4</Number><Normal Text> </Normal Text><Number>3</Number><Operator>+</Operator><Variable>a</Variable><Normal Text> </Normal Text><Variable>b</Variable><Operator>=</Operator><Variable>c</Variable><Operator>+</Operator><Number>3</Number><Normal Text> </Normal Text><Variable>d</Variable><Operator>+</Operator><Number>3</Number><Normal Text> </Normal Text><Variable>d</Variable><Glob>*</Glob><Path>4</Path><Normal Text> </Normal Text><Comment># * is a glob</Comment><br/>
<Normal Text></Normal Text><br/>
<Comment># options are recoqnized:</Comment><br/>
<Command>zip</Command><Normal Text> </Normal Text><Option>-f</Option><Operator>=</Operator><Normal Text>file.zip</Normal Text><br/>
<OtherCommand>./configure</OtherCommand><Normal Text>  </Normal Text><Option>--destdir</Option><Operator>=</Operator><Path>/usr</Path><br/>
<Command>make</Command><Normal Text>  </Normal Text><Path>destdir=/usr/</Path><br/>
<Normal Text></Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># [[ and [ correctly need spaces to be regarded as structure,</Comment><br/>
<Comment># otherwise they are patterns (currently treated as normal text)</Comment><br/>
<Control Flow>if</Control Flow><Normal Text> </Normal Text><Builtin>[</Builtin><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>p</Variable><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><Expression>==</Expression><Normal Text> </Normal Text><String DoubleQ>""</String DoubleQ><Normal Text> </Normal Text><Builtin>]</Builtin><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><br/>
<Normal Text>	</Normal Text><Command>ls</Command><Normal Text> </Normal Text><Path>/usr/bin/</Path><Glob>[</Glob><String SingleQ>a</String SingleQ><Glob Flag>-</Glob Flag><String SingleQ>z</String SingleQ><Glob>]*</Glob><br/>
<Control Flow>elif</Control Flow><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>p</Variable><Normal Text> </Normal Text><Expression>==</Expression><Normal Text> 0 </Normal Text><Keyword>]]</Keyword><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><br/>
<Normal Text>	</Normal Text><Command>ls</Command><Normal Text> </Normal Text><Path>/usr/share/</Path><Dollar Prefix>$</Dollar Prefix><Variable>p</Variable><br/>
<Control Flow>fi</Control Flow><br/>
<Normal Text></Normal Text><br/>
<Comment># Fixed:</Comment><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>a</Path><Glob>[</Glob><String SingleQ>ab</String SingleQ><Glob>]*</Glob><Normal Text>		</Normal Text><Comment># dont try to interprete as assignment with subscript (fixed)</Comment><br/>
<Variable>a</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Normal Text>ab</Normal Text><Parameter Expansion Operator>]</Parameter Expansion Operator><br/>
<Variable>a</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Normal Text>ab</Normal Text><Parameter Expansion Operator>]</Parameter Expansion Operator><Operator>=</Operator><Normal Text>sa</Normal Text><br/>
<Normal Text></Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># Here documents are difficult to catch:</Comment><br/>
<Command>cat</Command><Normal Text> </Normal Text><Redirection>></Redirection><Normal Text> </Normal Text><Path>myfile</Path><Normal Text> </Normal Text><Redirection><< __EOF__</Redirection><br/>
<Here Doc>You're right, this is definitely no bash code</Here Doc><br/>
<Here Doc>But ls more </Here Doc><Dollar Prefix>$</Dollar Prefix><Variable>parameters</Variable><Here Doc> should be expanded.</Here Doc><br/>
<Redirection>__EOF__</Redirection><br/>
<Normal Text></Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># quoted:</Comment><br/>
<Command>cat</Command><Normal Text> </Normal Text><Redirection><< "EOF"</Redirection><Normal Text> </Normal Text><Control>|</Control><Normal Text> </Normal Text><Command>egrep</Command><Normal Text> </Normal Text><String DoubleQ>"this"</String DoubleQ><Normal Text> </Normal Text><Redirection>>&</Redirection><File Descriptor>4</File Descriptor><Normal Text>   </Normal Text><Comment># the rest of the line is still considered bash source</Comment><br/>
<Here Doc>You're right, this is definitely no bash code</Here Doc><br/>
<Here Doc>But ls more $parameters should be expanded. :-></Here Doc><br/>
<Redirection>EOF</Redirection><br/>
<Normal Text></Normal Text><br/>
<Command>cat</Command><Normal Text> </Normal Text><Redirection><<bla</Redirection><Normal Text> </Normal Text><Control>||</Control><Normal Text> </Normal Text><Builtin>exit</Builtin><br/>
<Here Doc>bla bla</Here Doc><br/>
<Redirection>bla</Redirection><br/>
<Normal Text></Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># indented:</Comment><br/>
<Control Flow>if</Control Flow><Normal Text> </Normal Text><Builtin>true</Builtin><br/>
<Control Flow>then</Control Flow><br/>
<Normal Text>	</Normal Text><Command>cat</Command><Normal Text> </Normal Text><Redirection><<- EOF</Redirection><br/>
<Here Doc>		Indented text with a </Here Doc><Dollar Prefix>$</Dollar Prefix><Variable>dollar</Variable><Here Doc> or </Here Doc><Escape>\$</Escape><Here Doc>two</Here Doc><br/>
<Redirection>	EOF</Redirection><br/>
<Control Flow>elif</Control Flow><Normal Text> </Normal Text><Builtin>[</Builtin><Normal Text> </Normal Text><Expression>-d</Expression><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>file</Variable><Normal Text> </Normal Text><Builtin>]</Builtin><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><br/>
<Normal Text>	</Normal Text><Command>cat</Command><Normal Text> </Normal Text><Redirection><<- "EOF"</Redirection><br/>
<Here Doc>		Indented text without a $dollar</Here Doc><br/>
<Redirection>	EOF</Redirection><br/>
<Control Flow>fi</Control Flow><br/>
<Normal Text></Normal Text><br/>
<Control Flow>if</Control Flow><Normal Text> </Normal Text><Expression>! </Expression><Keyword>{</Keyword><Normal Text> </Normal Text><OtherCommand>cmd1</OtherCommand><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><OtherCommand>cmd2</OtherCommand><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Keyword>}</Keyword><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> ok </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>fi</Control Flow><br/>
<Control Flow>if</Control Flow><Normal Text> </Normal Text><Expression>! </Expression><Keyword>{</Keyword><OtherCommand>cmd1</OtherCommand><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><OtherCommand>cmd2</OtherCommand><Keyword>}</Keyword><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> ok </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>fi</Control Flow><br/>
<Control Flow>if</Control Flow><Normal Text> </Normal Text><Expression>! </Expression><OtherCommand>cmd1</OtherCommand><Normal Text> arg</Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> ok </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>fi</Control Flow><br/>
<Normal Text></Normal Text><br/>
<Control Flow>case</Control Flow><Normal Text> 1 </Normal Text><Keyword>in</Keyword><br/>
<Pattern>2</Pattern><Keyword>)</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> xxx</Normal Text><Control>;</Control><br/>
<Control Flow>;;</Control Flow><br/>
<Glob>?</Glob><Keyword>)</Keyword><Normal Text> </Normal Text><OtherCommand>foo</OtherCommand><Normal Text> </Normal Text><Control>||</Control><Normal Text> </Normal Text><OtherCommand>yyy</OtherCommand><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><OtherCommand>foo</OtherCommand><Normal Text> abc </Normal Text><Control>||</Control><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> abc </Normal Text><Control Flow>;;</Control Flow><br/>
<Pattern>1</Pattern><Keyword>)</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> yyy</Normal Text><Control>;</Control><br/>
<Control Flow>esac</Control Flow><br/>
<Normal Text></Normal Text><br/>
<Command>ls</Command><Normal Text> </Normal Text><Comment>#should be outside of case 1 folding block</Comment><br/>
<Normal Text></Normal Text><br/>
<Control Flow>for</Control Flow><Normal Text> i </Normal Text><Keyword>in</Keyword><Normal Text> </Normal Text><Backquote>`</Backquote><Command>ls</Command><Normal Text> </Normal Text><Path>tests/auto/output/</Path><Glob>*</Glob><Path>.html</Path><Backquote>`</Backquote><Control>;</Control><Normal Text> </Normal Text><Control Flow>do</Control Flow><br/>
<Normal Text>    </Normal Text><Variable>refFile</Variable><Operator>=</Operator><Backquote>`</Backquote><Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>i</Variable><Normal Text> </Normal Text><Control>|</Control><Normal Text> </Normal Text><Command>sed</Command><Normal Text> </Normal Text><Option>-e</Option><Normal Text> s,build,src, </Normal Text><Control>|</Control><Normal Text> </Normal Text><Command>sed</Command><Normal Text> </Normal Text><Option>-e</Option><Normal Text> s,output,reference, </Normal Text><Control>|</Control><Normal Text> </Normal Text><Command>sed</Command><Normal Text> </Normal Text><Option>-e</Option><Normal Text> s,.html,.ref.html,</Normal Text><Backquote>`</Backquote><br/>
<Normal Text>    </Normal Text><Command>cp</Command><Normal Text> </Normal Text><Option>-v</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>i</Variable><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>refFile</Variable><br/>
<Control Flow>done</Control Flow><br/>
<Normal Text></Normal Text><br/>
<Comment>## >Settings >Configure Kate >Fonts & Colors >Highlitghing Text Styles >Scripts/Bash >Option >Change colors to some distinct color</Comment><br/>
<Comment>## 1- In following line the -ucode should not be colored as option</Comment><br/>
<Normal Text></Normal Text><br/>
<OtherCommand>pacman</OtherCommand><Normal Text> </Normal Text><Option>-Syu</Option><Normal Text> </Normal Text><Option>--needed</Option><Normal Text> intel-ucode grub</Normal Text><br/>
<OtherCommand>pacman</OtherCommand><Normal Text> </Normal Text><Option>-syu</Option><Normal Text> </Normal Text><Option>--needed</Option><Normal Text> intel-ucode grub</Normal Text><br/>
<Normal Text></Normal Text><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>line_name</Variable><Normal Text> </Normal Text><Expression>=~</Expression><Normal Text> </Normal Text><Escape>\{</Escape><Operator>([</Operator><Pattern>0</Pattern><Operator>-</Operator><Pattern>9</Pattern><Operator>]</Operator><Parameter Expansion>{</Parameter Expansion><Number>1</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Operator>)</Operator><Escape>\}\{</Escape><Operator>([</Operator><Pattern>0</Pattern><Operator>-</Operator><Pattern>9</Pattern><Operator>]</Operator><Parameter Expansion>{</Parameter Expansion><Number>1</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Operator>)</Operator><Escape>\}</Escape><Operator>(</Operator><Glob>.*</Glob><Operator>)</Operator><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>name</Variable><Normal Text> </Normal Text><Expression>=~</Expression><Normal Text> </Normal Text><Operator>(</Operator><Glob>.*</Glob><Operator>)</Operator><Pattern>_</Pattern><Operator>(</Operator><Pattern>S</Pattern><Operator>[</Operator><Pattern>0</Pattern><Operator>-</Operator><Pattern>9</Pattern><Operator>]</Operator><Parameter Expansion>{</Parameter Expansion><Number>2</Number><Parameter Expansion>}</Parameter Expansion><Operator>)(</Operator><Pattern>E</Pattern><Operator>[</Operator><Pattern>0</Pattern><Operator>-</Operator><Pattern>9</Pattern><Operator>]</Operator><Parameter Expansion>{</Parameter Expansion><Number>2</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>3</Number><Parameter Expansion>}</Parameter Expansion><Operator>[</Operator><Pattern>a</Pattern><Operator>-</Operator><Pattern>z</Pattern><Operator>]</Operator><Parameter Expansion>{</Parameter Expansion><Number>0</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>1</Number><Parameter Expansion>}</Parameter Expansion><Operator>)</Operator><Pattern>_</Pattern><Operator>(</Operator><Glob>.*</Glob><Operator>)</Operator><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Command>rm</Command><Normal Text> </Normal Text><Path>/data/</Path><Escape>{</Escape><Path>hello1</Path><Operator>,</Operator><Path>hello2</Path><Escape>}</Escape><Path>/input/</Path><Escape>{</Escape><Path>bye1</Path><Operator>,</Operator><Dollar Prefix>$</Dollar Prefix><Variable>bye2</Variable><Escape>}</Escape><Path>/si</Path><Escape>{</Escape><Path>a</Path><Operator>,</Operator><Parameter Expansion>${</Parameter Expansion><Variable>b</Variable><Parameter Expansion>}</Parameter Expansion><Operator>,</Operator><Path>c</Path><Escape>{</Escape><Path>k</Path><Operator>,</Operator><Path>p</Path><Escape>{</Escape><Path>e</Path><Operator>,</Operator><Path>a</Path><Escape>}}}</Escape><Path>/</Path><Glob>*</Glob><Path>.non</Path><br/>
<Command>rm</Command><Normal Text> </Normal Text><Path>/data/{aa,</Path><Escape>{</Escape><Path>e</Path><Operator>,</Operator><Path>i</Path><Escape>}</Escape><Path>t</Path><Escape>{</Escape><Path>b</Path><Operator>,</Operator><Path>c</Path><Escape>}</Escape><Normal Text> </Normal Text><Comment># Not closed</Comment><br/>
<Command>rm</Command><Normal Text> </Normal Text><Path>/data/</Path><Escape>{</Escape><Path>aa</Path><Operator>,</Operator><Escape>{</Escape><Path>e</Path><Operator>,</Operator><Path>i</Path><Escape>}</Escape><Path>t</Path><Escape>{</Escape><Path>b</Path><Operator>,</Operator><Path>c</Path><Escape>}}</Escape><br/>
<Command>rm</Command><Normal Text> </Normal Text><Path>/data/</Path><Escape>{</Escape><Path>aa</Path><Operator>,</Operator><Path>{i}</Path><Escape>}</Escape><br/>
<Command>rm</Command><Normal Text> </Normal Text><Path>/data{aa{bb{cc{dd}}}}</Path><br/>
<Command>rm</Command><Normal Text> </Normal Text><Path>/data{aaa</Path><Backquote>`</Backquote><OtherCommand>aaa}aa</OtherCommand><Backquote>`</Backquote><Normal Text>aaa}a</Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># </Comment><Alert Level 2>TODO</Alert Level 2><Comment> `</Comment><br/>
<Normal Text></Normal Text><br/>
<Comment># commands</Comment><br/>
<OtherCommand>abc</OtherCommand><br/>
<Command>cp</Command><br/>
<Builtin>:</Builtin><br/>
<Builtin>.</Builtin><br/>
<OtherCommand>:#nokeyword</OtherCommand><br/>
<OtherCommand>path/cmd</OtherCommand><br/>
<OtherCommand>ec</OtherCommand><Escape>\</Escape><br/>
<OtherCommand>ho</OtherCommand><br/>
<OtherCommand>2</OtherCommand><br/>
<String SingleQ>'a'</String SingleQ><OtherCommand>c</OtherCommand><br/>
<Dollar Prefix>$</Dollar Prefix><Variable>ab</Variable><br/>
<Parameter Expansion>${</Parameter Expansion><Variable>ab</Variable><Parameter Expansion>}</Parameter Expansion><OtherCommand>c</OtherCommand><br/>
<OtherCommand>\ a</OtherCommand><br/>
<OtherCommand>!a</OtherCommand><br/>
<String SingleQ>'a'</String SingleQ><OtherCommand>[</OtherCommand><br/>
<OtherCommand>\ [</OtherCommand><br/>
<OtherCommand>!a[</OtherCommand><br/>
<OtherCommand>a{}d</OtherCommand><br/>
<OtherCommand>a{bc}d</OtherCommand><br/>
<OtherCommand>a</OtherCommand><Escape>{b</Escape><Operator>,</Operator><Escape>c}</Escape><OtherCommand>d</OtherCommand><br/>
<OtherCommand>a</OtherCommand><String SingleQ>'b'</String SingleQ><OtherCommand>c</OtherCommand><br/>
<OtherCommand>a</OtherCommand><Dollar Prefix>$</Dollar Prefix><Variable>bc</Variable><br/>
<OtherCommand>a</OtherCommand><Parameter Expansion>${</Parameter Expansion><Variable>bc</Variable><Parameter Expansion>}</Parameter Expansion><OtherCommand>d</OtherCommand><br/>
<OtherCommand>a\ b</OtherCommand><br/>
<OtherCommand>a!b</OtherCommand><br/>
<Normal Text></Normal Text><br/>
<Comment># commands + params</Comment><br/>
<OtherCommand>shortopt</OtherCommand><Normal Text> </Normal Text><Option>-ol</Option><Normal Text> </Normal Text><Option>-f</Option><Path>/fd/fd</Path><Normal Text> </Normal Text><Option>-hfd</Option><Path>/fds</Path><Normal Text> </Normal Text><Option>-</Option><Normal Text> </Normal Text><Option>-ol</Option><String SingleQ>'a'</String SingleQ><Option>b</Option><Normal Text> </Normal Text><Option>-f</Option><String SingleQ>'a'</String SingleQ><Path>/fd/fd</Path><Normal Text> </Normal Text><Option>-h</Option><String SingleQ>'a'</String SingleQ><Option>fd</Option><Path>/fds</Path><br/>
<OtherCommand>longopt</OtherCommand><Normal Text> </Normal Text><Option>--long-a</Option><Normal Text> </Normal Text><Option>--long-b</Option><Operator>=</Operator><Normal Text>value </Normal Text><Option>--file</Option><Operator>=</Operator><Glob>*</Glob><Normal Text> </Normal Text><Option>--file</Option><Operator>=</Operator><Path>file</Path><Glob>*</Glob><Normal Text> </Normal Text><Option>--file</Option><Operator>=</Operator><Path>dir/file</Path><br/>
<OtherCommand>longopt</OtherCommand><Normal Text> </Normal Text><Option>--long-a</Option><String SingleQ>'a'</String SingleQ><Option>b</Option><Normal Text> </Normal Text><Option>--long</Option><String SingleQ>'a'</String SingleQ><Option>-b</Option><Operator>=</Operator><Normal Text>value </Normal Text><Option>--fi</Option><String SingleQ>'a'</String SingleQ><Option>le</Option><Operator>=</Operator><Glob>*</Glob><br/>
<OtherCommand>noopt</OtherCommand><Normal Text> 3 3d </Normal Text><Option>-f</Option><Normal Text> </Normal Text><Option>--</Option><Normal Text> </Normal Text><Option>-f</Option><Normal Text> </Normal Text><Option>--xx</Option><Normal Text> </Normal Text><Path>dir/file</Path><br/>
<OtherCommand>opt</OtherCommand><Normal Text> </Normal Text><Path>param</Path><Glob>#</Glob><Path>nocomment</Path><Normal Text> ab</Normal Text><String SingleQ>'a'</String SingleQ><Normal Text>cd </Normal Text><Glob>~</Glob><Path>a</Path><Normal Text> .a </Normal Text><Comment>#comments</Comment><br/>
<OtherCommand>path</OtherCommand><Normal Text> </Normal Text><Path>path/file</Path><Normal Text> </Normal Text><Path>dir/</Path><Normal Text> </Normal Text><Path>/</Path><Normal Text> </Normal Text><Path>//</Path><Normal Text> </Normal Text><Path>3/f</Path><Normal Text> </Normal Text><Path>a@/</Path><Normal Text> </Normal Text><String SingleQ>'a'</String SingleQ><Path>/b</Path><Normal Text> </Normal Text><Path>d/</Path><String SingleQ>'a'</String SingleQ><Path>b</Path><Normal Text> </Normal Text><Path>a</Path><Escape>\ </Escape><Path>d/f</Path><Normal Text> </Normal Text><Path>f/f</Path><Escape>\</Escape><br/>
<Path>ile</Path><br/>
<OtherCommand>path</OtherCommand><Normal Text> </Normal Text><Path>~</Path><Normal Text> </Normal Text><Path>~/</Path><Normal Text> </Normal Text><Glob>~</Glob><Path>a/</Path><Normal Text> </Normal Text><Path>.</Path><Normal Text> </Normal Text><Path>..</Path><Normal Text> </Normal Text><Path>./a</Path><Normal Text> </Normal Text><Path>../a</Path><br/>
<OtherCommand>path</OtherCommand><Normal Text> </Normal Text><Path>/path/</Path><Glob>*</Glob><Normal Text> </Normal Text><Path>/path/f</Path><Glob>*</Glob><Normal Text> </Normal Text><Path>/path/f@</Path><Normal Text> </Normal Text><Path>/path/f@</Path><Glob>(|)</Glob><Normal Text> {a/b} </Normal Text><Path>a{b}/c</Path><Normal Text> </Normal Text><Path>a/b{c}</Path><Normal Text> </Normal Text><Path>a/{b}</Path><Normal Text> </Normal Text><Path>a/{b}c</Path><br/>
<OtherCommand>glob</OtherCommand><Normal Text> </Normal Text><Glob>?</Glob><Normal Text> </Normal Text><Glob>*</Glob><Normal Text> </Normal Text><Glob>?</Glob><Path>f</Path><Normal Text> </Normal Text><Glob>*</Glob><Path>f</Path><Normal Text> </Normal Text><Path>f</Path><Glob>*</Glob><Normal Text> </Normal Text><Path>f</Path><Glob>?</Glob><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Normal Text> </Normal Text><Path>~/</Path><Glob>*</Glob><Normal Text> </Normal Text><Glob>~*</Glob><Normal Text> </Normal Text><Path>/path/f</Path><Glob>*</Glob><Normal Text> </Normal Text><String SingleQ>'a'</String SingleQ><Glob>*</Glob><Normal Text> </Normal Text><String SingleQ>'a'</String SingleQ><Path>f/</Path><Glob>?</Glob><br/>
<Comment># ksh pattern is in conflict with extended pattern</Comment><br/>
<OtherCommand>extglob</OtherCommand><Normal Text> @ </Normal Text><Path>@</Path><Glob Flag>(*)</Glob Flag><Normal Text> </Normal Text><Path>@</Path><Glob>(</Glob><Pattern>f</Pattern><Glob>*|</Glob><Pattern>f</Pattern><Glob>??(</Glob><Pattern>f</Pattern><Glob>))</Glob><Normal Text> </Normal Text><Path>f!</Path><Glob>(</Glob><Pattern>+</Pattern><Glob>(?(</Glob><Pattern>@</Pattern><Glob>(*(</Glob><Pattern>f</Pattern><Glob>)</Glob><Pattern>f</Pattern><Glob>)</Glob><Pattern>f</Pattern><Glob>)</Glob><Pattern>f</Pattern><Glob>)</Glob><Pattern>f</Pattern><Glob>)</Glob><Path>f</Path><Normal Text> @</Normal Text><String SingleQ>'a'</String SingleQ><Path>@</Path><Glob>(|)</Glob><Normal Text> </Normal Text><Path>a@</Path><Glob Flag>(?)</Glob Flag><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Glob>*</Glob><Path>.</Path><Glob>*~(</Glob><Pattern>lex</Pattern><Glob>|</Glob><Pattern>parse</Pattern><Glob>)</Glob><Path>.</Path><Glob>[</Glob><String SingleQ>ch</String SingleQ><Glob>]</Glob><Glob Flag>(^D^l1)</Glob Flag><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Path>/tmp/foo</Path><Glob>*</Glob><Glob Flag>(u</Glob Flag><Number>0</Number><Glob Flag>^@</Glob Flag><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>t</Parameter Expansion><Glob Flag>)</Glob Flag><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(W</Glob Flag><Operator>,</Operator><Glob Flag>X)</Glob Flag><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(%W)</Glob Flag><br/>
<OtherCommand>subs</OtherCommand><Normal Text> f! f!! f!s </Normal Text><String SingleQ>'a'</String SingleQ><Normal Text>!s </Normal Text><Escape>\(</Escape><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>v</Variable><Normal Text> </Normal Text><Escape>{a</Escape><Operator>,</Operator><Escape>b}</Escape><Normal Text> {a} </Normal Text><Path>{a}/d</Path><Normal Text> {a</Normal Text><Escape>\,</Escape><Normal Text>} </Normal Text><Escape>{a</Escape><Operator>,</Operator><Escape>}</Escape><Normal Text> </Normal Text><Escape>{a</Escape><Operator>,</Operator><Escape>\}</Escape><Operator>,</Operator><Escape>b}</Escape><Normal Text> </Normal Text><Path>ds/</Path><Escape>{</Escape><Path>a</Path><Operator>,</Operator><Path>b</Path><Escape>}</Escape><Path>sa/s</Path><br/>
<Normal Text></Normal Text><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>!</Path><Glob>?</Glob><Path>main</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Parameter Expansion>$(</Parameter Expansion><Builtin>echo</Builtin><Normal Text> NF</Normal Text><Parameter Expansion>)</Parameter Expansion><Glob Flag>(</Glob Flag><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>a</Parameter Expansion><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>s.</Parameter Expansion Operator><String SingleQ>:</String SingleQ><Parameter Expansion Operator>.</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>PATH</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Control>|</Control><Normal Text> </Normal Text><Command>grep</Command><Normal Text> </Normal Text><String SingleQ>'^...s'</String SingleQ><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob Flag>(#i)</Glob Flag><Glob>*</Glob><Path>.pmm</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob Flag>(#ia</Glob Flag><Number>1</Number><Glob Flag>)</Glob Flag><Path>README</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>(*</Glob><Pattern>/</Pattern><Glob>)#</Glob><Path>bar</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>(</Glob><Pattern>../</Pattern><Glob>)#</Glob><Path>junk2/down.txt</Path><Glob Flag>(</Glob Flag><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>a</Parameter Expansion><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>(^(</Glob><Pattern>backup</Pattern><Glob>*|</Glob><Pattern>cache</Pattern><Glob>*|</Glob><Pattern>list</Pattern><Glob>*|</Glob><Pattern>tmp</Pattern><Glob>)</Glob><Pattern>/</Pattern><Glob>)##*</Glob><Glob Flag>(.)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>(</Glob><Pattern>_</Pattern><Glob>|)</Glob><Path>fred.php</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>(</Glob><Pattern>dev</Pattern><Glob>*|</Glob><Pattern>fred</Pattern><Glob>*|</Glob><Pattern>joe</Pattern><Glob>*)</Glob><Path>/index</Path><Glob>*</Glob><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob Flag>(x*~x</Glob Flag><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>3-5</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>(</Glob><Pattern>xx</Pattern><Glob>|</Glob><Pattern>yy</Pattern><Glob>)</Glob><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(*@)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(+</Glob Flag><Function>nt</Function><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*(</Glob><Pattern>.</Pattern><Glob>)^</Glob><Path>php</Path><Glob>~*</Glob><Path>.c</Path><Glob>~*</Glob><Path>.txt</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(.L</Glob Flag><Number>-20</Number><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(.L</Glob Flag><Number>0</Number><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(.O</Glob Flag><Normal Text>m</Normal Text><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>5</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(.^m</Glob Flag><Number>0</Number><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(.e#</Glob Flag><Normal Text>age 2017-10-01:00:00:00 2017-10-08:23:59:59</Normal Text><Glob Flag>#)</Glob Flag><Normal Text> </Normal Text><Path>/tmp</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(.e-</Glob Flag><Normal Text>age 2018/09/01 2018/01/01</Normal Text><Glob Flag>-)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(.f</Glob Flag><Number>644</Number><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(.g:</Glob Flag><Normal Text>root</Normal Text><Glob Flag>:)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(.m</Glob Flag><Number>-1</Number><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(.m</Glob Flag><Normal Text>M</Normal Text><Number>+6</Number><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(.m</Glob Flag><Normal Text>h</Normal Text><Number>+3</Number><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(.m</Glob Flag><Normal Text>h</Normal Text><Number>-3</Number><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(.m</Glob Flag><Normal Text>h</Normal Text><Number>3</Number><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(.m</Glob Flag><Normal Text>w</Normal Text><Number>+2</Number><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(.o</Glob Flag><Normal Text>m</Normal Text><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>0</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>5</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Glob Flag>e-</Glob Flag><Normal Text>age 2017/09/01 2017/10/01</Normal Text><Glob Flag>-)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(.o</Glob Flag><Normal Text>m</Normal Text><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>2</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>$</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Glob Flag>)</Glob Flag><Normal Text> </Normal Text><Path>old/</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(.rwg:</Glob Flag><Normal Text>nobody</Normal Text><Glob Flag>:u:</Glob Flag><Normal Text>root</Normal Text><Glob Flag>:)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(.u:</Glob Flag><Normal Text>apache</Normal Text><Glob Flag>:)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(/)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(/^F)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(L</Glob Flag><Number>0</Number><Glob Flag>f.</Glob Flag><Normal Text>go-w</Normal Text><Glob Flag>.)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(L</Glob Flag><Normal Text>k</Normal Text><Number>+100</Number><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(L</Glob Flag><Normal Text>m</Normal Text><Number>+2</Number><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(R)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(</Glob Flag><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>10</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(^/</Glob Flag><Operator>,</Operator><Glob Flag>f</Glob Flag><Number>44</Number><Glob>?</Glob><Operator>,</Operator><Glob Flag>f.</Glob Flag><Normal Text>gu+w</Normal Text><Glob Flag>.</Glob Flag><Operator>,</Operator><Glob Flag>o</Glob Flag><Normal Text>L</Normal Text><Glob Flag>+</Glob Flag><Function>rand</Function><Operator>,</Operator><Glob Flag>oe:</Glob Flag><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>cmd</Variable><String DoubleQ> -x"</String DoubleQ><Glob Flag>:P:</Glob Flag><Normal Text>echo</Normal Text><Glob Flag>:</Glob Flag><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>h</Parameter Expansion><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(m</Glob Flag><Number>4</Number><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(m</Glob Flag><Normal Text>h</Normal Text><Number>0</Number><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(m</Glob Flag><Normal Text>w</Normal Text><Number>3</Number><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(</Glob Flag><Parameter Expansion>${</Parameter Expansion><Variable>globqualifiers</Variable><Parameter Expansion>}</Parameter Expansion><Glob Flag>N)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(</Glob Flag><Escape>\^</Escape><String SingleQ>'/'</String SingleQ><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>.php</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Glob Flag>(#ia</Glob Flag><Number>2</Number><Glob Flag>)</Glob Flag><Path>readme</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Glob Flag>(-@)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Glob Flag>(.)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Glob Flag>(.</Glob Flag><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>g-w</Parameter Expansion><Parameter Expansion Operator>:</Parameter Expansion Operator><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Glob Flag>(.L</Glob Flag><Normal Text>m</Normal Text><Number>+10</Number><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Glob Flag>(D/e:</Glob Flag><String SingleQ>'[[ -e $REPLY/index.php && -e $REPLY/index.html ]]'</String SingleQ><Glob Flag>:)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Glob Flag>(u</Glob Flag><Number>0</Number><Glob Flag>WL</Glob Flag><Normal Text>k</Normal Text><Number>+10</Number><Glob Flag>m</Glob Flag><Number>0</Number><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Path>.</Path><Glob>(</Glob><Pattern>js</Pattern><Glob>|</Glob><Pattern>php</Pattern><Glob>|</Glob><Pattern>css</Pattern><Glob>)~(</Glob><Pattern>djr</Pattern><Glob>|</Glob><Pattern>libs</Pattern><Glob>|</Glob><Pattern>dompdf</Pattern><Glob>)</Glob><Path>/</Path><Glob>*~*</Glob><Path>/junk/</Path><Glob>*</Glob><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Path>.</Path><Glob>(</Glob><Pattern>js</Pattern><Glob>|</Glob><Pattern>php</Pattern><Glob>|</Glob><Pattern>css</Pattern><Glob>)~(</Glob><Pattern>libs</Pattern><Glob>|</Glob><Pattern>locallibs</Pattern><Glob>|</Glob><Pattern>test</Pattern><Glob>|</Glob><Pattern>dompdf</Pattern><Glob>)</Glob><Path>/</Path><Glob>*</Glob><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Path>.</Path><Glob>(</Glob><Pattern>php</Pattern><Glob>|</Glob><Pattern>inc</Pattern><Glob>)</Glob><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Path>.</Path><Glob>(</Glob><Pattern>php</Pattern><Glob>|</Glob><Pattern>inc</Pattern><Glob>)~(</Glob><Pattern>libs</Pattern><Glob>|</Glob><Pattern>locallibs</Pattern><Glob>)</Glob><Path>/</Path><Glob>*</Glob><Glob Flag>(.O</Glob Flag><Normal Text>L</Normal Text><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>5</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Path>.txt</Path><Glob Flag>(D.o</Glob Flag><Normal Text>m</Normal Text><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>5</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*~*(</Glob><Parameter Expansion>${</Parameter Expansion><Parameter Expansion Operator>~</Parameter Expansion Operator><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>j/</Parameter Expansion Operator><String SingleQ>|</String SingleQ><Parameter Expansion Operator>/</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>fignore</Variable><Parameter Expansion>}}</Parameter Expansion><Glob>)</Glob><Glob Flag>(.^*)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*~*</Glob><Path>vssver.scc</Path><Glob Flag>(.o</Glob Flag><Normal Text>m</Normal Text><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>20</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*~</Glob><Path>pdf/</Path><Glob>*</Glob><Glob Flag>(.m</Glob Flag><Number>0</Number><Glob Flag>o</Glob Flag><Normal Text>m</Normal Text><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>10</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>^(</Glob><Pattern>vssver.scc</Pattern><Glob>|*</Glob><Pattern>.ini</Pattern><Glob>)</Glob><Glob Flag>(.o</Glob Flag><Normal Text>m</Normal Text><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>20</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>^</Glob><Path>vssver.scc</Path><Glob Flag>(.o</Glob Flag><Normal Text>m</Normal Text><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>20</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/index.php</Path><Glob>~</Glob><Path>dev</Path><Glob>*(</Glob><Pattern>/</Pattern><Glob>*)##</Glob><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/main.</Path><Escape>{</Escape><Path>php</Path><Operator>,</Operator><Path>js</Path><Operator>,</Operator><Path>css</Path><Escape>}</Escape><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Path>.</Path><Glob>(</Glob><Pattern>jpg</Pattern><Glob>|</Glob><Pattern>gif</Pattern><Glob>|</Glob><Pattern>png</Pattern><Glob>)</Glob><Glob Flag>(.)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Path>.</Path><Glob>*</Glob><Glob Flag>(e-</Glob Flag><Normal Text>age 2018/06/01 now</Normal Text><Glob Flag>-)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Path>.</Path><Glob>*</Glob><Glob Flag>(m</Glob Flag><Normal Text>M</Normal Text><Number>4</Number><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Path>.</Path><Glob>*~(</Glob><Pattern>lex</Pattern><Glob>|</Glob><Pattern>parse</Pattern><Glob>)</Glob><Path>.</Path><Glob>[</Glob><String SingleQ>ch</String SingleQ><Glob>]</Glob><Glob Flag>(^D^l1)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Path>.</Path><Glob>*~[</Glob><String SingleQ>a</String SingleQ><Glob Flag>-</Glob Flag><String SingleQ>m</String SingleQ><Glob>]*</Glob><Glob Flag>(u:</Glob Flag><Normal Text>nobody</Normal Text><Glob Flag>:g:</Glob Flag><Normal Text>apache</Normal Text><Glob Flag>:.xX)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Path>.c</Path><Glob Flag>(#q</Glob Flag><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>s</Parameter Expansion><Parameter Expansion Operator>/#%</Parameter Expansion Operator><Glob Flag>(#b)</Glob Flag><Pattern>s</Pattern><Glob>(*)</Glob><Pattern>.c</Pattern><Parameter Expansion Operator>/</Parameter Expansion Operator><String SingleQ>'S${match[1]}.C'</String SingleQ><Parameter Expansion Operator>/</Parameter Expansion Operator><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Path>.c</Path><Glob Flag>(</Glob Flag><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>r</Parameter Expansion><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Path>.c</Path><Glob>~</Glob><Path>lex.c</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Path>.h</Path><Glob>~(</Glob><Pattern>fred</Pattern><Glob>|</Glob><Pattern>foo</Pattern><Glob>)</Glob><Path>.h</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Path>.</Path><Escape>{</Escape><Path>aux</Path><Operator>,</Operator><Path>dvi</Path><Operator>,</Operator><Path>log</Path><Operator>,</Operator><Path>toc</Path><Escape>}</Escape><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Path>.</Path><Escape>{</Escape><Path>jpg</Path><Operator>,</Operator><Path>gif</Path><Escape>}</Escape><Glob Flag>(.N)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*[</Glob><Glob Flag>^</Glob Flag><String SingleQ>2</String SingleQ><Glob>]</Glob><Path>.php</Path><Glob>~*</Glob><Path>template</Path><Glob>*</Glob><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Path>y</Path><Glob>(</Glob><Pattern>2</Pattern><Glob>|)</Glob><Path>.cfm</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Path>y2</Path><Glob>#</Glob><Path>.cfm</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*~*</Glob><Path>.</Path><Glob>*</Glob><Glob Flag>(.)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>./</Path><Glob>*</Glob><Glob Flag>(O</Glob Flag><Normal Text>m</Normal Text><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>-11</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>./</Path><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Glob Flag>(/o</Glob Flag><Normal Text>d</Normal Text><Glob Flag>)</Glob Flag><Normal Text> </Normal Text><File Descriptor>2</File Descriptor><Redirection>></Redirection><Normal Text> </Normal Text><Path>/dev/null</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>./</Path><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Path>.</Path><Glob>(</Glob><Pattern>php</Pattern><Glob>|</Glob><Pattern>inc</Pattern><Glob>|</Glob><Pattern>js</Pattern><Glob>)</Glob><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>./</Path><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Path>.</Path><Escape>{</Escape><Path>inc</Path><Operator>,</Operator><Path>php</Path><Escape>}</Escape><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>./</Path><Glob>*</Glob><Path>.back</Path><Glob Flag>(#qN)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>./</Path><Escape>{</Escape><Path>html</Path><Operator>,</Operator><Path>live</Path><Escape>}</Escape><Path>/</Path><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Path>.</Path><Glob>(</Glob><Pattern>php</Pattern><Glob>|</Glob><Pattern>inc</Pattern><Glob>|</Glob><Pattern>js</Pattern><Glob>)~(**</Glob><Pattern>/wiki</Pattern><Glob>|**</Glob><Pattern>/dompdf</Pattern><Glob>)</Glob><Path>/</Path><Glob>*</Glob><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>/path/</Path><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Glob Flag>(.a</Glob Flag><Number>+10</Number><Glob Flag>e{</Glob Flag><String SingleQ>'stat -sA u +uidr $REPLY; f[$u]="$f[$u]$REPLY"'</String SingleQ><Glob Flag>})</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob><-></Glob><Normal Text> </Normal Text><Glob><-</Glob><Number>6</Number><Glob>></Glob><Normal Text> </Normal Text><Glob><</Glob><Number>4</Number><Glob>-></Glob><Normal Text> </Normal Text><Glob><</Glob><Number>4</Number><Glob>-</Glob><Number>5</Number><Glob>></Glob><Normal Text> </Normal Text><File Descriptor>0</File Descriptor><Glob><-></Glob><Normal Text> </Normal Text><Escape>{</Escape><Number>1</Number><Escape>..</Escape><Number>5</Number><Escape>}</Escape><Normal Text> </Normal Text><Escape>{2</Escape><Operator>,</Operator><Escape>3}</Escape><Normal Text> </Normal Text><Escape>{</Escape><Number>00</Number><Escape>..</Escape><Number>03</Number><Escape>}</Escape><Normal Text> </Normal Text><Glob>(</Glob><Pattern>4</Pattern><Glob>|</Glob><Pattern>5</Pattern><Glob>)</Glob><Normal Text> </Normal Text><Glob>[</Glob><String SingleQ>3</String SingleQ><Glob Flag>-</Glob Flag><String SingleQ>4</String SingleQ><Glob>]</Glob><Normal Text>  </Normal Text><Glob>[</Glob><String SingleQ>3</String SingleQ><Glob Flag>-</Glob Flag><String SingleQ>47</String SingleQ><Glob Flag>-</Glob Flag><String SingleQ>8</String SingleQ><Glob>]</Glob><Normal Text> </Normal Text><Path>0</Path><Glob>?</Glob><Normal Text> </Normal Text><Glob>?</Glob><Path>2</Path><Normal Text> </Normal Text><Glob>*</Glob><Path>2</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Keyword>=</Keyword><Normal Text>some_file</Normal Text><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>DATA_</Path><Glob>[</Glob><String SingleQ>0</String SingleQ><Glob Flag>-</Glob Flag><String SingleQ>9</String SingleQ><Glob>]</Glob><Glob Flag>(#c,</Glob Flag><Number>4</Number><Glob Flag>)</Glob Flag><Path>.csv</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>DATA_</Path><Glob>[</Glob><String SingleQ>0</String SingleQ><Glob Flag>-</Glob Flag><String SingleQ>9</String SingleQ><Glob>]</Glob><Glob Flag>(#c</Glob Flag><Number>3</Number><Glob Flag>)</Glob Flag><Path>.csv</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>DATA_</Path><Glob>[</Glob><String SingleQ>0</String SingleQ><Glob Flag>-</Glob Flag><String SingleQ>9</String SingleQ><Glob>]</Glob><Glob Flag>(#c</Glob Flag><Number>4</Number><Glob Flag>,)</Glob Flag><Path>.csv</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>DATA_</Path><Glob>[</Glob><String SingleQ>0</String SingleQ><Glob Flag>-</Glob Flag><String SingleQ>9</String SingleQ><Glob>]</Glob><Glob Flag>(#c</Glob Flag><Number>4</Number><Glob Flag>,</Glob Flag><Number>7</Number><Glob Flag>)</Glob Flag><Path>.csv</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>PHP</Path><Glob>*</Glob><Path>/</Path><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Path>.php</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>[</Glob><String SingleQ>01</String SingleQ><Glob>]<-></Glob><Path>201</Path><Glob>[</Glob><String SingleQ>45</String SingleQ><Glob>]</Glob><Path>/Daily</Path><Escape>\ </Escape><Path>report</Path><Glob>*</Glob><Path>.csv</Path><Glob Flag>(e#</Glob Flag><Normal Text>age 2014/10/22 now</Normal Text><Glob Flag>#)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>^*</Glob><Path>.</Path><Glob>(</Glob><Pattern>css</Pattern><Glob>|</Glob><Pattern>php</Pattern><Glob>)</Glob><Glob Flag>(.)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>^?*</Glob><Path>.</Path><Glob>*</Glob><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>^?*</Glob><Path>.</Path><Glob>*</Glob><Glob Flag>(D)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>^?*</Glob><Path>.</Path><Glob>[</Glob><Glob Flag>^</Glob Flag><String SingleQ>.</String SingleQ><Glob>]*</Glob><Glob Flag>(D)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>a</Path><Glob Flag>(#c</Glob Flag><Number>3</Number><Glob Flag>)</Glob Flag><Path>.txt</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>file</Path><Glob><</Glob><Number>20</Number><Glob>-></Glob><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>foot</Path><Glob>(</Glob><Pattern>fall</Pattern><Glob>)#</Glob><Path>.pl</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>fred</Path><Glob><</Glob><Number>76</Number><Glob>-</Glob><Number>88</Number><Glob>></Glob><Path>.pl</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>fred</Path><Glob><</Glob><Number>76</Number><Glob>-></Glob><Path>.pl</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>fred</Path><Glob>^</Glob><Path>erick</Path><Glob>*</Glob><br/>
<Command>ls</Command><Normal Text> fred</Normal Text><Escape>{</Escape><Number>09</Number><Escape>..</Escape><Number>13</Number><Escape>}</Escape><Normal Text>.pl</Normal Text><br/>
<Command>ls</Command><Normal Text> fred</Normal Text><Escape>{joe</Escape><Operator>,</Operator><Escape>sid}</Escape><Normal Text>.pl</Normal Text><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>x</Path><Glob>*~(</Glob><Pattern>x3</Pattern><Glob>|</Glob><Pattern>x5</Pattern><Glob>)</Glob><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>x</Path><Glob>*~^</Glob><Path>x</Path><Glob>[</Glob><String SingleQ>3,5</String SingleQ><Glob>]</Glob><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>x</Path><Glob>*~</Glob><Path>x</Path><Glob>[</Glob><String SingleQ>3,5</String SingleQ><Glob>]</Glob><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>x</Path><Glob>^[</Glob><String SingleQ>3,5</String SingleQ><Glob>]</Glob><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>y2</Path><Glob>#</Glob><Path>.cfm</Path><Normal Text> y</Normal Text><Escape>{2</Escape><Operator>,</Operator><Escape>}</Escape><Normal Text>.cfm </Normal Text><Path>y</Path><Glob>(</Glob><Pattern>2</Pattern><Glob>|)</Glob><Path>.cfm</Path><Normal Text> </Normal Text><Escape>{y2</Escape><Operator>,</Operator><Escape>y}</Escape><Normal Text>.cfm </Normal Text><Glob>(</Glob><Pattern>y</Pattern><Glob>|</Glob><Pattern>y2</Pattern><Glob>)</Glob><Path>.cfm</Path><Normal Text> </Normal Text><Path>y</Path><Glob>*</Glob><Path>.cfm</Path><br/>
<Command>ls</Command><Normal Text> </Normal Text><Escape>{</Escape><Glob>^</Glob><Escape>dev</Escape><Glob>*</Glob><Operator>,</Operator><Escape>}</Escape><Path>/index.php</Path><Glob Flag>(.N)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Escape>{_</Escape><Operator>,</Operator><Escape>}</Escape><Normal Text>fred.php</Normal Text><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>{p..q}</Path><Glob><</Glob><Number>5</Number><Glob>-></Glob><Path>{1..4}.</Path><Glob Flag>(#I)</Glob Flag><Path>php</Path><Glob Flag>(.N)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>~</Glob><Path>1/</Path><Glob>*</Glob><Glob Flag>(.o</Glob Flag><Normal Text>m</Normal Text><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Path>.php</Path><Glob>~*</Glob><Path>junk</Path><Glob>*</Glob><Path>/</Path><Glob>*</Glob><Normal Text>  </Normal Text><Comment>#find all calls to mail, ignoring junk directories</Comment><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>(*</Glob><Pattern>.cfm</Pattern><Glob>~(</Glob><Pattern>ctpigeonbot</Pattern><Glob>|</Glob><Pattern>env</Pattern><Glob>)</Glob><Pattern>.cfm</Pattern><Glob>)</Glob><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Path>.</Path><Escape>{</Escape><Path>js</Path><Operator>,</Operator><Path>php</Path><Operator>,</Operator><Path>css</Path><Escape>}</Escape><Glob>~(</Glob><Pattern>libs</Pattern><Glob>|</Glob><Pattern>temp</Pattern><Glob>|</Glob><Pattern>tmp</Pattern><Glob>|</Glob><Pattern>test</Pattern><Glob>)</Glob><Path>/</Path><Glob>*</Glob><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Path>/</Path><Glob>*</Glob><Path>.php</Path><Glob>~</Glob><Path>libs/</Path><Glob>*~</Glob><Path>temp/</Path><Glob>*~</Glob><Path>test/</Path><Glob>*</Glob><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>(*</Glob><Pattern>.cfm</Pattern><Glob>~(</Glob><Pattern>ctpigeonbot</Pattern><Glob>|</Glob><Pattern>env</Pattern><Glob>)</Glob><Pattern>.cfm</Pattern><Glob>)~*(</Glob><Glob Flag>(#s)</Glob Flag><Glob>|</Glob><Pattern>/</Pattern><Glob>)</Glob><Path>junk</Path><Glob>*</Glob><Path>/</Path><Glob>*</Glob><Glob Flag>(.)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Path>.</Path><Glob>(</Glob><Pattern>js</Pattern><Glob>|</Glob><Pattern>php</Pattern><Glob>|</Glob><Pattern>css</Pattern><Glob>)~(</Glob><Pattern>libs</Pattern><Glob>|</Glob><Pattern>temp</Pattern><Glob>|</Glob><Pattern>test</Pattern><Glob>)</Glob><Path>/</Path><Glob>*</Glob><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Path>.</Path><Glob>(</Glob><Pattern>js</Pattern><Glob>|</Glob><Pattern>php</Pattern><Glob>|</Glob><Pattern>css</Pattern><Glob>)~</Glob><Path>libs/</Path><Glob>*~</Glob><Path>temp/</Path><Glob>*~</Glob><Path>test/</Path><Glob>*</Glob><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>report/</Path><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Path>.</Path><Escape>{</Escape><Path>inc</Path><Operator>,</Operator><Path>php</Path><Escape>}</Escape><Normal Text>  </Normal Text><Comment># searching for a php variable</Comment><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Path>.log</Path><Glob Flag>(Ne-</Glob Flag><Normal Text>age 2006/10/04:10:15 2006/10/04:12:45</Normal Text><Glob Flag>-)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Parameter Expansion>$(</Parameter Expansion><Builtin>echo</Builtin><Normal Text> </Normal Text><Path>/c/aax/</Path><Glob>*</Glob><Glob Flag>(.o</Glob Flag><Normal Text>m</Normal Text><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Glob Flag>)</Glob Flag><Parameter Expansion>)</Parameter Expansion><Glob Flag>(+</Glob Flag><Function>cyg</Function><Glob Flag>)</Glob Flag><Normal Text> </Normal Text><Control>&</Control><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>*~</Glob><Path>vssver.scc</Path><Glob Flag>(.o</Glob Flag><Normal Text>m</Normal Text><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Path>/c/aax/</Path><Glob>*</Glob><Glob Flag>(.o</Glob Flag><Normal Text>m</Normal Text><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Glob Flag>+</Glob Flag><Function>cyg</Function><Glob Flag>)</Glob Flag><br/>
<Command>ls</Command><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>ps:</Parameter Expansion Operator><String SingleQ>\0</String SingleQ><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>$(</Parameter Expansion><Command>grep</Command><Normal Text> </Normal Text><Option>-lZ</Option><Normal Text> foobar </Normal Text><Path>./</Path><Glob>*</Glob><Path>.txt</Path><Glob Flag>(.)</Glob Flag><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>}</Parameter Expansion><br/>
<Command>ls</Command><Normal Text> </Normal Text><Glob>[</Glob><String SingleQ>[[[</String SingleQ><Glob>]</Glob><Path>]x</Path><Glob>*</Glob><br/>
<Normal Text></Normal Text><br/>
<OtherCommand>2</OtherCommand><Normal Text> </Normal Text><Option>-</Option><Normal Text> f </Normal Text><Option>-f</Option><br/>
<OtherCommand>!a</OtherCommand><Normal Text> </Normal Text><Option>-f</Option><br/>
<String SingleQ>'a'</String SingleQ><Normal Text> </Normal Text><Option>-f</Option><br/>
<Dollar Prefix>$</Dollar Prefix><Variable>a</Variable><Normal Text> </Normal Text><Option>-f</Option><br/>
<Expression>! </Expression><OtherCommand>cmd</OtherCommand><br/>
<Normal Text></Normal Text><br/>
<Comment># coproc command (#460301)</Comment><br/>
<Builtin>coproc</Builtin><Normal Text> </Normal Text><Command>ls</Command><Normal Text> thisfiledoesntexist </Normal Text><File Descriptor>2</File Descriptor><Redirection>>&</Redirection><File Descriptor>1</File Descriptor><br/>
<Builtin>coproc</Builtin><Normal Text> </Normal Text><Keyword>{</Keyword><Normal Text> </Normal Text><Command>ls</Command><Normal Text> thisfiledoesntexist</Normal Text><Control>;</Control><Normal Text> </Normal Text><Builtin>read</Builtin><Control>;</Control><Normal Text> </Normal Text><Keyword>}</Keyword><Normal Text> </Normal Text><File Descriptor>2</File Descriptor><Redirection>>&</Redirection><File Descriptor>1</File Descriptor><br/>
<Normal Text></Normal Text><br/>
<Comment># redirections (prefix)</Comment><br/>
<Redirection><<<</Redirection><Normal Text>s </Normal Text><Command>cat</Command><br/>
<Redirection><<<</Redirection><String SingleQ>'s'</String SingleQ><Normal Text> </Normal Text><Command>cat</Command><br/>
<Redirection><<<</Redirection><String SingleQ>'s'</String SingleQ><Normal Text>s </Normal Text><Command>cat</Command><br/>
<Redirection><<<</Redirection><Normal Text>s</Normal Text><String SingleQ>'s'</String SingleQ><Normal Text>s </Normal Text><Command>cat</Command><br/>
<Redirection><<<</Redirection><Normal Text>s</Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>s</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text>s </Normal Text><Command>cat</Command><br/>
<Redirection><<<</Redirection><Normal Text> s</Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>s</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text>s </Normal Text><Command>cat</Command><br/>
<Redirection>>&</Redirection><File Descriptor>2</File Descriptor><Normal Text> </Normal Text><Command>cat</Command><br/>
<Redirection><</Redirection><Path>f</Path><Normal Text> </Normal Text><Command>cat</Command><br/>
<File Descriptor>2</File Descriptor><Redirection>></Redirection><Path>3</Path><Normal Text> </Normal Text><Command>cat</Command><br/>
<File Descriptor>2</File Descriptor><Redirection>>&</Redirection><File Descriptor>3</File Descriptor><Normal Text> </Normal Text><Command>cat</Command><br/>
<File Descriptor>2</File Descriptor><Redirection>>&</Redirection><Normal Text> </Normal Text><File Descriptor>3</File Descriptor><Normal Text> </Normal Text><Command>cat</Command><br/>
<File Descriptor>2</File Descriptor><Redirection>></Redirection><Path>f</Path><Normal Text> </Normal Text><Command>cat</Command><br/>
<Redirection>&></Redirection><Path>f</Path><Normal Text> </Normal Text><Command>cat</Command><br/>
<File Descriptor>2</File Descriptor><Redirection>>>(</Redirection><OtherCommand>xless</OtherCommand><Redirection>)</Redirection><Normal Text> </Normal Text><Command>cat</Command><br/>
<File Descriptor>2</File Descriptor><Redirection><<(</Redirection><OtherCommand>xless</OtherCommand><Redirection>)</Redirection><Normal Text> </Normal Text><Command>cat</Command><br/>
<File Descriptor>2</File Descriptor><Redirection>>>(</Redirection><OtherCommand>xless</OtherCommand><Redirection>)</Redirection><Command>cat</Command><br/>
<File Descriptor>2</File Descriptor><Redirection><<(</Redirection><OtherCommand>xless</OtherCommand><Redirection>)</Redirection><Command>cat</Command><br/>
<Normal Text></Normal Text><br/>
<Comment># redirections</Comment><br/>
<Command>cat</Command><Normal Text> f</Normal Text><Redirection>></Redirection><Path>2</Path><br/>
<Command>cat</Command><Normal Text> </Normal Text><Path>d/f</Path><Redirection>></Redirection><Path>2</Path><br/>
<Command>cat</Command><Normal Text> </Normal Text><Path>d/f</Path><Normal Text> </Normal Text><Redirection>></Redirection><Path>2</Path><br/>
<Command>cat</Command><Normal Text> </Normal Text><Path>d/f</Path><Normal Text> </Normal Text><Redirection>>&</Redirection><Normal Text> </Normal Text><File Descriptor>2</File Descriptor><br/>
<Command>cat</Command><Normal Text> </Normal Text><Redirection>></Redirection><Path>2</Path><Normal Text> </Normal Text><Path>d/f</Path><br/>
<Command>cat</Command><Normal Text> </Normal Text><Redirection>></Redirection><Normal Text> </Normal Text><Path>2</Path><br/>
<Command>cat</Command><Normal Text> </Normal Text><Redirection><(</Redirection><Builtin>echo</Builtin><Redirection>)</Redirection><Normal Text> </Normal Text><Redirection><(</Redirection><Builtin>echo</Builtin><Normal Text> a</Normal Text><Redirection>)</Redirection><Normal Text> </Normal Text><Redirection><(</Redirection><Builtin>echo</Builtin><Normal Text> </Normal Text><Path>a/f</Path><Redirection>)</Redirection><Normal Text> </Normal Text><Redirection><(</Redirection><Builtin>echo</Builtin><Normal Text> </Normal Text><Redirection>)</Redirection><Normal Text> </Normal Text><Redirection><(</Redirection><Builtin>echo</Builtin><Normal Text> a </Normal Text><Redirection>)</Redirection><Normal Text> </Normal Text><Redirection><(</Redirection><Builtin>echo</Builtin><Normal Text> </Normal Text><Path>a/f</Path><Normal Text> </Normal Text><Redirection>)</Redirection><br/>
<Command>cat</Command><Normal Text> </Normal Text><File Descriptor>2</File Descriptor><Redirection>>>(</Redirection><OtherCommand>xless</OtherCommand><Redirection>)</Redirection><br/>
<Command>cat</Command><Normal Text> </Normal Text><File Descriptor>2</File Descriptor><Redirection><<(</Redirection><OtherCommand>xless</OtherCommand><Redirection>)</Redirection><br/>
<Command>cat</Command><Normal Text> </Normal Text><File Descriptor>2</File Descriptor><Redirection>>&</Redirection><File Descriptor>1</File Descriptor><Normal Text> </Normal Text><Redirection>&></Redirection><Path>f</Path><Normal Text> </Normal Text><Redirection>&>></Redirection><Path>f</Path><Normal Text> </Normal Text><File Descriptor>2</File Descriptor><Redirection><&</Redirection><File Descriptor>1</File Descriptor><Keyword>-</Keyword><Normal Text> </Normal Text><File Descriptor>2</File Descriptor><Redirection><></Redirection><Path>f</Path><Normal Text> </Normal Text><File Descriptor>2</File Descriptor><Redirection><<heredoc</Redirection><br/>
<Here Doc>bla bla</Here Doc><br/>
<Redirection>heredoc</Redirection><br/>
<Redirection><<-'h'</Redirection><Normal Text> </Normal Text><Command>cat</Command><br/>
<Here Doc>bla</Here Doc><br/>
<Redirection>h</Redirection><br/>
<Redirection><<"'"</Redirection><Normal Text> </Normal Text><Command>cat</Command><br/>
<Here Doc>bla</Here Doc><br/>
<Redirection>'</Redirection><br/>
<Command>cat</Command><Normal Text> </Normal Text><Redirection><<heredoc</Redirection><br/>
<Here Doc>bla bla</Here Doc><br/>
<Redirection>heredoc</Redirection><br/>
<Command>cat</Command><Normal Text> </Normal Text><Redirection><<heredoc</Redirection><Normal Text> </Normal Text><Option>-a</Option><br/>
<Here Doc>bla bla</Here Doc><br/>
<Redirection>heredoc</Redirection><br/>
<Variable>r</Variable><Operator>=</Operator><Parameter Expansion>$(</Parameter Expansion><OtherCommand>xxx</OtherCommand><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>@</Variable><Normal Text> </Normal Text><File Descriptor>2</File Descriptor><Redirection>>&</Redirection><File Descriptor>1</File Descriptor><Parameter Expansion>)</Parameter Expansion><br/>
<Normal Text></Normal Text><br/>
<Comment># branches</Comment><br/>
<Command>cat</Command><Normal Text> a</Normal Text><Control>|</Control><Command>cat</Command><br/>
<Command>cat</Command><Normal Text> a</Normal Text><Control>&</Control><Command>cat</Command><br/>
<Command>cat</Command><Normal Text> a</Normal Text><Control>||</Control><Command>cat</Command><br/>
<Command>cat</Command><Normal Text> a</Normal Text><Control>&&</Control><Command>cat</Command><br/>
<Command>cat</Command><Normal Text> a</Normal Text><Control>;</Control><Command>cat</Command><br/>
<Command>cat</Command><Normal Text> a </Normal Text><Control>|</Control><Normal Text> </Normal Text><Command>cat</Command><br/>
<Command>cat</Command><Normal Text> a </Normal Text><Control>&</Control><Normal Text> </Normal Text><Command>cat</Command><br/>
<Command>cat</Command><Normal Text> a </Normal Text><Control>||</Control><Normal Text> </Normal Text><Command>cat</Command><br/>
<Command>cat</Command><Normal Text> a </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Command>cat</Command><br/>
<Command>cat</Command><Normal Text> a </Normal Text><Control>;</Control><Normal Text> </Normal Text><Command>cat</Command><br/>
<Command>cat</Command><Normal Text> a</Normal Text><String SingleQ>'a'</String SingleQ><Control>;</Control><Command>cat</Command><br/>
<Normal Text></Normal Text><br/>
<Comment># substitutions</Comment><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><String SingleQ>''</String SingleQ><Normal Text> </Normal Text><String SingleQ>'a'</String SingleQ><Normal Text> </Normal Text><String SingleQ>'\'</String SingleQ><Normal Text> </Normal Text><String DoubleQ>""</String DoubleQ><Normal Text> </Normal Text><String DoubleQ>"a"</String DoubleQ><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><String Escape>\\</String Escape><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>a</Variable><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><String DoubleQ>"a""a"</String DoubleQ><String SingleQ>'a''a'</String SingleQ><Normal Text> a</Normal Text><String SingleQ>'b'</String SingleQ><Normal Text>c a</Normal Text><String DoubleQ>"b"</String DoubleQ><Normal Text>c a</Normal Text><String SingleQ>$'</String SingleQ><String Escape>\n</String Escape><String SingleQ>'</String SingleQ><Normal Text>c</Normal Text><br/>
<Builtin>echo</Builtin><Normal Text> a!bc a{a}b a</Normal Text><Escape>{b</Escape><Operator>,</Operator><Escape>c}</Escape><Normal Text>d a</Normal Text><Escape>{b</Escape><Operator>,</Operator><Escape>{d</Escape><Operator>,</Operator><Escape>e}}</Escape><Normal Text>d a</Normal Text><Escape>\ </Escape><Normal Text>b</Normal Text><br/>
<Builtin>echo</Builtin><Normal Text> a</Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>bc</Variable><Normal Text> a</Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>b</Variable><Path>/c</Path><Normal Text> a</Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>b</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text>c a</Normal Text><Parameter Expansion>$((</Parameter Expansion><Variable>b</Variable><Operator>-</Operator><Number>3</Number><Parameter Expansion>))</Parameter Expansion><Normal Text>c a</Normal Text><Parameter Expansion>$(</Parameter Expansion><OtherCommand>b</OtherCommand><Parameter Expansion>)</Parameter Expansion><Normal Text>c a</Normal Text><Parameter Expansion>$(</Parameter Expansion><OtherCommand>a</OtherCommand><Normal Text> b c</Normal Text><Parameter Expansion>)</Parameter Expansion><Normal Text>c</Normal Text><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>a</Variable><Parameter Expansion Operator>[*]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>a</Variable><Parameter Expansion Operator>[@]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>a</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Parameter Expansion>${</Parameter Expansion><Variable>b</Variable><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>a</Variable><Parameter Expansion Operator>:-</Parameter Expansion Operator><String DoubleQ>x</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>z</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>a</Variable><Parameter Expansion Operator>/</Parameter Expansion Operator><Pattern>g</Pattern><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>a</Variable><Parameter Expansion Operator>//</Parameter Expansion Operator><Pattern>f</Pattern><Parameter Expansion Operator>/</Parameter Expansion Operator><String DoubleQ>f</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>a</Variable><Parameter Expansion Operator>//</Parameter Expansion Operator><Pattern>f</Pattern><Glob>*</Glob><Parameter Expansion Operator>/</Parameter Expansion Operator><Path>f</Path><Glob>*</Glob><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>!</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Parameter Expansion Operator>!</Parameter Expansion Operator><String DoubleQ>a</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Parameter Expansion Operator>#</Parameter Expansion Operator><Variable>a</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>a</Variable><Parameter Expansion Operator>:</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>:</Parameter Expansion Operator><Dollar Prefix>$</Dollar Prefix><Variable>b</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>$((</Parameter Expansion><Operator>++</Operator><Variable>i</Variable><Control>,</Control><Variable>i</Variable><Operator>--</Operator><Parameter Expansion>))</Parameter Expansion><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>a</Variable><Parameter Expansion Operator>:^</Parameter Expansion Operator><String DoubleQ>v</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Parameter Expansion Operator>=</Parameter Expansion Operator><Variable>a</Variable><Parameter Expansion Operator>:/#%</Parameter Expansion Operator><Pattern>a</Pattern><Glob>#?*</Glob><Parameter Expansion Operator>/</Parameter Expansion Operator><String DoubleQ>bla</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>x</Variable><Parameter Expansion Operator>#</Parameter Expansion Operator><Glob>??</Glob><Glob Flag>(#i)</Glob Flag><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>das</Variable><Parameter Expansion Operator>:-</Parameter Expansion Operator><String DoubleQ>{}<a.zsh</String DoubleQ><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>f</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>$(</Parameter Expansion><Redirection><</Redirection><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${${(</Parameter Expansion><Parameter Expansion Operator>Az</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>l</Variable><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>[</Parameter Expansion Operator><Dollar Prefix>$</Dollar Prefix><Variable>2</Variable><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>f</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>$(</Parameter Expansion><Builtin>eval</Builtin><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>q</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>@</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>2</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>$</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>})</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>@</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>foo</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>@</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>foo</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>2</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${${(</Parameter Expansion><Parameter Expansion Operator>A</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>name</Variable><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>AA</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Parameter Expansion Operator>=</Parameter Expansion Operator><Variable>name</Variable><Parameter Expansion Operator>=</Parameter Expansion Operator><String DoubleQ>...</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>Q</Parameter Expansion Operator><Parameter Expansion>)${(</Parameter Expansion><Parameter Expansion Operator>z</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>foo</Variable><Parameter Expansion>}}</Parameter Expansion><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>ps.</Parameter Expansion Operator><Variable>$sep</Variable><Parameter Expansion Operator>.</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>val</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>ps.</Parameter Expansion Operator><String SingleQ>${sep}</String SingleQ><Parameter Expansion Operator>.</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>val</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>s.</Parameter Expansion Operator><String SingleQ>$sep</String SingleQ><Parameter Expansion Operator>.</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>val</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>s.</Parameter Expansion Operator><String SingleQ>)(</String SingleQ><Parameter Expansion Operator>.</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>val</Variable><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>pr:</Parameter Expansion Operator><Number>2</Number><Operator>+</Operator><Number>3</Number><Parameter Expansion Operator>::</Parameter Expansion Operator><String SingleQ>_</String SingleQ><Parameter Expansion Operator>::</Parameter Expansion Operator><Variable>$d</Variable><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>var</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>r:</Parameter Expansion Operator><Number>2</Number><Operator>+</Operator><Number>3</Number><Parameter Expansion Operator>::</Parameter Expansion Operator><String SingleQ>_</String SingleQ><Parameter Expansion Operator>::</Parameter Expansion Operator><String SingleQ>$d</String SingleQ><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>var</Variable><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>${${</Parameter Expansion><Parameter Expansion Operator>:-</Parameter Expansion Operator><String DoubleQ>=cat</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>h}</Parameter Expansion><br/>
<Dollar Prefix>$</Dollar Prefix><Variable>foo</Variable><Parameter Expansion>:h</Parameter Expansion><Number>34</Number><Parameter Expansion>:a:gs</Parameter Expansion><Parameter Expansion Operator>/</Parameter Expansion Operator><String SingleQ>dfs</String SingleQ><Parameter Expansion Operator>/</Parameter Expansion Operator><String SingleQ>fds</String SingleQ><Parameter Expansion Operator>/</Parameter Expansion Operator><Parameter Expansion>:s</Parameter Expansion><Parameter Expansion Operator>/</Parameter Expansion Operator><String SingleQ>fds</String SingleQ><Parameter Expansion Operator>/</Parameter Expansion Operator><String SingleQ>d'd'f</String SingleQ><Normal Text> xyz </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>foo</Variable><Normal Text>: </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>foo</Variable><Normal Text>:O </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>foo</Variable><Parameter Expansion>:A</Parameter Expansion><br/>
<Variable>3</Variable><Operator>=</Operator><Dollar Prefix>$</Dollar Prefix><Variable>foo</Variable><Parameter Expansion>:Q</Parameter Expansion><Normal Text>QQ </Normal Text><OtherCommand>xyz</OtherCommand><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>a</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>3</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>$</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>:h</Parameter Expansion><Number>3</Number><Parameter Expansion>:t</Parameter Expansion><Number>1</Number><Parameter Expansion>:e</Parameter Expansion><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>${${</Parameter Expansion><Parameter Expansion Operator>~</Parameter Expansion Operator><Variable>foo</Variable><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>//</Parameter Expansion Operator><Escape>\*</Escape><Parameter Expansion Operator>/</Parameter Expansion Operator><Glob>*</Glob><Path>.c</Path><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>echo</Builtin><Normal Text> !$ !!:$ </Normal Text><Path>!</Path><Glob>*</Glob><Normal Text> </Normal Text><Path>!!:</Path><Glob>*</Glob><Normal Text> !-2:2 !:-3 </Normal Text><Path>!:2</Path><Glob>*</Glob><Normal Text> !:2- !:2-3 </Normal Text><Path>!</Path><Glob>^</Glob><Normal Text> !:1 !!:1</Normal Text><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>bg</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Normal Text>blue</Normal Text><Parameter Expansion Operator>]</Parameter Expansion Operator><Dollar Prefix>$</Dollar Prefix><Variable>fg</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Normal Text>yellow</Normal Text><Parameter Expansion Operator>]</Parameter Expansion Operator><String DoubleQ>highlight a message"</String DoubleQ><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>bg</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Normal Text>red</Normal Text><Parameter Expansion Operator>]</Parameter Expansion Operator><Dollar Prefix>$</Dollar Prefix><Variable>fg</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Normal Text>black</Normal Text><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>l:</Parameter Expansion Operator><Number>42</Number><Parameter Expansion Operator>::</Parameter Expansion Operator><String SingleQ>-</String SingleQ><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>)}</Parameter Expansion><String DoubleQ>"</String DoubleQ><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Parameter Expansion>${${(</Parameter Expansion><Parameter Expansion Operator>@</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>foo</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>2</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>4</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>2</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><String DoubleQ>"</String DoubleQ><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>j::</Parameter Expansion Operator><Parameter Expansion>)${(</Parameter Expansion><Parameter Expansion Operator>@Oa</Parameter Expansion Operator><Parameter Expansion>)${(</Parameter Expansion><Parameter Expansion Operator>s::</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Parameter Expansion Operator>:-</Parameter Expansion Operator><String DoubleQ>hello</String DoubleQ><Parameter Expansion>}}}</Parameter Expansion><String DoubleQ>"</String DoubleQ><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>j::</Parameter Expansion Operator><Parameter Expansion>)${(</Parameter Expansion><Parameter Expansion Operator>@Oa</Parameter Expansion Operator><Parameter Expansion>)${(</Parameter Expansion><Parameter Expansion Operator>s::</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Parameter Expansion Operator>:-</Parameter Expansion Operator><String DoubleQ>hello</String DoubleQ><Parameter Expansion>}}}</Parameter Expansion><String DoubleQ>"</String DoubleQ><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><String DoubleQ>"<a href='</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>url</Variable><String DoubleQ>'></String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>anchortext</Variable><String DoubleQ></a>"</String DoubleQ><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>$((</Parameter Expansion><Normal Text> </Normal Text><Variable>sin</Variable><Normal Text>(</Normal Text><Number>1</Number><Operator>/</Operator><Number>4.0</Number><Normal Text>)</Normal Text><Operator>**</Operator><Number>2</Number><Normal Text> </Normal Text><Operator>+</Operator><Normal Text> </Normal Text><Variable>cos</Variable><Normal Text>(</Normal Text><Number>1</Number><Operator>/</Operator><Number>4.0</Number><Normal Text>)</Normal Text><Operator>**</Operator><Number>2</Number><Normal Text> </Normal Text><Operator>-</Operator><Normal Text> </Normal Text><Number>1</Number><Normal Text> </Normal Text><Parameter Expansion>))</Parameter Expansion><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>a</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Parameter Expansion>${</Parameter Expansion><Variable>RANDOM</Variable><Parameter Expansion>}</Parameter Expansion><Operator>%</Operator><Number>1000</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>a</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Parameter Expansion>${</Parameter Expansion><Variable>RANDOM</Variable><Parameter Expansion>}</Parameter Expansion><Operator>%</Operator><Number>11</Number><Operator>+</Operator><Number>10</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>convtable</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>158</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>array</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>0</Number><Parameter Expansion Operator>]:</Parameter Expansion Operator><Normal Text> </Normal Text><Operator>-</Operator><Number>7</Number><Normal Text> </Normal Text><Parameter Expansion Operator>:</Parameter Expansion Operator><Normal Text> </Normal Text><Operator>+</Operator><Normal Text>  </Normal Text><Number>22</Number><Normal Text>  </Normal Text><Parameter Expansion>}</Parameter Expansion><Normal Text>  </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>array</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]:</Parameter Expansion Operator><Normal Text> num  </Normal Text><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>parameter</Variable><Parameter Expansion Operator>##</Parameter Expansion Operator><String DoubleQ>word</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>parameter</Variable><Parameter Expansion Operator>%%</Parameter Expansion Operator><String DoubleQ>word</String DoubleQ><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>f</Variable><Normal Text> </Normal Text><String SingleQ>' # $fred'</String SingleQ><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>f</Variable><Parameter Expansion>:e</Parameter Expansion><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>f</Variable><Parameter Expansion>:h</Parameter Expansion><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>f</Variable><Parameter Expansion>:h:h</Parameter Expansion><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>f</Variable><Parameter Expansion>:r</Parameter Expansion><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>f</Variable><Parameter Expansion>:t</Parameter Expansion><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>f</Variable><Parameter Expansion>:t:r</Parameter Expansion><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>file</Variable><Parameter Expansion>:r</Parameter Expansion><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>C</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>foo</Variable><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>gs</Parameter Expansion><Parameter Expansion Operator>/</Parameter Expansion Operator><String SingleQ>-</String SingleQ><Parameter Expansion Operator>/</Parameter Expansion Operator><String SingleQ> </String SingleQ><Parameter Expansion Operator>/:</Parameter Expansion Operator><Parameter Expansion>r}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>M</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>0</Variable><Parameter Expansion Operator>%%</Parameter Expansion Operator><Glob><-></Glob><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>j/</Parameter Expansion Operator><String SingleQ>x</String SingleQ><Parameter Expansion Operator>/s/</Parameter Expansion Operator><String SingleQ>x</String SingleQ><Parameter Expansion Operator>/</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>foo</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>l:</Parameter Expansion Operator><Dollar Prefix>$</Dollar Prefix><Variable>COLUMNS</Variable><Parameter Expansion Operator>::</Parameter Expansion Operator><String SingleQ>-</String SingleQ><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>)}</Parameter Expansion><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>l:</Parameter Expansion Operator><Number>3</Number><Parameter Expansion Operator>::</Parameter Expansion Operator><String SingleQ>0</String SingleQ><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>)${</Parameter Expansion><Variable>RANDOM</Variable><Parameter Expansion>}}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>s/</Parameter Expansion Operator><String SingleQ>x</String SingleQ><Parameter Expansion Operator>/</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>foo</Variable><Parameter Expansion Operator>%%</Parameter Expansion Operator><String DoubleQ>1</String DoubleQ><Glob>*</Glob><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>0</Variable><Parameter Expansion Operator>##</Parameter Expansion Operator><Glob>*[</Glob><String SingleQ>!0</String SingleQ><Glob Flag>-</Glob Flag><String SingleQ>9</String SingleQ><Glob>]</Glob><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>a</Variable><Parameter Expansion Operator>:</Parameter Expansion Operator><Number>2</Number><Parameter Expansion Operator>:</Parameter Expansion Operator><Number>2</Number><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>a</Variable><Parameter Expansion Operator>:</Parameter Expansion Operator><Number>2</Number><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>a</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>3</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>d</Variable><Parameter Expansion Operator>/#</Parameter Expansion Operator><Glob>?</Glob><Parameter Expansion Operator>/</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>d</Variable><Parameter Expansion Operator>/%</Parameter Expansion Operator><Glob>?</Glob><Parameter Expansion Operator>/</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>d</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>-2</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>d</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>2</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>$</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>d</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>2</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>-1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>file</Variable><Parameter Expansion Operator>##</Parameter Expansion Operator><Glob>*</Glob><String DoubleQ>/</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>file</Variable><Parameter Expansion Operator>%</Parameter Expansion Operator><String DoubleQ>.</String DoubleQ><Glob>*</Glob><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>texfilepath</Variable><Parameter Expansion Operator>%</Parameter Expansion Operator><String DoubleQ>/</String DoubleQ><Glob>*</Glob><String DoubleQ>.</String DoubleQ><Glob>*</Glob><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(f:</Glob Flag><Normal Text>u+rx</Normal Text><Operator>,</Operator><Normal Text>o-x</Normal Text><Glob Flag>:)</Glob Flag><br/>
<Builtin>echo</Builtin><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(f:</Glob Flag><Normal Text>u+rx</Normal Text><Glob Flag>:)</Glob Flag><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Glob Flag>(@-^./=%p)</Glob Flag><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Glob Flag>(@-^./=%p)</Glob Flag><Normal Text> </Normal Text><Path>convert_csv.php</Path><Glob Flag>(</Glob Flag><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>a</Parameter Expansion><Glob Flag>)</Glob Flag><br/>
<Builtin>cd</Builtin><Normal Text> </Normal Text><Parameter Expansion>$(</Parameter Expansion><Command>locate</Command><Normal Text> </Normal Text><Option>-l1</Option><Normal Text> </Normal Text><Option>-r</Option><Normal Text> </Normal Text><String DoubleQ>"/zoo.txt$"</String DoubleQ><Parameter Expansion>)</Parameter Expansion><Glob Flag>(</Glob Flag><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>h</Parameter Expansion><Glob Flag>)</Glob Flag><Normal Text> </Normal Text><Comment># cd to directory of first occurence of a file zoo.txt</Comment><br/>
<Builtin>cd</Builtin><Normal Text> </Normal Text><Parameter Expansion>${$(</Parameter Expansion><OtherCommand>!!</OtherCommand><Parameter Expansion>)</Parameter Expansion><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>3</Number><Parameter Expansion Operator>]:</Parameter Expansion Operator><Parameter Expansion>h}</Parameter Expansion><Normal Text>  </Normal Text><Comment># cd to 3rd in list</Comment><br/>
<Builtin>cd</Builtin><Normal Text> </Normal Text><Parameter Expansion>${$(</Parameter Expansion><Command>locate</Command><Normal Text> zoo.txt</Normal Text><Parameter Expansion>)</Parameter Expansion><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]:</Parameter Expansion Operator><Parameter Expansion>h}</Parameter Expansion><br/>
<Builtin>cd</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>drive</Variable><Parameter Expansion>}</Parameter Expansion><Path>/inetpub/wwwdev/www.some.co.uk/</Path><br/>
<Builtin>cd</Builtin><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Path>.php</Path><Glob Flag>(.o</Glob Flag><Normal Text>m</Normal Text><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]:</Parameter Expansion Operator><Parameter Expansion>h</Parameter Expansion><Glob Flag>)</Glob Flag><Normal Text> </Normal Text><Comment># cd to directory of newest php file</Comment><br/>
<Builtin>cd</Builtin><Normal Text> </Normal Text><Option>-</Option><br/>
<Builtin>cd</Builtin><Normal Text> </Normal Text><Path>/tmp/test/</Path><Control>;</Control><Command>touch</Command><Normal Text> </Normal Text><Escape>{</Escape><Number>1</Number><Escape>..</Escape><Number>5</Number><Escape>}</Escape><Normal Text> </Normal Text><Escape>{6</Escape><Operator>,</Operator><Escape>7</Escape><Operator>,</Operator><Escape>8</Escape><Operator>,</Operator><Escape>12}</Escape><Normal Text> </Normal Text><Escape>{</Escape><Number>00</Number><Escape>..</Escape><Number>03</Number><Escape>}</Escape><br/>
<Builtin>cd</Builtin><Normal Text> </Normal Text><Glob>~</Glob><Path>www/admin</Path><br/>
<Command>chmod</Command><Normal Text> g+w </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><br/>
<Command>chmod</Command><Normal Text> someuser </Normal Text><Path>/</Path><Glob>**</Glob><Path>/</Path><Glob>*(</Glob><Pattern>D</Pattern><Glob>^</Glob><Pattern>u:</Pattern><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>j.</Parameter Expansion Operator><String SingleQ>:u:</String SingleQ><Parameter Expansion Operator>.</Parameter Expansion Operator><Parameter Expansion>)${(</Parameter Expansion><Parameter Expansion Operator>f</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>$(</Parameter Expansion><Redirection><</Redirection><Path>/etc/passwd</Path><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>%%</Parameter Expansion Operator><String DoubleQ>:</String DoubleQ><Glob>*</Glob><Parameter Expansion>}</Parameter Expansion><Pattern>:</Pattern><Glob>)</Glob><br/>
<Command>cp</Command><Normal Text> </Normal Text><Glob>*</Glob><Path>.mp3</Path><Glob Flag>(m</Glob Flag><Normal Text>h</Normal Text><Number>-4</Number><Glob Flag>)</Glob Flag><Normal Text> </Normal Text><Path>/tmp</Path><Normal Text> </Normal Text><Comment># copy files less than 4 hours old</Comment><br/>
<Command>cp</Command><Normal Text> </Normal Text><Option>-a</Option><Normal Text> file1 file   </Normal Text><Comment># -a transfer  permissions etc of file1 to file2preserve</Comment><br/>
<Command>file</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Glob Flag>(D@)</Glob Flag><Normal Text> </Normal Text><Control>|</Control><Normal Text> </Normal Text><Command>fgrep</Command><Normal Text> broken</Normal Text><br/>
<Command>file</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Glob Flag>(D@)</Glob Flag><Normal Text> </Normal Text><Control>|</Control><Normal Text> </Normal Text><Command>fgrep</Command><Normal Text> broken</Normal Text><br/>
<Variable>file</Variable><Operator>=</Operator><Parameter Expansion>${</Parameter Expansion><Variable>1</Variable><Parameter Expansion Operator>/#</Parameter Expansion Operator><Escape>\/</Escape><Parameter Expansion Operator>/</Parameter Expansion Operator><String DoubleQ>C:</String DoubleQ><Escape>\/</Escape><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Comment># substitute / with c:/ Beginning of string</Comment><br/>
<Variable>file</Variable><Operator>=</Operator><Parameter Expansion>${</Parameter Expansion><Variable>1</Variable><Parameter Expansion Operator>/%</Parameter Expansion Operator><Escape>\/</Escape><Parameter Expansion Operator>/</Parameter Expansion Operator><String DoubleQ>C:</String DoubleQ><Escape>\/</Escape><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Comment># substitute / with c:/ End of string</Comment><br/>
<Variable>file</Variable><Operator>=</Operator><Parameter Expansion>${</Parameter Expansion><Variable>1</Variable><Parameter Expansion Operator>/</Parameter Expansion Operator><Escape>\/</Escape><Parameter Expansion Operator>/</Parameter Expansion Operator><String DoubleQ>C:</String DoubleQ><Escape>\/</Escape><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Comment># substitute / with c:/ ANYWHERE in string</Comment><br/>
<Variable>filelst</Variable><Operator>+=</Operator><Variable>(</Variable><Dollar Prefix>$</Dollar Prefix><Variable>x)</Variable><br/>
<Variable>filelst</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Parameter Expansion>$((</Parameter Expansion><Dollar Prefix>$</Dollar Prefix><Parameter Expansion Operator>#</Parameter Expansion Operator><Variable>filelst</Variable><Operator>+</Operator><Number>1</Number><Parameter Expansion>))</Parameter Expansion><Parameter Expansion Operator>]</Parameter Expansion Operator><Operator>=</Operator><Dollar Prefix>$</Dollar Prefix><Variable>x</Variable><br/>
<Variable>files</Variable><Operator>=</Operator><Variable>(</Variable><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>f</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>$(</Parameter Expansion><OtherCommand>egrepcmd1l</OtherCommand><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Variable>)</Variable><br/>
<Variable>files</Variable><Operator>=</Operator><Variable>(</Variable><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>f</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>$(</Parameter Expansion><Command>ls</Command><Normal Text> </Normal Text><Glob>*</Glob><Dollar Prefix>$</Dollar Prefix><Variable>*</Variable><Glob>*</Glob><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Glob Flag>(.N)</Glob Flag><Variable>)</Variable><Normal Text> </Normal Text><Comment># ")`</Comment><br/>
<Variable>files</Variable><Operator>=</Operator><Variable>(</Variable><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Glob Flag>(ND.L</Glob Flag><Number>0</Number><Glob Flag>m</Glob Flag><Number>+0</Number><Glob Flag>m</Glob Flag><Number>-2</Number><Glob Flag>)</Glob Flag><Variable>)</Variable><br/>
<Command>mkdir</Command><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>f</Variable><Parameter Expansion>:h</Parameter Expansion><Control>;</Control><Command>touch</Command><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>f</Variable><br/>
<Command>mv</Command><Normal Text> Licence</Normal Text><Escape>\ </Escape><Normal Text>to</Normal Text><Escape>\ </Escape><Normal Text>Print</Normal Text><Escape>\ </Escape><Normal Text>Money.pdf </Normal Text><Path>!</Path><Glob>#^</Glob><Path>:gs/</Path><Escape>\\</Escape><Normal Text> </Normal Text><Path>//</Path><br/>
<Variable>path</Variable><Operator>=</Operator><Variable>(</Variable><Parameter Expansion>${</Parameter Expansion><Variable>path</Variable><Parameter Expansion Operator>:#</Parameter Expansion Operator><Dollar Prefix>$</Dollar Prefix><Variable>path_to_remove</Variable><Parameter Expansion>}</Parameter Expansion><Variable>)</Variable><br/>
<Variable>path</Variable><Operator>=</Operator><Variable>(</Variable><Parameter Expansion>${</Parameter Expansion><Variable>path</Variable><Parameter Expansion Operator>:|</Parameter Expansion Operator><String DoubleQ>excl</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Variable>)</Variable><br/>
<Variable>pattern</Variable><Operator>=</Operator><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>b</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>str</Variable><Parameter Expansion>}</Parameter Expansion><br/>
<Variable>pattern</Variable><Operator>=</Operator><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>q</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>str</Variable><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>aa</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Normal Text>one</Normal Text><Escape>\"</Escape><Normal Text>two</Normal Text><Escape>\"</Escape><Normal Text>three</Normal Text><Escape>\"</Escape><Normal Text>quotes</Normal Text><Parameter Expansion Operator>]</Parameter Expansion Operator><String DoubleQ>"</String DoubleQ><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>bg</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Normal Text>cyan</Normal Text><Parameter Expansion Operator>]</Parameter Expansion Operator><Dollar Prefix>$</Dollar Prefix><Variable>fg</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Normal Text>blue</Normal Text><Parameter Expansion Operator>]</Parameter Expansion Operator><String DoubleQ>Welcome to man zsh-lovers"</String DoubleQ><Normal Text> </Normal Text><Redirection>>></Redirection><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>TTY</Variable><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>$((</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion Operator>[</Parameter Expansion Operator><Normal Text>#8</Normal Text><Parameter Expansion Operator>]</Parameter Expansion Operator><Normal Text> </Normal Text><Variable>x</Variable><Normal Text> </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Number>32</Number><Control>,</Control><Normal Text> </Normal Text><Variable>y</Variable><Normal Text> </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Number>32</Number><Normal Text> </Normal Text><Parameter Expansion>))</Parameter Expansion><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>$((${${(</Parameter Expansion><Parameter Expansion Operator>z</Parameter Expansion Operator><Parameter Expansion>)${(</Parameter Expansion><Parameter Expansion Operator>f</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>$(</Parameter Expansion><Builtin>dirs</Builtin><Normal Text> </Normal Text><Option>-v</Option><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>-1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Operator>+</Operator><Normal Text> </Normal Text><Number>1</Number><Parameter Expansion>))</Parameter Expansion><Normal Text> </Normal Text><Comment># or</Comment><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>$(</Parameter Expansion><Builtin>history</Builtin><Normal Text> </Normal Text><Option>-n</Option><Normal Text> </Normal Text><Option>-1</Option><Control>|</Control><Command>sed</Command><Normal Text> </Normal Text><String SingleQ>'s/.* //'</String SingleQ><Parameter Expansion>)</Parameter Expansion><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>aa</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Glob>(</Glob><Pattern>e</Pattern><Glob>)</Glob><Operator>*</Operator><Parameter Expansion Operator>]</Parameter Expansion Operator><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>ass_array</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Normal Text>one</Normal Text><Parameter Expansion Operator>]</Parameter Expansion Operator><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>x</Variable><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>y</Variable><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Parameter Expansion Operator>#</Parameter Expansion Operator><Variable>path</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text>       </Normal Text><Comment># length of first element in path array</Comment><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Parameter Expansion Operator>#</Parameter Expansion Operator><Variable>path</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text>          </Normal Text><Comment># length of "path" array</Comment><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${$(</Parameter Expansion><Normal Text> </Normal Text><Command>date</Command><Normal Text> </Normal Text><Parameter Expansion>)</Parameter Expansion><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>2</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>4</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Comment># Print words two to four of output of ’date’:</Comment><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${$(</Parameter Expansion><OtherCommand>/sbin/ifconfig</OtherCommand><Normal Text> tun0</Normal Text><Parameter Expansion>)</Parameter Expansion><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>6</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${${$(</Parameter Expansion><Normal Text> </Normal Text><Variable>LC_ALL</Variable><Operator>=</Operator><Normal Text>C </Normal Text><OtherCommand>/sbin/ifconfig</OtherCommand><Normal Text> lo </Normal Text><Parameter Expansion>)</Parameter Expansion><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>6</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>#</Parameter Expansion Operator><String DoubleQ>addr:</String DoubleQ><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${${$(</Parameter Expansion><Variable>LC_ALL</Variable><Operator>=</Operator><Normal Text>C </Normal Text><OtherCommand>/sbin/ifconfig</OtherCommand><Normal Text> eth0</Normal Text><Parameter Expansion>)</Parameter Expansion><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>7</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>gs</Parameter Expansion><Parameter Expansion Operator>/</Parameter Expansion Operator><String SingleQ>addr:</String SingleQ><Parameter Expansion Operator>//</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${${(</Parameter Expansion><Parameter Expansion Operator>Cs:</Parameter Expansion Operator><String SingleQ>-</String SingleQ><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Parameter Expansion Operator>:-</Parameter Expansion Operator><String DoubleQ>fred-goat-dog.jpg</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>%</Parameter Expansion Operator><String DoubleQ>.</String DoubleQ><Glob>*</Glob><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${${(</Parameter Expansion><Parameter Expansion Operator>z</Parameter Expansion Operator><Parameter Expansion>)$(</Parameter Expansion><Builtin>history</Builtin><Normal Text> </Normal Text><Option>-n</Option><Normal Text> </Normal Text><Option>-1</Option><Parameter Expansion>)}</Parameter Expansion><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>-1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${${(</Parameter Expansion><Parameter Expansion Operator>z</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>history</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Parameter Expansion>$((</Parameter Expansion><Variable>HISTCMD</Variable><Operator>-</Operator><Number>1</Number><Parameter Expansion>))</Parameter Expansion><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>-1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>L</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>s</Variable><Parameter Expansion Operator>//</Parameter Expansion Operator><Pattern> </Pattern><Parameter Expansion Operator>/</Parameter Expansion Operator><String DoubleQ>-</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Normal Text>.jpg</Normal Text><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>L</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>s</Variable><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>gs</Parameter Expansion><Parameter Expansion Operator>/</Parameter Expansion Operator><String SingleQ> </String SingleQ><Parameter Expansion Operator>/</Parameter Expansion Operator><String SingleQ>-</String SingleQ><Parameter Expansion Operator>/</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text>.jpg</Normal Text><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>S</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>foo</Variable><Parameter Expansion Operator>//</Parameter Expansion Operator><Parameter Expansion>${</Parameter Expansion><Parameter Expansion Operator>~</Parameter Expansion Operator><Variable>sub</Variable><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>/</Parameter Expansion Operator><Dollar Prefix>$</Dollar Prefix><Variable>rep</Variable><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>k</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>ass_array</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Comment># prints keys</Comment><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>v</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>ass_array</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Comment># prints values</Comment><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>JUNK</Variable><Parameter Expansion Operator>/%</Parameter Expansion Operator><Pattern>.</Pattern><Parameter Expansion Operator>/</Parameter Expansion Operator><String DoubleQ>_</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Normal Text>                 </Normal Text><Comment># substitute last . for a _</Comment><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>JUNK</Variable><Parameter Expansion Operator>/</Parameter Expansion Operator><Pattern>.</Pattern><Glob Flag>(#e)</Glob Flag><Parameter Expansion Operator>/</Parameter Expansion Operator><String DoubleQ>_</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Normal Text>              </Normal Text><Comment># substitute last . for a _</Comment><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>arr</Variable><Parameter Expansion Operator>//</Parameter Expansion Operator><Glob Flag>(#m)</Glob Flag><Glob>[</Glob><String SingleQ>aeiou</String SingleQ><Glob>]</Glob><Parameter Expansion Operator>/</Parameter Expansion Operator><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>U</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>MATCH</Variable><Parameter Expansion>}}</Parameter Expansion><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>array</Variable><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>t}</Parameter Expansion><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>foo</Variable><Parameter Expansion Operator>%%</Parameter Expansion Operator><String SingleQ>$'</String SingleQ><String Escape>\n</String Escape><String SingleQ>'</String SingleQ><Parameter Expansion>}</Parameter Expansion><Normal Text>                </Normal Text><Comment># strip out a trailing carriage return</Comment><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>foo</Variable><Parameter Expansion Operator>//</Parameter Expansion Operator><String SingleQ>$'</String SingleQ><String Escape>\n</String Escape><String SingleQ>'</String SingleQ><Parameter Expansion>}</Parameter Expansion><Normal Text>                </Normal Text><Comment># strip out any carriage returns (some systems use \r)</Comment><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>foo</Variable><Parameter Expansion Operator>//</Parameter Expansion Operator><Parameter Expansion>${</Parameter Expansion><Parameter Expansion Operator>~</Parameter Expansion Operator><Variable>sub</Variable><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>/</Parameter Expansion Operator><Dollar Prefix>$</Dollar Prefix><Variable>rep</Variable><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>foo</Variable><Parameter Expansion Operator>:</Parameter Expansion Operator><Normal Text> </Normal Text><Number>1</Number><Normal Text> </Normal Text><Operator>+</Operator><Normal Text> </Normal Text><Number>2</Number><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>foo</Variable><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>$((</Parameter Expansion><Normal Text> </Normal Text><Number>1</Number><Normal Text> </Normal Text><Operator>+</Operator><Normal Text> </Normal Text><Number>2</Number><Parameter Expansion>))}</Parameter Expansion><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>foo</Variable><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>$(</Parameter Expansion><Builtin>echo</Builtin><Normal Text> 1 + 2</Normal Text><Parameter Expansion>)}</Parameter Expansion><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>foo</Variable><Parameter Expansion Operator>:</Parameter Expansion Operator><Number>3</Number><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>param</Variable><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>&}</Parameter Expansion><Normal Text>   </Normal Text><Glob>(</Glob><Pattern>last substitute</Pattern><Glob>)</Glob><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>somevar</Variable><Parameter Expansion Operator>//</Parameter Expansion Operator><Glob>[</Glob><Glob Flag>^</Glob Flag><Glob>[:</Glob><Pattern>alnum</Pattern><Glob>:]]</Glob><Parameter Expansion Operator>/</Parameter Expansion Operator><String DoubleQ>_</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Normal Text>   </Normal Text><Comment># replace all non-alphanumerics with _ the // indicates global substitution</Comment><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>string</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Glob>(</Glob><Pattern>r</Pattern><Glob>)</Glob><Normal Text>d</Normal Text><Operator>?</Operator><Parameter Expansion Operator>,</Parameter Expansion Operator><Glob>(</Glob><Pattern>r</Pattern><Glob>)</Glob><Normal Text>h</Normal Text><Operator>?</Operator><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><String SingleQ>'\e[1;34m fred'</String SingleQ><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Glob>(*</Glob><Pattern>/</Pattern><Glob>)#</Glob><Path>zsh_us.ps</Path><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(e:</Glob Flag><Normal Text>age 2006/10/04 2006/10/09</Normal Text><Glob Flag>:)</Glob Flag><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Glob Flag>(/^F)</Glob Flag><Normal Text> </Normal Text><Control>|</Control><Normal Text> </Normal Text><Command>xargs</Command><Normal Text> </Normal Text><Option>-n1</Option><Normal Text> </Normal Text><Option>-t</Option><Normal Text> rmdir </Normal Text><Comment>#delete empty directories</Comment><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Glob>*</Glob><Path>.c</Path><Glob Flag>(e_</Glob Flag><String SingleQ>'[[ ! -e $REPLY:r.o ]]'</String SingleQ><Glob Flag>_)</Glob Flag><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Option>-C</Option><Normal Text> 1 </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>X</Variable><Normal Text>           </Normal Text><Comment># print each array element on it's own line</Comment><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Option>-l</Option><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>s.</Parameter Expansion Operator><String SingleQ>:</String SingleQ><Parameter Expansion Operator>.</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>line</Variable><Parameter Expansion>}</Parameter Expansion><String DoubleQ>"</String DoubleQ><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Option>-l</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>MATCH</Variable><Normal Text> X </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>match</Variable><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Option>-l</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>accum</Variable><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Option>-l</Option><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(n</Glob Flag><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>t</Parameter Expansion><Glob Flag>)</Glob Flag><Normal Text>      </Normal Text><Comment># order by name strip directory</Comment><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Option>-l</Option><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Glob Flag>(-@)</Glob Flag><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Option>-l</Option><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Glob Flag>(O</Glob Flag><Normal Text>n</Normal Text><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>t</Parameter Expansion><Glob Flag>)</Glob Flag><Normal Text>  </Normal Text><Comment># recursive reverse order by name, strip directory</Comment><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Option>-r</Option><Normal Text> </Normal Text><Option>--</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Parameter Expansion Operator>^</Parameter Expansion Operator><Variable>X</Variable><Normal Text>.</Normal Text><Dollar Prefix>$</Dollar Prefix><Parameter Expansion Operator>^</Parameter Expansion Operator><Variable>Y</Variable><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Option>-r</Option><Normal Text> </Normal Text><Option>--</Option><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>qq</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>m</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Redirection>></Redirection><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>nameoffile</Variable><Normal Text>      </Normal Text><Comment># save it</Comment><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Option>-rC1</Option><Normal Text> </Normal Text><Path>/tmp/foo</Path><Glob>*</Glob><Glob Flag>(u</Glob Flag><Number>0</Number><Glob Flag>^@</Glob Flag><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>t</Parameter Expansion><Glob Flag>)</Glob Flag><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Option>-rC1</Option><Normal Text> </Normal Text><Path>b</Path><Glob>*</Glob><Path>.pro</Path><Glob Flag>(#q</Glob Flag><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>s</Parameter Expansion><Parameter Expansion Operator>/</Parameter Expansion Operator><Pattern>pro</Pattern><Parameter Expansion Operator>/</Parameter Expansion Operator><String DoubleQ>shmo</String DoubleQ><Parameter Expansion Operator>/</Parameter Expansion Operator><Glob Flag>)(#q.</Glob Flag><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>s</Parameter Expansion><Parameter Expansion Operator>/</Parameter Expansion Operator><Pattern>builtin</Pattern><Parameter Expansion Operator>/</Parameter Expansion Operator><String DoubleQ>shmiltin</String DoubleQ><Parameter Expansion Operator>/</Parameter Expansion Operator><Glob Flag>)</Glob Flag><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Option>-rC2</Option><Normal Text> </Normal Text><Option>--</Option><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>1</Variable><Parameter Expansion Operator>:</Parameter Expansion Operator><Normal Text>[...]</Normal Text><Parameter Expansion>}</Parameter Expansion><Path>/</Path><Glob>*</Glob><Glob Flag>(D</Glob Flag><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>t</Parameter Expansion><Glob Flag>)</Glob Flag><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Option>-rl</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>HOME</Variable><Path>/</Path><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>l:</Parameter Expansion Operator><Number>20</Number><Parameter Expansion Operator>::</Parameter Expansion Operator><String SingleQ>?</String SingleQ><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Parameter Expansion Operator>~:-</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Glob>*</Glob><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Option>-rl</Option><Normal Text> </Normal Text><Option>--</Option><Normal Text> </Normal Text><Parameter Expansion>${${</Parameter Expansion><Parameter Expansion Operator>=</Parameter Expansion Operator><Variable>mapfile</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Operator>/</Operator><Normal Text>etc</Normal Text><Operator>/</Operator><Normal Text>passwd</Normal Text><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>:#</Parameter Expansion Operator><Glob>*</Glob><Glob Flag>(#i)</Glob Flag><String DoubleQ>root</String DoubleQ><Glob>*</Glob><Parameter Expansion>}</Parameter Expansion><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Option>-rl</Option><Normal Text> </Normal Text><Path>/</Path><Glob>**</Glob><Path>/</Path><Glob>*~^*</Glob><Path>/path</Path><Glob>(|</Glob><Pattern>/</Pattern><Glob>*)</Glob><br/>
<Builtin>print</Builtin><Normal Text> {</Normal Text><Parameter Expansion>$((</Parameter Expansion><BaseN>##</BaseN><Number>n</Number><Parameter Expansion>))</Parameter Expansion><Normal Text>..</Normal Text><Parameter Expansion>$((</Parameter Expansion><BaseN>##</BaseN><Number>y</Number><Parameter Expansion>))</Parameter Expansion><Normal Text>}P</Normal Text><Escape>\ </Escape><Normal Text>10P </Normal Text><Control>|</Control><Normal Text> </Normal Text><Command>dc</Command><br/>
<Builtin>print</Builtin><Normal Text> root@192.168.168.157:</Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>PWD</Variable><Parameter Expansion Operator>/</Parameter Expansion Operator><Pattern>test</Pattern><Parameter Expansion Operator>/</Parameter Expansion Operator><String DoubleQ>live</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Normal Text>v</Normal Text><br/>
<Normal Text></Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># conditions</Comment><br/>
<Builtin>[</Builtin><Normal Text> a </Normal Text><Builtin>]</Builtin><br/>
<Builtin>[</Builtin><Normal Text> </Normal Text><Expression>-f</Expression><Normal Text> f</Normal Text><String SingleQ>'f'</String SingleQ><Normal Text>f </Normal Text><Builtin>]</Builtin><br/>
<Builtin>[</Builtin><Normal Text> </Normal Text><Expression>-f</Expression><Normal Text> f]</Normal Text><String SingleQ>'f'</String SingleQ><Normal Text>f] </Normal Text><Builtin>]</Builtin><br/>
<Builtin>[</Builtin><Normal Text> </Normal Text><Expression>-t</Expression><Normal Text> 13 </Normal Text><Builtin>]</Builtin><br/>
<Builtin>[</Builtin><Normal Text> </Normal Text><Expression>-t</Expression><Normal Text> 13] </Normal Text><Builtin>]</Builtin><br/>
<Builtin>[</Builtin><Normal Text> </Normal Text><Expression>-t</Expression><Normal Text> 13] </Normal Text><Builtin>]</Builtin><br/>
<Builtin>[</Builtin><Normal Text> </Normal Text><Expression>-v</Expression><Normal Text> abc </Normal Text><Builtin>]</Builtin><br/>
<Builtin>[</Builtin><Normal Text> </Normal Text><Expression>-z</Expression><Normal Text> abc </Normal Text><Builtin>]</Builtin><br/>
<Builtin>[</Builtin><Normal Text> abc </Normal Text><Expression>-ef</Expression><Normal Text> abc </Normal Text><Builtin>]</Builtin><br/>
<Builtin>[</Builtin><Normal Text> abc </Normal Text><Expression>-ef</Expression><Normal Text> abc </Normal Text><Builtin>]</Builtin><br/>
<Builtin>[</Builtin><Normal Text> abc-ef </Normal Text><Expression>-ef</Expression><Normal Text> abc-ef </Normal Text><Builtin>]</Builtin><br/>
<Builtin>[</Builtin><Normal Text> abc </Normal Text><Expression>==</Expression><Normal Text> abc </Normal Text><Builtin>]</Builtin><br/>
<Builtin>[</Builtin><Normal Text> abc </Normal Text><Error><</Error><Normal Text> abc </Normal Text><Builtin>]</Builtin><br/>
<Builtin>[</Builtin><Normal Text> abc </Normal Text><Expression>-eq</Expression><Normal Text> abc </Normal Text><Builtin>]</Builtin><br/>
<Keyword>[[</Keyword><Normal Text> abc </Normal Text><Expression>-eq</Expression><Normal Text> abc </Normal Text><Keyword>]]</Keyword><br/>
<Builtin>[</Builtin><Normal Text> 1+2 </Normal Text><Expression>-eq</Expression><Normal Text> 1+2 </Normal Text><Builtin>]</Builtin><br/>
<Keyword>[[</Keyword><Normal Text> 1+2 </Normal Text><Expression>-eq</Expression><Normal Text> 1+2 </Normal Text><Keyword>]]</Keyword><br/>
<Builtin>[</Builtin><Normal Text> a </Normal Text><Expression>=</Expression><Normal Text> b </Normal Text><Error>c</Error><Normal Text> </Normal Text><OtherCommand>]</OtherCommand><br/>
<Builtin>[</Builtin><Normal Text> </Normal Text><Expression>-z</Expression><Normal Text> 1 </Normal Text><Expression>-a</Expression><Normal Text> 1 </Normal Text><Expression>-eq</Expression><Normal Text> 1 </Normal Text><Builtin>]</Builtin><br/>
<Builtin>[</Builtin><Normal Text> 2 </Normal Text><Expression>-eq</Expression><Normal Text> 1 </Normal Text><Expression>-o</Expression><Normal Text> 1 </Normal Text><Expression>-eq</Expression><Normal Text> 1 </Normal Text><Builtin>]</Builtin><br/>
<Keyword>(</Keyword><Normal Text> </Normal Text><Builtin>[</Builtin><Normal Text> a </Normal Text><Expression>=</Expression><Normal Text> b </Normal Text><Builtin>]</Builtin><Normal Text> </Normal Text><Keyword>)</Keyword><br/>
<Keyword>(</Keyword><Builtin>[</Builtin><Normal Text> a </Normal Text><Expression>=</Expression><Normal Text> b </Normal Text><Builtin>]</Builtin><Keyword>)</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> a </Normal Text><Expression>=</Expression><Normal Text> b </Normal Text><Error>c</Error><Normal Text> </Normal Text><OtherCommand>]]</OtherCommand><br/>
<Keyword>[[</Keyword><Normal Text> x </Normal Text><Expression>=~</Expression><Normal Text> </Normal Text><Pattern>a</Pattern><Operator>(</Operator><Pattern>b c</Pattern><Glob>|</Glob><Operator>$)</Operator><String SingleQ>' '</String SingleQ><Parameter Expansion>{</Parameter Expansion><Number>1</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Operator>[</Operator><Pattern>a</Pattern><Parameter Expansion Operator>[.</Parameter Expansion Operator><Parameter Expansion>digit</Parameter Expansion><Parameter Expansion Operator>.]</Parameter Expansion Operator><Operator>]</Operator><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> x </Normal Text><Expression>=~</Expression><Normal Text> </Normal Text><Operator>[</Operator><Normal Text> </Normal Text><Error>] </Error><OtherCommand>]]</OtherCommand><br/>
<Keyword>[[</Keyword><Normal Text> x </Normal Text><Expression>=~</Expression><Normal Text> </Normal Text><Operator>([</Operator><Pattern> </Pattern><Operator>])</Operator><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> x </Normal Text><Expression>=~</Expression><Normal Text> </Normal Text><Operator>[</Operator><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> x </Normal Text><Expression>=~</Expression><Normal Text> </Normal Text><Operator>([)</Operator><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Operator>(</Operator><Normal Text>a </Normal Text><Expression>=~</Expression><Normal Text> </Normal Text><Pattern>a</Pattern><Operator>)</Operator><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Operator>(</Operator><Normal Text>a </Normal Text><Expression>=~</Expression><br/>
<Pattern>a</Pattern><Operator>)</Operator><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> a </Normal Text><Expression>=~</Expression><Normal Text> </Normal Text><Pattern>a</Pattern><Normal Text> </Normal Text><Control>||</Control><Normal Text> a </Normal Text><Expression>-eq</Expression><Normal Text> 2 </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Operator>(</Operator><Normal Text>a </Normal Text><Expression>=~</Expression><Normal Text> </Normal Text><Pattern>a</Pattern><Operator>)</Operator><Normal Text> </Normal Text><Control>||</Control><Normal Text> a </Normal Text><Expression>-eq</Expression><Normal Text> 2 </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> a</Normal Text><Expression><</Expression><Normal Text>b </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> a </Normal Text><Expression><</Expression><Normal Text>b </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> a</Normal Text><Expression><</Expression><Normal Text> b </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> a </Normal Text><Expression><</Expression><Normal Text> b </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Operator>(</Operator><Expression>!</Expression><Normal Text> </Normal Text><Expression>-d</Expression><Normal Text> </Normal Text><Path>.</Path><Operator>)</Operator><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Expression>!</Expression><Normal Text> </Normal Text><Expression>-d</Expression><Normal Text> </Normal Text><Path>.</Path><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Expression>!</Expression><Operator>(</Operator><Expression>-d</Expression><Normal Text> </Normal Text><Path>.</Path><Operator>)</Operator><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Expression>-f</Expression><Normal Text> a </Normal Text><Control>||</Control><Normal Text> </Normal Text><Expression>-f</Expression><Normal Text> b </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Expression>-f</Expression><Normal Text> a</Normal Text><Control>||</Control><Expression>-f</Expression><Normal Text> b </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Expression>!</Expression><Normal Text> </Normal Text><Operator>(</Operator><Normal Text>a </Normal Text><Expression>-eq</Expression><Normal Text> b</Normal Text><Operator>)</Operator><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Builtin>[</Builtin><Normal Text> </Normal Text><Expression>-d</Expression><Normal Text> </Normal Text><Backquote>`</Backquote><Builtin>echo</Builtin><Normal Text> .</Normal Text><Backquote>`</Backquote><Normal Text>] </Normal Text><Builtin>]</Builtin><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Expression>-d</Expression><Normal Text> </Normal Text><Backquote>`</Backquote><Builtin>echo</Builtin><Normal Text> .</Normal Text><Backquote>`</Backquote><Normal Text>]] </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> a </Normal Text><Expression>!=</Expression><Normal Text> b </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>a</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text>a </Normal Text><Expression>=</Expression><Normal Text> b</Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>b</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><br/>
<Normal Text>  1 </Normal Text><Expression>-eq</Expression><Normal Text> 2</Normal Text><br/>
<Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><br/>
<Normal Text>  1</Normal Text><br/>
<Normal Text>  </Normal Text><Expression>-eq</Expression><br/>
<Normal Text>  2</Normal Text><br/>
<Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> -</Normal Text><String DoubleQ>""</String DoubleQ><Glob Flag>(#i)</Glob Flag><Normal Text>* </Normal Text><Expression>==</Expression><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>x</Variable><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Expression>-f</Expression><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Expression>-f</Expression><Normal Text> <0-99> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><Normal Text> </Normal Text><Expression>==</Expression><Normal Text> </Normal Text><Glob><-></Glob><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> ?*<0-99> </Normal Text><Expression>=</Expression><Normal Text> </Normal Text><Glob><</Glob><Number>0</Number><Glob>-</Glob><Number>99</Number><Glob>></Glob><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> -f </Normal Text><Expression>=</Expression><Normal Text> </Normal Text><Glob>?*<</Glob><Number>0</Number><Glob>-</Glob><Number>99</Number><Glob>></Glob><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Path>a/sa[s</Path><Normal Text> </Normal Text><Expression>=</Expression><Normal Text> dsad</Normal Text><Glob>?*<</Glob><Number>0</Number><Glob>-</Glob><Number>9</Number><Glob>></Glob><Normal Text>dsa</Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>ds</Variable><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Path>a/sa[s</Path><Normal Text> </Normal Text><Expression>=</Expression><Normal Text> </Normal Text><Path>dsad</Path><Glob>?*<</Glob><Number>0</Number><Glob>-</Glob><Number>9</Number><Glob>></Glob><Path>ds/a</Path><Dollar Prefix>$</Dollar Prefix><Variable>ds</Variable><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> a </Normal Text><Expression>=~</Expression><Normal Text> </Normal Text><Pattern><1-2>a<->a<-2>a<2->a</Pattern><Operator>([</Operator><Pattern>!d</Pattern><Operator>]</Operator><Pattern>a</Pattern><Glob>?</Glob><Pattern>s</Pattern><Operator>[</Operator><Pattern>x</Pattern><Parameter Expansion Operator>[:</Parameter Expansion Operator><Parameter Expansion>alnum</Parameter Expansion><Parameter Expansion Operator>:]</Parameter Expansion Operator><Operator>]</Operator><Glob>|</Glob><Pattern>d</Pattern><Glob>?</Glob><Operator>)</Operator><Pattern>p</Pattern><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Expression>-n</Expression><Normal Text> file*</Normal Text><Glob Flag>(#qN)</Glob Flag><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Operator>(</Operator><Normal Text> </Normal Text><Expression>-f</Expression><Normal Text> foo </Normal Text><Control>||</Control><Normal Text> </Normal Text><Expression>-f</Expression><Normal Text> bar </Normal Text><Operator>)</Operator><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>report</Variable><Normal Text> </Normal Text><Expression>=</Expression><Normal Text> y</Normal Text><Glob>*</Glob><Normal Text> </Normal Text><Keyword>]]</Keyword><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Builtin>print</Builtin><Normal Text> File exists.</Normal Text><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>str</Variable><Normal Text> </Normal Text><Expression>=</Expression><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Parameter Expansion Operator>~</Parameter Expansion Operator><Variable>pattern</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>str</Variable><Normal Text> </Normal Text><Expression>=</Expression><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Parameter Expansion Operator>~</Parameter Expansion Operator><Variable>pattern</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><String DoubleQ>"?"</String DoubleQ><Normal Text> </Normal Text><Expression>=</Expression><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>~j.</Parameter Expansion Operator><String SingleQ>|</String SingleQ><Parameter Expansion Operator>.</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>array</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>(</Keyword><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> a </Normal Text><Expression>=</Expression><Normal Text> b </Normal Text><Keyword>]]</Keyword><Normal Text> </Normal Text><Keyword>)</Keyword><br/>
<Keyword>([[</Keyword><Normal Text> a </Normal Text><Expression>=</Expression><Normal Text> b </Normal Text><Keyword>]])</Keyword><br/>
<Normal Text></Normal Text><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Comment>#comm1</Comment><br/>
<Normal Text> </Normal Text><Comment>#comm2</Comment><br/>
<Normal Text> </Normal Text><Expression>!</Expression><Normal Text> </Normal Text><Comment>#comm3</Comment><br/>
<Normal Text> p[1] </Normal Text><Comment>#comm4</Comment><br/>
<Normal Text> </Normal Text><Expression>==</Expression><Normal Text> </Normal Text><Comment>#comm5</Comment><br/>
<Normal Text> p</Normal Text><Glob>[</Glob><String SingleQ>2</String SingleQ><Glob>]</Glob><Normal Text> </Normal Text><Comment>#comm6</Comment><br/>
<Normal Text> </Normal Text><Comment>#comm7</Comment><br/>
<Normal Text> </Normal Text><Comment>#comm8</Comment><br/>
<Keyword>]]</Keyword><br/>
<Normal Text></Normal Text><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Comment>#comm1</Comment><br/>
<Normal Text> </Normal Text><Comment>#comm2</Comment><br/>
<Normal Text> </Normal Text><Expression>-f</Expression><Normal Text> </Normal Text><Comment>#comme3</Comment><br/>
<Normal Text> </Normal Text><Comment>#comm4</Comment><br/>
<Normal Text> p[2] </Normal Text><Comment>#comm5</Comment><br/>
<Normal Text> </Normal Text><Comment>#comm6</Comment><br/>
<Normal Text> </Normal Text><Comment>#comm7</Comment><br/>
<Keyword>]]</Keyword><br/>
<Normal Text></Normal Text><br/>
<Builtin>[</Builtin><Normal Text> a </Normal Text><Expression>-eq</Expression><Normal Text> 2 </Normal Text><Builtin>]</Builtin><Normal Text> </Normal Text><Control>||</Control><Normal Text> </Normal Text><Builtin>[</Builtin><Normal Text> a </Normal Text><Expression>-eq</Expression><Normal Text> 2] </Normal Text><Builtin>]</Builtin><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> a </Normal Text><Expression>-eq</Expression><Normal Text> 2 </Normal Text><Keyword>]]</Keyword><Normal Text> </Normal Text><Control>||</Control><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> a </Normal Text><Expression>!=</Expression><Normal Text> b </Normal Text><Keyword>]]</Keyword><Control>;</Control><br/>
<Builtin>[</Builtin><Normal Text> a </Normal Text><Expression>-eq</Expression><Normal Text> 2 </Normal Text><Builtin>]</Builtin><Control>||</Control><Builtin>[</Builtin><Normal Text> a </Normal Text><Expression>-eq</Expression><Normal Text> 2] </Normal Text><Builtin>]</Builtin><Control>&&</Control><Keyword>[[</Keyword><Normal Text> a </Normal Text><Expression>-eq</Expression><Normal Text> 2 </Normal Text><Keyword>]]</Keyword><Control>||</Control><Keyword>[[</Keyword><Normal Text> a </Normal Text><Expression>!=</Expression><Normal Text> b </Normal Text><Keyword>]]</Keyword><Control>;</Control><br/>
<Normal Text></Normal Text><br/>
<Keyword>((</Keyword><Number>3</Number><Operator>+</Operator><Number>1</Number><Operator>+</Operator><Variable>a</Variable><Operator>+</Operator><Dollar Prefix>$</Dollar Prefix><Variable>c</Variable><Operator>*</Operator><Normal Text>(</Normal Text><Variable>x</Variable><Normal Text>) </Normal Text><Operator>&</Operator><Normal Text> </Normal Text><Hex>0x4342_2fd</Hex><Operator>+</Operator><Number>03</Number><Operator>-</Operator><Number>08_5</Number><Operator>/</Operator><Base>23#</Base><BaseN>D9a@_</BaseN><Operator>^</Operator><Number>8</Number><Keyword>))</Keyword><br/>
<Keyword>((</Keyword><Number>1.3</Number><Operator>/</Operator><Normal Text>(</Normal Text><Number>2</Number><Operator>-</Operator><Normal Text>(</Normal Text><Variable>a</Variable><Operator>-</Operator><Number>4</Number><Normal Text>))</Normal Text><Keyword>))</Keyword><br/>
<Normal Text></Normal Text><br/>
<Comment># they are not arithmetic evaluations...</Comment><br/>
<Keyword>((</Keyword><OtherCommand>cmd</OtherCommand><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><OtherCommand>cmd</OtherCommand><Keyword>)</Keyword><Normal Text> </Normal Text><Control>||</Control><Normal Text> </Normal Text><OtherCommand>cmd</OtherCommand><Keyword>)</Keyword><br/>
<Parameter Expansion>$(</Parameter Expansion><Keyword>(</Keyword><OtherCommand>cmd</OtherCommand><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><OtherCommand>cmd</OtherCommand><Keyword>)</Keyword><Normal Text> </Normal Text><Control>||</Control><Normal Text> </Normal Text><OtherCommand>cmd</OtherCommand><Parameter Expansion>)</Parameter Expansion><br/>
<Keyword>((</Keyword><Variable>cmd</Variable><Normal Text> </Normal Text><Control>&&</Control><br/>
<Variable>cmd</Variable><Keyword>)</Keyword><Normal Text> </Normal Text><Control>||</Control><Normal Text> </Normal Text><OtherCommand>cmd</OtherCommand><Keyword>)</Keyword><br/>
<Parameter Expansion>$((</Parameter Expansion><Variable>cmd</Variable><Normal Text> </Normal Text><Control>&&</Control><br/>
<Variable>cmd</Variable><Parameter Expansion>)</Parameter Expansion><Normal Text> </Normal Text><Control>||</Control><Normal Text> </Normal Text><OtherCommand>cmd</OtherCommand><Parameter Expansion>)</Parameter Expansion><br/>
<Normal Text></Normal Text><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>$((</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion Operator>[</Parameter Expansion Operator><Normal Text>#_</Normal Text><Parameter Expansion Operator>]</Parameter Expansion Operator><Normal Text> </Normal Text><Variable>sqrt</Variable><Normal Text>(</Normal Text><Number>1e7</Number><Normal Text>) </Normal Text><Number>0__39</Number><Normal Text> </Normal Text><Number>1423e23</Number><Normal Text> </Normal Text><Number>.2443</Number><Normal Text> </Normal Text><Number>43.34</Number><Normal Text> </Normal Text><Number>34.43e4</Number><Normal Text> </Normal Text><Operator>.</Operator><Variable>d</Variable><Parameter Expansion>))</Parameter Expansion><br/>
<Normal Text></Normal Text><br/>
<Keyword>{</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><br/>
<Normal Text>    </Normal Text><Builtin>echo</Builtin><br/>
<Keyword>}</Keyword><br/>
<Keyword>{</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Keyword>{</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Keyword>{</Keyword><Builtin>echo</Builtin><Keyword>}</Keyword><br/>
<Keyword>{</Keyword><Command>ls</Command><Normal Text> f</Normal Text><Keyword>}</Keyword><Normal Text> </Normal Text><Control Flow>always</Control Flow><Normal Text> </Normal Text><Keyword>{</Keyword><Command>ls</Command><Keyword>}</Keyword><br/>
<Keyword>{</Keyword><Builtin>echo</Builtin><Normal Text> {a}</Normal Text><Keyword>}</Keyword><br/>
<OtherCommand>}echo</OtherCommand><br/>
<Builtin>echo</Builtin><Normal Text> {a} {a/b} </Normal Text><Path>a{b}/c</Path><Normal Text> </Normal Text><Path>a/b{c}</Path><Normal Text> </Normal Text><Path>a/{b}</Path><Normal Text> </Normal Text><Path>a/{b}c</Path><Normal Text> </Normal Text><Path>d/{{a}}</Path><br/>
<Builtin>echo</Builtin><Normal Text> {a{a{a}}}</Normal Text><br/>
<Builtin>echo</Builtin><Normal Text> {a{a{a}a}a}a</Normal Text><br/>
<Builtin>echo</Builtin><Normal Text> {a</Normal Text><br/>
<Builtin>echo</Builtin><Normal Text> a</Normal Text><Error>}</Error><br/>
<Builtin>echo</Builtin><Normal Text>{a}</Normal Text><br/>
<Builtin>echo</Builtin><Normal Text>{a{a{a}}}</Normal Text><br/>
<Builtin>echo</Builtin><Normal Text>{a{a{a}a}a}a</Normal Text><br/>
<Builtin>echo</Builtin><Normal Text>{a</Normal Text><br/>
<Builtin>echo</Builtin><Error>}</Error><br/>
<Normal Text></Normal Text><br/>
<Keyword>{</Keyword><Normal Text> </Normal Text><Keyword>{</Keyword><Builtin>echo</Builtin><Normal Text> a</Normal Text><Keyword>}</Keyword><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Keyword>{</Keyword><Normal Text> </Normal Text><Keyword>{</Keyword><Builtin>echo</Builtin><Normal Text> a}a</Normal Text><Keyword>}</Keyword><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Keyword>{</Keyword><Normal Text> </Normal Text><Keyword>{</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> a </Normal Text><Keyword>}</Keyword><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Keyword>{</Keyword><Normal Text> </Normal Text><Keyword>{</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> a}a </Normal Text><Keyword>}</Keyword><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Normal Text></Normal Text><br/>
<Keyword>{</Keyword><Normal Text> </Normal Text><Keyword>{</Keyword><Builtin>echo</Builtin><Normal Text> </Normal Text><Path>a/b</Path><Keyword>}</Keyword><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Keyword>{</Keyword><Normal Text> </Normal Text><Keyword>{</Keyword><Builtin>echo</Builtin><Normal Text> </Normal Text><Path>a/b}a</Path><Keyword>}</Keyword><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Keyword>{</Keyword><Normal Text> </Normal Text><Keyword>{</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Path>a/b</Path><Normal Text> </Normal Text><Keyword>}</Keyword><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Keyword>{</Keyword><Normal Text> </Normal Text><Keyword>{</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Path>a/b}a</Path><Normal Text> </Normal Text><Keyword>}</Keyword><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Normal Text></Normal Text><br/>
<Keyword>{</Keyword><Normal Text> </Normal Text><Keyword>{</Keyword><Builtin>echo</Builtin><Normal Text> </Normal Text><Redirection>></Redirection><Path>a/b</Path><Keyword>}</Keyword><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Keyword>{</Keyword><Normal Text> </Normal Text><Keyword>{</Keyword><Builtin>echo</Builtin><Normal Text> </Normal Text><Redirection>></Redirection><Path>a/b}a</Path><Keyword>}</Keyword><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Keyword>{</Keyword><Normal Text> </Normal Text><Keyword>{</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Redirection>></Redirection><Path>a/b</Path><Normal Text> </Normal Text><Keyword>}</Keyword><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Keyword>{</Keyword><Normal Text> </Normal Text><Keyword>{</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Redirection>></Redirection><Path>a/b}a</Path><Normal Text> </Normal Text><Keyword>}</Keyword><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Normal Text></Normal Text><br/>
<Keyword>{</Keyword><OtherCommand>ab}c</OtherCommand><Keyword>}</Keyword><br/>
<Keyword>{</Keyword><OtherCommand>a,b}c</OtherCommand><Keyword>}</Keyword><br/>
<Keyword>{</Keyword><OtherCommand>ab</OtherCommand><Keyword>}</Keyword><Glob>[</Glob><String SingleQ>}</String SingleQ><br/>
<Keyword>{</Keyword><OtherCommand>a,b</OtherCommand><Keyword>}</Keyword><Glob>[</Glob><String SingleQ>}</String SingleQ><br/>
<Normal Text></Normal Text><br/>
<Command>cat</Command><Normal Text> </Normal Text><Redirection>></Redirection><Path>f</Path><Escape>{</Escape><Path>oo</Path><Operator>,</Operator><Path>ar</Path><Escape>}</Escape><br/>
<Normal Text></Normal Text><br/>
<Keyword>(</Keyword><Builtin>echo</Builtin><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Builtin>echo</Builtin><Keyword>)</Keyword><br/>
<Keyword>(</Keyword><Builtin>echo</Builtin><br/>
<Normal Text>    </Normal Text><Builtin>echo</Builtin><Keyword>)</Keyword><br/>
<Keyword>(</Keyword><Builtin>echo</Builtin><Normal Text> a</Normal Text><Keyword>)</Keyword><br/>
<Builtin>test</Builtin><Normal Text> a </Normal Text><Option>-eq</Option><Normal Text> b</Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># functions</Comment><br/>
<Function>a()</Function><Normal Text> </Normal Text><Keyword>{</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> x</Normal Text><Control>;</Control><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Function>a  ()</Function><Normal Text> </Normal Text><Keyword>{</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> x</Normal Text><Control>;</Control><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Keyword>function</Keyword><Normal Text> </Normal Text><Function>f</Function><Normal Text> </Normal Text><Keyword>{</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> x</Normal Text><Control>;</Control><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Function>kde.org()</Function><Normal Text> </Normal Text><Keyword>{</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> x</Normal Text><Control>;</Control><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Function>--func()</Function><Normal Text> </Normal Text><Keyword>{</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> x</Normal Text><Control>;</Control><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Builtin>noglob</Builtin><Normal Text> </Normal Text><Keyword>function</Keyword><Normal Text> </Normal Text><Function>f</Function><Normal Text> </Normal Text><Keyword>{</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> x</Normal Text><Control>;</Control><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Normal Text></Normal Text><br/>
<Comment># variables</Comment><br/>
<Variable>a</Variable><Operator>=</Operator><Variable>(</Variable><Normal Text>a b c</Normal Text><Variable>)</Variable><br/>
<Variable>a</Variable><Operator>=</Operator><String SingleQ>'a'</String SingleQ><br/>
<Variable>a</Variable><Operator>+=</Operator><Normal Text>b</Normal Text><br/>
<Variable>a</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Operator>=</Operator><String SingleQ>'a'</String SingleQ><br/>
<Variable>a</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Dollar Prefix>$</Dollar Prefix><Variable>i</Variable><Parameter Expansion Operator>]</Parameter Expansion Operator><Operator>=</Operator><String SingleQ>'x'</String SingleQ><br/>
<Variable>a</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Parameter Expansion>$((</Parameter Expansion><br/>
<Normal Text>    </Normal Text><Number>2</Number><Operator>+</Operator><Number>4</Number><br/>
<Parameter Expansion>))</Parameter Expansion><Parameter Expansion Operator>]</Parameter Expansion Operator><Operator>=</Operator><String SingleQ>'x'</String SingleQ><br/>
<Variable>a</Variable><Operator>=</Operator><Variable>(</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Normal Text>a</Normal Text><Parameter Expansion Operator>]</Parameter Expansion Operator><Variable>=</Variable><Normal Text>2 </Normal Text><Backquote>`</Backquote><Builtin>echo</Builtin><Backquote>`</Backquote><Normal Text> -s </Normal Text><Error>></Error><Normal Text> </Normal Text><String SingleQ>'ds'</String SingleQ><Variable>)</Variable><br/>
<Variable>a</Variable><Operator>=</Operator><Variable>(</Variable><Comment>#comment</Comment><br/>
<Path>value</Path><Glob>#</Glob><Path>nocomment</Path><Normal Text> </Normal Text><Comment>#comment)</Comment><br/>
<Variable>)</Variable><br/>
<Variable>a</Variable><Operator>=</Operator><Normal Text>a </Normal Text><Command>cat</Command><br/>
<Variable>a</Variable><Operator>=</Operator><Backquote>`</Backquote><Command>ls</Command><Backquote>`</Backquote><Normal Text> </Normal Text><Command>cat</Command><br/>
<Variable>a</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>2</Number><Operator>+</Operator><Number>3</Number><Parameter Expansion Operator>][</Parameter Expansion Operator><Normal Text>d</Normal Text><Parameter Expansion Operator>]</Parameter Expansion Operator><Operator>=</Operator><Normal Text>5</Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment># control structure</Comment><br/>
<Control Flow>for</Control Flow><Normal Text> name </Normal Text><Keyword>in</Keyword><Normal Text> a b c </Normal Text><Escape>{d</Escape><Operator>,</Operator><Escape>e}</Escape><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>do</Control Flow><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>done</Control Flow><br/>
<Control Flow>for</Control Flow><Normal Text> name</Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>do</Control Flow><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>done</Control Flow><br/>
<Control Flow>for</Control Flow><Normal Text> name do echo </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>done</Control Flow><br/>
<Control Flow>for</Control Flow><Normal Text> </Normal Text><Keyword>((</Keyword><Variable>i</Variable><Operator>=</Operator><Number>0</Number><Control>;</Control><Variable>i</Variable><Operator><</Operator><Number>5</Number><Control>;</Control><Operator>++</Operator><Variable>i</Variable><Keyword>))</Keyword><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>do</Control Flow><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>i</Variable><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>done</Control Flow><br/>
<Control Flow>for</Control Flow><Normal Text> </Normal Text><Keyword>((</Keyword><Variable>i</Variable><Operator>=</Operator><Number>1</Number><Control>;</Control><Dollar Prefix>$</Dollar Prefix><Parameter Expansion Operator>#</Parameter Expansion Operator><Variable>A</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Normal Text>i</Normal Text><Parameter Expansion Operator>]</Parameter Expansion Operator><Control>;</Control><Variable>i</Variable><Operator>++</Operator><Keyword>))</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>A</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Dollar Prefix>$</Dollar Prefix><Variable>i</Variable><Parameter Expansion Operator>]</Parameter Expansion Operator><br/>
<Control Flow>for</Control Flow><Normal Text> c </Normal Text><Keyword>(</Keyword><Escape>{</Escape><Number>1</Number><Escape>..</Escape><Number>50</Number><Escape>}</Escape><Keyword>)</Keyword><Normal Text> </Normal Text><Keyword>{</Keyword><OtherCommand>php</OtherCommand><Normal Text> </Normal Text><Path>./test.php</Path><Control>;</Control><Normal Text> </Normal Text><Command>sleep</Command><Normal Text> 5</Normal Text><Control>;</Control><Keyword>}</Keyword><br/>
<Control Flow>for</Control Flow><Normal Text> count </Normal Text><Keyword>in</Keyword><Normal Text> </Normal Text><Escape>{</Escape><Number>1</Number><Escape>..</Escape><Number>10</Number><Escape>}</Escape><Control>;</Control><Normal Text> </Normal Text><Control Flow>do</Control Flow><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>count</Variable><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>done</Control Flow><br/>
<Control Flow>for</Control Flow><Normal Text> f </Normal Text><Keyword>(</Keyword><Glob>*</Glob><Glob Flag>(.)</Glob Flag><Keyword>)</Keyword><Normal Text> </Normal Text><Command>mv</Command><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>f</Variable><Normal Text> fixed_</Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>f</Variable><br/>
<Control Flow>for</Control Flow><Normal Text> f </Normal Text><Keyword>(</Keyword><Glob>**</Glob><Path>/x</Path><Keyword>)</Keyword><Normal Text> </Normal Text><Command>cp</Command><Normal Text> newx </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>f</Variable><br/>
<Control Flow>for</Control Flow><Normal Text> f </Normal Text><Keyword>(</Keyword><Glob>*</Glob><Path>.txt</Path><Keyword>)</Keyword><Normal Text> </Normal Text><Keyword>{</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>f</Variable><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Control Flow>for</Control Flow><Normal Text> f </Normal Text><Keyword>in</Keyword><Normal Text> </Normal Text><Glob>**</Glob><Path>/x</Path><Control>;</Control><Normal Text> </Normal Text><Control Flow>do</Control Flow><Control>;</Control><Command>cp</Command><Normal Text> newx </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>f</Variable><Control>;</Control><Normal Text> </Normal Text><Control Flow>done</Control Flow><br/>
<Control Flow>for</Control Flow><Normal Text> f </Normal Text><Keyword>in</Keyword><Normal Text> </Normal Text><Glob>*</Glob><Path>/include/dbcommon.php</Path><Control>;</Control><Normal Text> </Normal Text><Control Flow>do</Control Flow><Control>;</Control><Command>cp</Command><Normal Text> dbcommon.php </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>f</Variable><Control>;</Control><Normal Text> </Normal Text><Control Flow>done</Control Flow><br/>
<Control Flow>for</Control Flow><Normal Text> file </Normal Text><Keyword>(</Keyword><Glob>*</Glob><Glob Flag>(ND-.)</Glob Flag><Keyword>)</Keyword><Normal Text> </Normal Text><Variable>IFS</Variable><Operator>=</Operator><Normal Text> </Normal Text><Builtin>read</Builtin><Normal Text> </Normal Text><Option>-re</Option><Normal Text> </Normal Text><Redirection><</Redirection><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>file</Variable><br/>
<Control Flow>for</Control Flow><Normal Text> i </Normal Text><Keyword>(</Keyword><Path>./</Path><Glob>*</Glob><Path>.mp3</Path><Keyword>){</Keyword><OtherCommand>mpg321</OtherCommand><Normal Text> </Normal Text><Option>--w</Option><Normal Text> </Normal Text><Option>-</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>i</Variable><Normal Text> </Normal Text><Redirection>></Redirection><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>i</Variable><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>r}</Parameter Expansion><Path>.wav</Path><Keyword>}</Keyword><br/>
<Control Flow>for</Control Flow><Normal Text> i </Normal Text><Keyword>in</Keyword><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(.)</Glob Flag><Control>;</Control><Normal Text> </Normal Text><Command>mv</Command><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>i</Variable><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>i</Variable><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>u}</Parameter Expansion><Normal Text> </Normal Text><Comment># `bar to `BAR</Comment><br/>
<Control Flow>for</Control Flow><Normal Text> i </Normal Text><Keyword>in</Keyword><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Glob Flag>(D@)</Glob Flag><Control>;</Control><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> </Normal Text><Expression>-f</Expression><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>i</Variable><Normal Text> </Normal Text><Control>||</Control><Normal Text> </Normal Text><Expression>-d</Expression><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>i</Variable><Normal Text> </Normal Text><Keyword>]]</Keyword><Normal Text> </Normal Text><Control>||</Control><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>i</Variable><br/>
<Control Flow>for</Control Flow><Normal Text> i </Normal Text><Keyword>in</Keyword><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Path>.gif</Path><Control>;</Control><Normal Text> </Normal Text><OtherCommand>convert</OtherCommand><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>i</Variable><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>i</Variable><Parameter Expansion>:r</Parameter Expansion><Normal Text>.jpg</Normal Text><br/>
<Control Flow>for</Control Flow><Normal Text> i </Normal Text><Keyword>in</Keyword><Normal Text> </Normal Text><Escape>{3</Escape><Operator>,</Operator><Escape>4}</Escape><Control>;</Control><Normal Text> </Normal Text><Command>sed</Command><Normal Text> </Normal Text><Path>s/flag=2/flag=</Path><Dollar Prefix>$</Dollar Prefix><Variable>i</Variable><Path>/</Path><Normal Text> fred.txt </Normal Text><Redirection>></Redirection><Normal Text> </Normal Text><Path>fred</Path><Dollar Prefix>$</Dollar Prefix><Variable>i</Variable><Path>.txt</Path><br/>
<Control Flow>for</Control Flow><Normal Text> ip </Normal Text><Keyword>(</Keyword><Escape>{</Escape><Number>217</Number><Escape>..</Escape><Number>219</Number><Escape>}</Escape><Normal Text> 225</Normal Text><Keyword>)</Keyword><Normal Text> </Normal Text><Keyword>{</Keyword><Builtin>echo</Builtin><Normal Text> </Normal Text><Option>-n</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>ip</Variable><Normal Text> </Normal Text><Control>;</Control><Command>ping</Command><Normal Text> </Normal Text><Option>-n</Option><Normal Text> 1 11.2.2.</Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>ip</Variable><Control>|</Control><Normal Text> </Normal Text><Command>grep</Command><Normal Text> Received</Normal Text><Keyword>}</Keyword><br/>
<Control Flow>for</Control Flow><Normal Text> user </Normal Text><Keyword>(</Keyword><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>k</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>f</Variable><Parameter Expansion>}</Parameter Expansion><Keyword>)</Keyword><Normal Text> </Normal Text><Keyword>{</Keyword><Builtin>print</Builtin><Normal Text> </Normal Text><Option>-rn</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>f</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Dollar Prefix>$</Dollar Prefix><Variable>user</Variable><Parameter Expansion Operator>]</Parameter Expansion Operator><Control>|</Control><OtherCommand>mailx</OtherCommand><Normal Text> </Normal Text><Option>-s</Option><Normal Text> </Normal Text><String DoubleQ>"..."</String DoubleQ><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>user</Variable><Keyword>}</Keyword><br/>
<Control Flow>for</Control Flow><Normal Text> x </Normal Text><Keyword>(</Keyword><Normal Text> 1 2 </Normal Text><Escape>{</Escape><Number>7</Number><Escape>..</Escape><Number>4</Number><Escape>}</Escape><Normal Text> a b c </Normal Text><Escape>{</Escape><Normal Text>p</Normal Text><Escape>..</Escape><Normal Text>n</Normal Text><Escape>}</Escape><Normal Text> </Normal Text><Glob>*</Glob><Path>.php</Path><Keyword>)</Keyword><Normal Text> </Normal Text><Keyword>{</Keyword><Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>x</Variable><Keyword>}</Keyword><br/>
<Control Flow>select</Control Flow><Normal Text> name </Normal Text><Keyword>in</Keyword><Normal Text> a </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>do</Control Flow><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>done</Control Flow><br/>
<Control Flow>select</Control Flow><Normal Text> name</Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>do</Control Flow><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>done</Control Flow><br/>
<Control Flow>if</Control Flow><Normal Text> </Normal Text><Builtin>:</Builtin><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>elif</Control Flow><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> : </Normal Text><Keyword>]]</Keyword><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>else</Control Flow><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>fi</Control Flow><br/>
<Control Flow>if</Control Flow><Normal Text> </Normal Text><Builtin>[</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Parameter Expansion Operator>#</Parameter Expansion Operator><Normal Text> </Normal Text><Expression>-gt</Expression><Normal Text> 0 </Normal Text><Builtin>]</Builtin><Control>;</Control><Control Flow>then</Control Flow><Normal Text> </Normal Text><Variable>string</Variable><Operator>=</Operator><Dollar Prefix>$</Dollar Prefix><Variable>*</Variable><Control>;</Control><Control Flow>else</Control Flow><Control>;</Control><Variable>string</Variable><Operator>=</Operator><Parameter Expansion>$(</Parameter Expansion><OtherCommand>getclip</OtherCommand><Parameter Expansion>)</Parameter Expansion><Control>;</Control><Control Flow>fi</Control Flow><br/>
<Control Flow>if</Control Flow><Normal Text> </Normal Text><Builtin>[</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Parameter Expansion Operator>#</Parameter Expansion Operator><Normal Text> </Normal Text><Expression>-gt</Expression><Normal Text> 0 </Normal Text><Builtin>]</Builtin><Control>;</Control><Control Flow>then</Control Flow><Normal Text> </Normal Text><Variable>string</Variable><Operator>=</Operator><Dollar Prefix>$</Dollar Prefix><Variable>*</Variable><Control>;</Control><Control Flow>else</Control Flow><Control>;</Control><Variable>string</Variable><Operator>=</Operator><Parameter Expansion>$(</Parameter Expansion><OtherCommand>getclip</OtherCommand><Parameter Expansion>)</Parameter Expansion><Control>;</Control><Control Flow>fi</Control Flow><Normal Text> </Normal Text><Comment># get parameter OR paste buffer</Comment><br/>
<Control Flow>if</Control Flow><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> </Normal Text><Operator>((</Operator><Dollar Prefix>$</Dollar Prefix><Variable>x</Variable><Normal Text> </Normal Text><Expression>-lt</Expression><Normal Text> 8</Normal Text><Operator>)</Operator><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Operator>(</Operator><Dollar Prefix>$</Dollar Prefix><Variable>y</Variable><Normal Text> </Normal Text><Expression>-ge</Expression><Normal Text> 32</Normal Text><Operator>))</Operator><Normal Text> </Normal Text><Control>||</Control><Normal Text> </Normal Text><Operator>((</Operator><Dollar Prefix>$</Dollar Prefix><Variable>z</Variable><Normal Text> </Normal Text><Expression>-gt</Expression><Normal Text> 32</Normal Text><Operator>)</Operator><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Operator>(</Operator><Dollar Prefix>$</Dollar Prefix><Variable>w</Variable><Normal Text> </Normal Text><Expression>-eq</Expression><Normal Text> 16</Normal Text><Operator>))</Operator><Normal Text> </Normal Text><Keyword>]]</Keyword><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><Normal Text> </Normal Text><Builtin>print</Builtin><Normal Text> </Normal Text><String DoubleQ>"complex combinations"</String DoubleQ><Control>;</Control><Normal Text> </Normal Text><Control Flow>fi</Control Flow><br/>
<Control Flow>if</Control Flow><Normal Text> </Normal Text><Builtin>builtin</Builtin><Normal Text> cd </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><Normal Text> </Normal Text><Redirection>&></Redirection><Normal Text> </Normal Text><Path>/dev/null</Path><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>fi</Control Flow><br/>
<Control Flow>if</Control Flow><Normal Text> </Normal Text><Command>grep</Command><Normal Text> </Normal Text><Option>-iq</Option><Normal Text> </Normal Text><String SingleQ>'matching'</String SingleQ><Normal Text> </Normal Text><Glob>*</Glob><Path>.php</Path><Normal Text> </Normal Text><Control>;</Control><Control Flow>then</Control Flow><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><String DoubleQ>"Found"</String DoubleQ><Normal Text> </Normal Text><Control>;</Control><Control Flow>else</Control Flow><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><String DoubleQ>"Not Found"</String DoubleQ><Control>;</Control><Normal Text> </Normal Text><Variable>fim</Variable><Operator>=</Operator><Variable>(</Variable><String DoubleQ>"</String DoubleQ><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>@Q</Parameter Expansion Operator><Parameter Expansion>)${(</Parameter Expansion><Parameter Expansion Operator>z</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>$(</Parameter Expansion><Command>cat</Command><Normal Text> </Normal Text><Option>--</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>nameoffile</Variable><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>}}</Parameter Expansion><String DoubleQ>"</String DoubleQ><Variable>)</Variable><Normal Text> </Normal Text><Control Flow>fi</Control Flow><br/>
<Control Flow>while</Control Flow><Normal Text> </Normal Text><Builtin>:</Builtin><Normal Text> </Normal Text><Control>||</Control><Normal Text> </Normal Text><Builtin>:</Builtin><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>do</Control Flow><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>done</Control Flow><br/>
<Control Flow>while</Control Flow><Normal Text> </Normal Text><Keyword>(</Keyword><Builtin>true</Builtin><Keyword>){</Keyword><Builtin>echo</Builtin><Normal Text> </Normal Text><Option>-n</Option><Normal Text> </Normal Text><Path>.</Path><Control>;</Control><Command>sleep</Command><Normal Text> 1</Normal Text><Keyword>}</Keyword><br/>
<Control Flow>while</Control Flow><Normal Text> </Normal Text><Keyword>(</Keyword><Builtin>true</Builtin><Keyword>){</Keyword><Builtin>echo</Builtin><Normal Text> </Normal Text><Path>.</Path><Control>;</Control><Command>sleep</Command><Normal Text> 1</Normal Text><Keyword>}</Keyword><br/>
<Control Flow>while</Control Flow><Normal Text> </Normal Text><Builtin>true</Builtin><Normal Text> </Normal Text><Control>;</Control><Control Flow>do</Control Flow><Normal Text> </Normal Text><Command>date</Command><Control>;</Control><Normal Text> </Normal Text><Command>sleep</Command><Normal Text> 5</Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>done</Control Flow><Normal Text> </Normal Text><Comment># forever</Comment><br/>
<Control Flow>while</Control Flow><Normal Text> </Normal Text><Builtin>true</Builtin><Control>;</Control><Normal Text> </Normal Text><Control Flow>do</Control Flow><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><String DoubleQ>"infinite loop"</String DoubleQ><Control>;</Control><Normal Text> </Normal Text><Command>sleep</Command><Normal Text> 5</Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>done</Control Flow><br/>
<Control Flow>until</Control Flow><Normal Text> </Normal Text><Builtin>:</Builtin><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Builtin>:</Builtin><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>do</Control Flow><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>done</Control Flow><br/>
<Control Flow>case</Control Flow><Normal Text> a </Normal Text><Keyword>in</Keyword><Normal Text> </Normal Text><Pattern>a</Pattern><Keyword>)</Keyword><Normal Text> </Normal Text><Control Flow>esac</Control Flow><br/>
<Control Flow>case</Control Flow><Normal Text> a </Normal Text><Keyword>in</Keyword><Normal Text> </Normal Text><Pattern>a</Pattern><Keyword>)</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>esac</Control Flow><br/>
<Control Flow>case</Control Flow><Normal Text> pwd </Normal Text><Keyword>in</Keyword><Normal Text> </Normal Text><Keyword>(</Keyword><Pattern>patt1</Pattern><Keyword>)</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Control Flow>;;</Control Flow><Normal Text> </Normal Text><Keyword>(</Keyword><Pattern>patt</Pattern><Glob>*</Glob><Keyword>)</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Control Flow>;&</Control Flow><Normal Text> </Normal Text><Pattern>patt</Pattern><Glob>?</Glob><Keyword>|</Keyword><Pattern>patt</Pattern><Keyword>)</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Control Flow>;|</Control Flow><br/>
<Pattern>patt</Pattern><Keyword>)</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Control Flow>;;</Control Flow><Normal Text> </Normal Text><Control Flow>esac</Control Flow><br/>
<Control Flow>repeat</Control Flow><Normal Text> </Normal Text><Number>1</Number><Operator>+</Operator><Number>2</Number><Operator>+</Operator><Backquote>`</Backquote><Builtin>echo</Builtin><Normal Text> 1</Normal Text><Backquote>`</Backquote><Operator>+</Operator><Number>23</Number><Normal Text> </Normal Text><Control Flow>do</Control Flow><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> pl</Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>done</Control Flow><br/>
<Control Flow>repeat</Control Flow><Normal Text> </Normal Text><Number>3</Number><Normal Text> </Normal Text><OtherCommand>time</OtherCommand><Normal Text> sleep 3   </Normal Text><Comment># single command</Comment><br/>
<Control Flow>repeat</Control Flow><Normal Text> </Normal Text><Number>5</Number><Normal Text> </Normal Text><Control>;</Control><Control Flow>do</Control Flow><Normal Text> </Normal Text><Command>date</Command><Control>;</Control><Normal Text> </Normal Text><Command>sleep</Command><Normal Text> 5</Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>done</Control Flow><Normal Text> </Normal Text><Comment># multi</Comment><br/>
<Control Flow>foreach</Control Flow><Normal Text> x y z </Normal Text><Keyword>(</Keyword><Normal Text> a </Normal Text><Backquote>`</Backquote><OtherCommand>a</OtherCommand><Normal Text> b</Normal Text><Backquote>`</Backquote><Control>;</Control><Normal Text> c </Normal Text><Keyword>)</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Control>;</Control><Control Flow>end</Control Flow><br/>
<Control Flow>for</Control Flow><Normal Text> x y </Normal Text><Keyword>(</Keyword><Normal Text> a b bc d ds </Normal Text><Keyword>)</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>x</Variable><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>y</Variable><br/>
<Control Flow>for</Control Flow><Normal Text> x y </Normal Text><Keyword>in</Keyword><Normal Text> a b c </Normal Text><Control>;</Control><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>x</Variable><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>y</Variable><br/>
<Control Flow>for</Control Flow><Normal Text> x y </Normal Text><Control>;</Control><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>x</Variable><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>y</Variable><br/>
<Control Flow>case</Control Flow><Normal Text> w </Normal Text><Keyword>{</Keyword><Normal Text> </Normal Text><Pattern>a</Pattern><Keyword>)</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Control Flow>;&</Control Flow><Normal Text> </Normal Text><Keyword>(</Keyword><Pattern>b</Pattern><Glob>?</Glob><Keyword>)</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Control Flow>case</Control Flow><Normal Text> a </Normal Text><Keyword>in</Keyword><br/>
<Comment>#a) echo ;;</Comment><br/>
<Pattern>a</Pattern><Glob>#</Glob><Keyword>)</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Control Flow>;;</Control Flow><br/>
<Control Flow>esac</Control Flow><br/>
<Normal Text></Normal Text><br/>
<Control Flow>for</Control Flow><Normal Text> name </Normal Text><Keyword>in</Keyword><Normal Text> a</Normal Text><br/>
<Normal Text> </Normal Text><OtherCommand>b</OtherCommand><Normal Text> c </Normal Text><Control>;</Control><br/>
<Control Flow>do</Control Flow><br/>
<Builtin>echo</Builtin><br/>
<Control Flow>done</Control Flow><br/>
<Normal Text></Normal Text><br/>
<Control Flow>case</Control Flow><Normal Text> a </Normal Text><Keyword>in</Keyword><br/>
<Normal Text>  </Normal Text><Pattern>a</Pattern><Escape>\(</Escape><Normal Text> </Normal Text><Keyword>|</Keyword><Normal Text> </Normal Text><Pattern>b</Pattern><Glob>*</Glob><Pattern>c</Pattern><Glob>?</Glob><Normal Text> </Normal Text><Keyword>)</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><br/>
<Normal Text>  </Normal Text><Keyword>(</Keyword><OtherCommand>b</OtherCommand><Dollar Prefix>$</Dollar Prefix><Variable>c</Variable><Keyword>)</Keyword><Normal Text> </Normal Text><Comment># no pattern</Comment><br/>
<Normal Text>  </Normal Text><Control Flow>;;</Control Flow><br/>
<Normal Text>  </Normal Text><Keyword>(</Keyword><Pattern>b</Pattern><Dollar Prefix>$</Dollar Prefix><Variable>c</Variable><Keyword>)</Keyword><Normal Text> </Normal Text><Control Flow>;;</Control Flow><br/>
<Normal Text>  </Normal Text><Comment># no pattern</Comment><br/>
<Normal Text>  </Normal Text><Keyword>(</Keyword><Pattern>b</Pattern><Dollar Prefix>$</Dollar Prefix><Variable>c</Variable><Keyword>)</Keyword><br/>
<Control Flow>esac</Control Flow><br/>
<Normal Text></Normal Text><br/>
<Control Flow>case</Control Flow><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><Keyword>in</Keyword><br/>
<Normal Text> </Normal Text><String DoubleQ>"a"</String DoubleQ><Keyword>)</Keyword><Normal Text> </Normal Text><OtherCommand>run_a</OtherCommand><Control>|&</Control><OtherCommand>a</OtherCommand><Control Flow>;;</Control Flow><br/>
<Normal Text> </Normal Text><String DoubleQ>"b"</String DoubleQ><Keyword>)</Keyword><Normal Text> </Normal Text><OtherCommand>run_b</OtherCommand><Control Flow>;;</Control Flow><br/>
<Normal Text> </Normal Text><String DoubleQ>"c"</String DoubleQ><Keyword>)</Keyword><Normal Text> </Normal Text><OtherCommand>run_c</OtherCommand><Control Flow>;;</Control Flow><br/>
<Normal Text> </Normal Text><Glob>*</Glob><Keyword>)</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><String DoubleQ>"Plase choose between 'a', 'b' or 'c'"</String DoubleQ><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Builtin>exit</Builtin><Normal Text> 1</Normal Text><Control Flow>;;</Control Flow><br/>
<Control Flow>esac</Control Flow><br/>
<Normal Text></Normal Text><br/>
<Control Flow>case</Control Flow><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>ans</Variable><Normal Text> </Normal Text><Keyword>in</Keyword><br/>
<Normal Text> </Normal Text><Pattern>1</Pattern><Keyword>|</Keyword><Pattern>a</Pattern><Keyword>)</Keyword><Normal Text> </Normal Text><OtherCommand>sdba</OtherCommand><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>key</Variable><Control Flow>;;</Control Flow><br/>
<Normal Text> </Normal Text><Pattern>2</Pattern><Keyword>|</Keyword><Pattern>f</Pattern><Keyword>)</Keyword><Normal Text> </Normal Text><OtherCommand>sdbf</OtherCommand><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>key</Variable><Control Flow>;;</Control Flow><br/>
<Normal Text> </Normal Text><Pattern>3</Pattern><Keyword>|</Keyword><Pattern>i</Pattern><Keyword>)</Keyword><Normal Text> </Normal Text><OtherCommand>sdbi</OtherCommand><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>key</Variable><Control Flow>;;</Control Flow><br/>
<Normal Text> </Normal Text><Glob>*</Glob><Keyword>)</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><String DoubleQ>"wrong answer </String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>ans</Variable><String DoubleQ>\n"</String DoubleQ><Normal Text> </Normal Text><Control Flow>;;</Control Flow><br/>
<Control Flow>esac</Control Flow><br/>
<Normal Text></Normal Text><br/>
<Control Flow>case</Control Flow><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>ans</Variable><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><Keyword>in</Keyword><br/>
<Normal Text> </Normal Text><Pattern>2</Pattern><Keyword>|</Keyword><Parameter Expansion>${</Parameter Expansion><Variable>prog</Variable><Parameter Expansion>}</Parameter Expansion><Pattern>9</Pattern><Keyword>)</Keyword><Normal Text> </Normal Text><Builtin>cd</Builtin><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Parameter Expansion>$(</Parameter Expansion><Command>cat</Command><Normal Text> </Normal Text><Path>/c/aam/</Path><Parameter Expansion>${</Parameter Expansion><Variable>prog</Variable><Parameter Expansion>}</Parameter Expansion><Path>9</Path><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><Control Flow>;;</Control Flow><br/>
<Normal Text> </Normal Text><Glob>**</Glob><Keyword>)</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><String DoubleQ>"wrong number </String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>ans</Variable><String DoubleQ>\n"</String DoubleQ><Normal Text> </Normal Text><Control Flow>;;</Control Flow><br/>
<Control Flow>esac</Control Flow><br/>
<Normal Text></Normal Text><br/>
<Control Flow>select</Control Flow><Normal Text> f </Normal Text><Keyword>in</Keyword><Normal Text> </Normal Text><Parameter Expansion>$(</Parameter Expansion><Command>ls</Command><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Path>.tex</Path><Normal Text> </Normal Text><Control>|</Control><Command>egrep</Command><Normal Text> </Normal Text><Option>-i</Option><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Parameter Expansion>${</Parameter Expansion><Variable>param</Variable><Parameter Expansion>}</Parameter Expansion><String DoubleQ>[^/]*.tex"</String DoubleQ><Parameter Expansion>)</Parameter Expansion><br/>
<Control Flow>do</Control Flow><br/>
<Normal Text> </Normal Text><Control Flow>if</Control Flow><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>REPLY</Variable><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><Expression>=</Expression><Normal Text> q </Normal Text><Keyword>]]</Keyword><br/>
<Normal Text> </Normal Text><Control Flow>then</Control Flow><br/>
<Normal Text>    </Normal Text><Control Flow>break</Control Flow><br/>
<Normal Text> </Normal Text><Control Flow>elif</Control Flow><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> </Normal Text><Expression>-n</Expression><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>f</Variable><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><Keyword>]]</Keyword><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><br/>
<Normal Text>    </Normal Text><OtherCommand>gvim</OtherCommand><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>f</Variable><br/>
<Normal Text> </Normal Text><Control Flow>fi</Control Flow><br/>
<Control Flow>done</Control Flow><br/>
<Normal Text></Normal Text><br/>
<Control Flow>for</Control Flow><Normal Text> d </Normal Text><Keyword>(</Keyword><Path>.</Path><Normal Text> </Normal Text><Path>./</Path><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Glob Flag>(N/m</Glob Flag><Number>-2</Number><Glob Flag>)</Glob Flag><Keyword>)</Keyword><Normal Text> </Normal Text><Keyword>{</Keyword><br/>
<Normal Text>  </Normal Text><Builtin>print</Builtin><Normal Text> </Normal Text><Option>-r</Option><Normal Text> </Normal Text><Option>--</Option><Normal Text> </Normal Text><String SingleQ>$'</String SingleQ><String Escape>\n</String Escape><String SingleQ>'</String SingleQ><Parameter Expansion>${</Parameter Expansion><Variable>d</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text>:</Normal Text><br/>
<Normal Text>  </Normal Text><Builtin>cd</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>d</Variable><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Keyword>{</Keyword><br/>
<Normal Text>     </Normal Text><Variable>l</Variable><Operator>=</Operator><Variable>(</Variable><Glob>*</Glob><Glob Flag>(Nm</Glob Flag><Number>-2</Number><Glob Flag>)</Glob Flag><Variable>)</Variable><br/>
<Normal Text>     </Normal Text><Keyword>((</Keyword><Dollar Prefix>$</Dollar Prefix><Parameter Expansion Operator>#</Parameter Expansion Operator><Variable>l</Variable><Keyword>))</Keyword><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Command>ls</Command><Normal Text> </Normal Text><Option>-ltd</Option><Normal Text> </Normal Text><Option>--</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>l</Variable><br/>
<Normal Text>     </Normal Text><Builtin>cd</Builtin><Normal Text> </Normal Text><Glob>~</Glob><Path>-</Path><br/>
<Normal Text>  </Normal Text><Keyword>}</Keyword><br/>
<Keyword>}</Keyword><br/>
<Normal Text></Normal Text><br/>
<Control Flow>for</Control Flow><Normal Text> f </Normal Text><Keyword>in</Keyword><Normal Text> </Normal Text><Path>http://zsh.sunsite.dk/Guide/zshguide</Path><Escape>{</Escape><Operator>,</Operator><Escape>{</Escape><Number>01</Number><Escape>..</Escape><Number>08</Number><Escape>}}</Escape><Path>.html</Path><Control>;</Control><Normal Text> </Normal Text><Control Flow>do</Control Flow><br/>
<Normal Text>    </Normal Text><Command>lynx</Command><Normal Text> </Normal Text><Option>-source</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>f</Variable><Normal Text> </Normal Text><Redirection>></Redirection><Parameter Expansion>${</Parameter Expansion><Variable>f</Variable><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>t}</Parameter Expansion><br/>
<Control Flow>done</Control Flow><br/>
<Normal Text></Normal Text><br/>
<Control Flow>for</Control Flow><Normal Text> f </Normal Text><Keyword>in</Keyword><Normal Text> </Normal Text><Path>./</Path><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Glob Flag>(-@)</Glob Flag><Control>;</Control><Normal Text> </Normal Text><Control Flow>do</Control Flow><br/>
<Normal Text>    </Normal Text><Builtin>stat</Builtin><Normal Text> +link </Normal Text><Option>-A</Option><Normal Text> l </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>f</Variable><br/>
<Normal Text>    </Normal Text><Keyword>(</Keyword><Builtin>cd</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>f</Variable><Parameter Expansion>:h</Parameter Expansion><Normal Text> </Normal Text><Control>&</Control><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> </Normal Text><Expression>-e</Expression><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>l</Variable><Normal Text>.gz </Normal Text><Keyword>]])</Keyword><Normal Text> </Normal Text><Control>&</Control><Normal Text> </Normal Text><Command>ln</Command><Normal Text> </Normal Text><Option>-sf</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>l</Variable><Normal Text>.gz </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>f</Variable><br/>
<Control Flow>done</Control Flow><br/>
<Normal Text></Normal Text><br/>
<Control Flow>for</Control Flow><Normal Text> </Normal Text><Keyword>((</Keyword><Variable>i</Variable><Operator>=</Operator><Number>1</Number><Control>;</Control><Normal Text> </Normal Text><Variable>i</Variable><Normal Text> </Normal Text><Operator><=</Operator><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Parameter Expansion Operator>#</Parameter Expansion Operator><Variable>fpath</Variable><Control>;</Control><Normal Text> </Normal Text><Operator>++</Operator><Variable>i</Variable><Keyword>))</Keyword><Control>;</Control><Normal Text> </Normal Text><Control Flow>do</Control Flow><br/>
<Normal Text>    </Normal Text><Variable>dir</Variable><Operator>=</Operator><Dollar Prefix>$</Dollar Prefix><Variable>fpath</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Normal Text>i</Normal Text><Parameter Expansion Operator>]</Parameter Expansion Operator><br/>
<Normal Text>    </Normal Text><Variable>zwc</Variable><Operator>=</Operator><Parameter Expansion>${</Parameter Expansion><Variable>dir</Variable><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>t}</Parameter Expansion><Normal Text>.zwc</Normal Text><br/>
<Normal Text>    </Normal Text><Control Flow>if</Control Flow><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>dir</Variable><Normal Text> </Normal Text><Expression>==</Expression><Normal Text> </Normal Text><Glob>(</Glob><Pattern>.</Pattern><Glob>|</Glob><Pattern>..</Pattern><Glob>)</Glob><Normal Text> </Normal Text><Control>||</Control><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>dir</Variable><Normal Text> </Normal Text><Expression>==</Expression><Normal Text> </Normal Text><Glob>(</Glob><Pattern>.</Pattern><Glob>|</Glob><Pattern>..</Pattern><Glob>)</Glob><Path>/</Path><Glob>*</Glob><Normal Text> </Normal Text><Keyword>]]</Keyword><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><br/>
<Normal Text>        </Normal Text><Control Flow>continue</Control Flow><br/>
<Normal Text>    </Normal Text><Control Flow>fi</Control Flow><br/>
<Normal Text>    </Normal Text><Variable>files</Variable><Operator>=</Operator><Variable>(</Variable><Dollar Prefix>$</Dollar Prefix><Variable>dir</Variable><Path>/</Path><Glob>*</Glob><Glob Flag>(N-.)</Glob Flag><Variable>)</Variable><br/>
<Normal Text>    </Normal Text><Control Flow>if</Control Flow><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> </Normal Text><Expression>-w</Expression><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>dir</Variable><Parameter Expansion>:h</Parameter Expansion><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Expression>-n</Expression><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>files</Variable><Normal Text> </Normal Text><Keyword>]]</Keyword><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><br/>
<Normal Text>        </Normal Text><Variable>files</Variable><Operator>=</Operator><Variable>(</Variable><Parameter Expansion>${${(</Parameter Expansion><Parameter Expansion Operator>M</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>files</Variable><Parameter Expansion Operator>%</Parameter Expansion Operator><String DoubleQ>/</String DoubleQ><Glob>*</Glob><String DoubleQ>/</String DoubleQ><Glob>*</Glob><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>#</Parameter Expansion Operator><String DoubleQ>/</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Variable>)</Variable><br/>
<Normal Text>        </Normal Text><Control Flow>if</Control Flow><Normal Text> </Normal Text><Keyword>(</Keyword><Normal Text> </Normal Text><Builtin>cd</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>dir</Variable><Parameter Expansion>:h</Parameter Expansion><Normal Text> </Normal Text><Control>&&</Control><br/>
<Normal Text>            </Normal Text><OtherCommand>zrecompile</OtherCommand><Normal Text> </Normal Text><Option>-p</Option><Normal Text> </Normal Text><Option>-U</Option><Normal Text> </Normal Text><Option>-z</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>zwc</Variable><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>files</Variable><Normal Text> </Normal Text><Keyword>)</Keyword><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><br/>
<Normal Text>        </Normal Text><Variable>fpath</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Normal Text>i</Normal Text><Parameter Expansion Operator>]</Parameter Expansion Operator><Operator>=</Operator><Dollar Prefix>$</Dollar Prefix><Variable>fpath</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Normal Text>i</Normal Text><Parameter Expansion Operator>]</Parameter Expansion Operator><Normal Text>.zwc</Normal Text><br/>
<Normal Text>        </Normal Text><Control Flow>fi</Control Flow><br/>
<Normal Text>    </Normal Text><Control Flow>fi</Control Flow><br/>
<Control Flow>done</Control Flow><br/>
<Normal Text></Normal Text><br/>
<Control Flow>if</Control Flow><Normal Text> </Normal Text><Builtin>ztcp</Builtin><Normal Text> pwspc 2811</Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><br/>
<Normal Text>    </Normal Text><Variable>tcpfd</Variable><Operator>=</Operator><Dollar Prefix>$</Dollar Prefix><Variable>REPLY</Variable><br/>
<Normal Text>    </Normal Text><Function>handler()</Function><Normal Text> </Normal Text><Keyword>{</Keyword><br/>
<Normal Text>        </Normal Text><Builtin>zle</Builtin><Normal Text> </Normal Text><Option>-I</Option><br/>
<Normal Text>        </Normal Text><Builtin>local</Builtin><Normal Text> </Normal Text><Variable>line</Variable><br/>
<Normal Text>        </Normal Text><Control Flow>if</Control Flow><Normal Text> </Normal Text><Expression>! </Expression><Builtin>read</Builtin><Normal Text> </Normal Text><Option>-r</Option><Normal Text> </Normal Text><Variable>line</Variable><Normal Text> </Normal Text><Redirection><&</Redirection><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><br/>
<Normal Text>            </Normal Text><Comment># select marks this fd if we reach EOF,</Comment><br/>
<Normal Text>            </Normal Text><Comment># so handle this specially.</Comment><br/>
<Normal Text>            </Normal Text><Builtin>print</Builtin><Normal Text> </Normal Text><String DoubleQ>"[Read on fd </String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><String DoubleQ> failed, removing.]"</String DoubleQ><Normal Text> </Normal Text><Redirection>>&</Redirection><File Descriptor>2</File Descriptor><br/>
<Normal Text>            </Normal Text><Builtin>zle</Builtin><Normal Text> </Normal Text><Option>-F</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><br/>
<Normal Text>            </Normal Text><Control Flow>return</Control Flow><Normal Text> </Normal Text><Number>1</Number><br/>
<Normal Text>        </Normal Text><Control Flow>fi</Control Flow><br/>
<Normal Text>        </Normal Text><Builtin>print</Builtin><Normal Text> </Normal Text><Option>-r</Option><Normal Text> </Normal Text><Option>-</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>line</Variable><br/>
<Normal Text>    </Normal Text><Keyword>}</Keyword><br/>
<Normal Text>    </Normal Text><Builtin>zle</Builtin><Normal Text> </Normal Text><Option>-F</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>tcpfd</Variable><Normal Text> handler</Normal Text><br/>
<Control Flow>fi</Control Flow><br/>
<Normal Text></Normal Text><br/>
<Control Flow>while</Control Flow><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>?</Variable><Normal Text> </Normal Text><Expression>-eq</Expression><Normal Text> 0 </Normal Text><Keyword>]]</Keyword><Normal Text> </Normal Text><Control Flow>do</Control Flow><br/>
<Normal Text>    </Normal Text><Variable>b</Variable><Operator>=</Operator><Variable>(</Variable><Dollar Prefix>$</Dollar Prefix><Parameter Expansion Operator>=</Parameter Expansion Operator><Variable>ZPCRE_OP)</Variable><br/>
<Normal Text>    </Normal Text><Variable>accum</Variable><Operator>+=</Operator><Dollar Prefix>$</Dollar Prefix><Variable>MATCH</Variable><br/>
<Normal Text>    </Normal Text><OtherCommand>pcre_match</OtherCommand><Normal Text> </Normal Text><Option>-b</Option><Normal Text> </Normal Text><Option>-n</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>b</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>2</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Normal Text> </Normal Text><Option>--</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>string</Variable><br/>
<Control Flow>done</Control Flow><br/>
<Normal Text></Normal Text><br/>
<Comment># bug #380229</Comment><br/>
<Parameter Expansion>${</Parameter Expansion><Variable>str</Variable><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>$((${</Parameter Expansion><Parameter Expansion Operator>#</Parameter Expansion Operator><Variable>a</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Operator>+</Operator><Number>1</Number><Parameter Expansion>))}</Parameter Expansion><br/>
<Normal Text></Normal Text><br/>
<Comment># from http://zshwiki.org/home/examples/hardstatus</Comment><br/>
<Keyword>function</Keyword><Normal Text> </Normal Text><Function>title</Function><Normal Text> </Normal Text><Keyword>{</Keyword><br/>
<Normal Text>  </Normal Text><Control Flow>if</Control Flow><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>TERM</Variable><Normal Text> </Normal Text><Expression>==</Expression><Normal Text> </Normal Text><String DoubleQ>"screen"</String DoubleQ><Normal Text> </Normal Text><Keyword>]]</Keyword><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><br/>
<Normal Text>    </Normal Text><Comment># Use these two for GNU Screen:</Comment><br/>
<Normal Text>    </Normal Text><Builtin>print</Builtin><Normal Text> </Normal Text><Option>-nR</Option><Normal Text> </Normal Text><String SingleQ>$'</String SingleQ><String Escape>\033</String Escape><String SingleQ>k'</String SingleQ><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><String SingleQ>$'</String SingleQ><String Escape>\033</String Escape><String SingleQ>'</String SingleQ><Escape>\\</Escape><br/>
<Normal Text></Normal Text><br/>
<Normal Text>    </Normal Text><Builtin>print</Builtin><Normal Text> </Normal Text><Option>-nR</Option><Normal Text> </Normal Text><String SingleQ>$'</String SingleQ><String Escape>\033</String Escape><String SingleQ>]0;'</String SingleQ><Dollar Prefix>$</Dollar Prefix><Variable>2</Variable><String SingleQ>$'</String SingleQ><String Escape>\a</String Escape><String SingleQ>'</String SingleQ><br/>
<Normal Text>  </Normal Text><Control Flow>elif</Control Flow><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>TERM</Variable><Normal Text> </Normal Text><Expression>==</Expression><Normal Text> </Normal Text><String DoubleQ>"xterm"</String DoubleQ><Normal Text> </Normal Text><Control>||</Control><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>TERM</Variable><Normal Text> </Normal Text><Expression>==</Expression><Normal Text> </Normal Text><String DoubleQ>"rxvt"</String DoubleQ><Normal Text> </Normal Text><Keyword>]]</Keyword><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><br/>
<Normal Text>    </Normal Text><Comment># Use this one instead for XTerms:</Comment><br/>
<Normal Text>    </Normal Text><Builtin>print</Builtin><Normal Text> </Normal Text><Option>-nR</Option><Normal Text> </Normal Text><String SingleQ>$'</String SingleQ><String Escape>\033</String Escape><String SingleQ>]0;'</String SingleQ><Dollar Prefix>$</Dollar Prefix><Variable>*</Variable><String SingleQ>$'</String SingleQ><String Escape>\a</String Escape><String SingleQ>'</String SingleQ><br/>
<Normal Text>  </Normal Text><Control Flow>fi</Control Flow><br/>
<Keyword>}</Keyword><br/>
<Normal Text></Normal Text><br/>
<Keyword>function</Keyword><Normal Text> </Normal Text><Function>precmd</Function><Normal Text> </Normal Text><Keyword>{</Keyword><br/>
<Normal Text>  </Normal Text><OtherCommand>title</OtherCommand><Normal Text> zsh </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>PWD</Variable><String DoubleQ>"</String DoubleQ><br/>
<Keyword>}</Keyword><br/>
<Normal Text></Normal Text><br/>
<Keyword>function</Keyword><Normal Text> </Normal Text><Function>preexec</Function><Normal Text> </Normal Text><Keyword>{</Keyword><br/>
<Normal Text>  </Normal Text><Builtin>emulate</Builtin><Normal Text> </Normal Text><Option>-L</Option><Normal Text> zsh</Normal Text><br/>
<Normal Text>  </Normal Text><Builtin>local</Builtin><Normal Text> </Normal Text><Option>-a</Option><Normal Text> </Normal Text><Variable>cmd</Variable><Control>;</Control><Normal Text> </Normal Text><Variable>cmd</Variable><Operator>=</Operator><Variable>(</Variable><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>z</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>1</Variable><Parameter Expansion>}</Parameter Expansion><Variable>)</Variable><br/>
<Normal Text>  </Normal Text><OtherCommand>title</OtherCommand><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>cmd</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>:t</Parameter Expansion><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>cmd</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>2</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>-1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><String DoubleQ>"</String DoubleQ><br/>
<Keyword>}</Keyword><br/>
<Normal Text></Normal Text><br/>
<Keyword>function</Keyword><Normal Text> </Normal Text><Function>ddump</Function><Operator>()</Operator><Keyword>{</Keyword><Command>diff</Command><Normal Text> </Normal Text><Option>-w</Option><Normal Text> </Normal Text><Glob>~</Glob><Path>dump/</Path><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><String DoubleQ>"</String DoubleQ><Keyword>}</Keyword><Normal Text>   </Normal Text><Comment># diff local file with new one in dump</Comment><br/>
<Keyword>function</Keyword><Normal Text> </Normal Text><Function>g</Function><Escape>{</Escape><Number>0</Number><Escape>..</Escape><Number>9</Number><Escape>}</Escape><Normal Text> </Normal Text><Keyword>{</Keyword><Normal Text> </Normal Text><OtherCommand>gmark</OtherCommand><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>0</Variable><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>*</Variable><Normal Text> </Normal Text><Keyword>}</Keyword><Normal Text>          </Normal Text><Comment># declaring multiple functions</Comment><br/>
<Keyword>function</Keyword><Normal Text> </Normal Text><Function>hello_function</Function><Normal Text> </Normal Text><Keyword>{</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><String DoubleQ>"hello world"</String DoubleQ><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Builtin>zle</Builtin><Normal Text> .accept-line</Normal Text><Keyword>}</Keyword><br/>
<Keyword>function</Keyword><Normal Text> </Normal Text><Function>scd</Function><Operator>()</Operator><Keyword>{</Keyword><Builtin>setopt</Builtin><Normal Text> nonomatch</Normal Text><Control>;</Control><Variable>e</Variable><Operator>=</Operator><Path>/dev/null</Path><Control>;</Control><Builtin>cd</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><Glob Flag>(/)</Glob Flag><Normal Text> </Normal Text><Redirection>&></Redirection><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>e</Variable><Control>||</Control><Builtin>cd</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><Glob>*</Glob><Glob Flag>(/)</Glob Flag><Normal Text> </Normal Text><Redirection>&></Redirection><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>e</Variable><Control>||</Control><Builtin>cd</Builtin><Normal Text> </Normal Text><Glob>*</Glob><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><Glob Flag>(/)</Glob Flag><Normal Text> </Normal Text><Redirection>&></Redirection><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>e</Variable><Control>||</Control><Builtin>cd</Builtin><Normal Text> </Normal Text><Glob>*</Glob><Parameter Expansion>${</Parameter Expansion><Variable>1</Variable><Parameter Expansion>}</Parameter Expansion><Glob>*</Glob><Glob Flag>(/)</Glob Flag><Normal Text> </Normal Text><Redirection>&></Redirection><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>e</Variable><Control>||</Control><Builtin>echo</Builtin><Normal Text> sorry</Normal Text><Keyword>}</Keyword><br/>
<Keyword>function</Keyword><Normal Text> </Normal Text><Function>vx</Function><Escape>{</Escape><Number>0</Number><Escape>..</Escape><Number>9</Number><Escape>}</Escape><Normal Text> </Normal Text><Keyword>{</Keyword><OtherCommand>gvim.exe</OtherCommand><Normal Text> </Normal Text><Path>c:/aax/</Path><Parameter Expansion>${</Parameter Expansion><Variable>0</Variable><Parameter Expansion Operator>/#</Parameter Expansion Operator><Pattern>v</Pattern><Parameter Expansion Operator>/</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Control>&</Control><Keyword>}</Keyword><br/>
<Keyword>function</Keyword><Normal Text> </Normal Text><Escape>{xyt</Escape><Operator>,</Operator><Escape>xyy}</Escape><Normal Text> </Normal Text><Keyword>{</Keyword><Normal Text> </Normal Text><Control Flow>if</Control Flow><Normal Text> </Normal Text><Builtin>[</Builtin><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>0</Variable><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><Expression>=</Expression><Normal Text> </Normal Text><String DoubleQ>"xyy"</String DoubleQ><Normal Text> </Normal Text><Builtin>]</Builtin><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> run xyy code</Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>else</Control Flow><Normal Text>  </Normal Text><Builtin>echo</Builtin><Normal Text> run xyt code</Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>fi</Control Flow><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> run common code </Normal Text><Keyword>}</Keyword><Normal Text> </Normal Text><Comment>#</Comment><br/>
<Normal Text></Normal Text><br/>
<Comment># creating a family of functions</Comment><br/>
<Comment># generate hrefs from url</Comment><br/>
<Keyword>function</Keyword><Normal Text> </Normal Text><Function>href</Function><Escape>{</Escape><Operator>,</Operator><Escape>s}</Escape><br/>
<Keyword>{</Keyword><br/>
<Normal Text>    </Normal Text><Comment># href creates an HTML hyperlink from a URL</Comment><br/>
<Normal Text>    </Normal Text><Comment># hrefs creates an HTML hyperlink from a URL with modified anchor text</Comment><br/>
<Normal Text>    </Normal Text><Variable>PROGNAME</Variable><Operator>=</Operator><Backquote>`</Backquote><Command>basename</Command><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>0</Variable><Backquote>`</Backquote><br/>
<Normal Text>    </Normal Text><Variable>url</Variable><Operator>=</Operator><Backquote>`</Backquote><Command>cat</Command><Normal Text> </Normal Text><Path>/dev/clipboard</Path><Backquote>`</Backquote><br/>
<Normal Text>    </Normal Text><Control Flow>if</Control Flow><Normal Text> </Normal Text><Builtin>[</Builtin><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>PROGNAME</Variable><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><Expression>=</Expression><Normal Text> </Normal Text><String DoubleQ>"href"</String DoubleQ><Normal Text> </Normal Text><Builtin>]</Builtin><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><br/>
<Normal Text>        </Normal Text><Variable>href</Variable><Operator>=</Operator><String DoubleQ>"<a href='</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>url</Variable><String DoubleQ>'></String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>url</Variable><String DoubleQ>"</String DoubleQ><br/>
<Normal Text>    </Normal Text><Control Flow>elif</Control Flow><Normal Text> </Normal Text><Builtin>[</Builtin><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>PROGNAME</Variable><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><Expression>=</Expression><Normal Text> </Normal Text><String DoubleQ>"hrefs"</String DoubleQ><Normal Text> </Normal Text><Builtin>]</Builtin><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><br/>
<Normal Text>        </Normal Text><Variable>anchortext</Variable><Operator>=</Operator><Parameter Expansion>${${(</Parameter Expansion><Parameter Expansion Operator>C</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>url</Variable><Parameter Expansion Operator>//</Parameter Expansion Operator><Glob>[</Glob><String SingleQ>_</String SingleQ><Glob Flag>-</Glob Flag><Glob>]</Glob><Parameter Expansion Operator>/</Parameter Expansion Operator><String DoubleQ> </String DoubleQ><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>t}</Parameter Expansion><br/>
<Normal Text>        </Normal Text><Variable>href</Variable><Operator>=</Operator><String DoubleQ>"<a href='</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>url</Variable><String DoubleQ>'></String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>anchortext</Variable><String DoubleQ>"</String DoubleQ><br/>
<Normal Text>    </Normal Text><Control Flow>fi</Control Flow><br/>
<Normal Text>    </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Option>-n</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>col</Variable><br/>
<Normal Text>    </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>href</Variable><Normal Text> </Normal Text><Redirection>></Redirection><Normal Text> </Normal Text><Path>/dev/clipboard</Path><Normal Text> </Normal Text><Control>|</Control><Normal Text> </Normal Text><Command>more</Command><br/>
<Keyword>}</Keyword><br/>
<Normal Text></Normal Text><br/>
<Comment># create vim scratch files va,vb to vz</Comment><br/>
<Keyword>function</Keyword><Normal Text> </Normal Text><Function>vx</Function><Escape>{a</Escape><Operator>,</Operator><Escape>b</Escape><Operator>,</Operator><Escape>c</Escape><Operator>,</Operator><Escape>d</Escape><Operator>,</Operator><Escape>e</Escape><Operator>,</Operator><Escape>f</Escape><Operator>,</Operator><Escape>g</Escape><Operator>,</Operator><Escape>h</Escape><Operator>,</Operator><Escape>i</Escape><Operator>,</Operator><Escape>j</Escape><Operator>,</Operator><Escape>k</Escape><Operator>,</Operator><Escape>l</Escape><Operator>,</Operator><Escape>m</Escape><Operator>,</Operator><Escape>n</Escape><Operator>,</Operator><Escape>o</Escape><Operator>,</Operator><Escape>q</Escape><Operator>,</Operator><Escape>r</Escape><Operator>,</Operator><Escape>s</Escape><Operator>,</Operator><Escape>t</Escape><Operator>,</Operator><Escape>u</Escape><Operator>,</Operator><Escape>v</Escape><Operator>,</Operator><Escape>w</Escape><Operator>,</Operator><Escape>x</Escape><Operator>,</Operator><Escape>y</Escape><Operator>,</Operator><Escape>z}</Escape><br/>
<Keyword>{</Keyword><br/>
<Normal Text>    </Normal Text><Variable>scratchfile</Variable><Operator>=</Operator><Parameter Expansion>${</Parameter Expansion><Variable>0</Variable><Parameter Expansion Operator>/#</Parameter Expansion Operator><Pattern>v</Pattern><Parameter Expansion Operator>/</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><br/>
<Normal Text>    </Normal Text><OtherCommand>gvim.exe</OtherCommand><Normal Text> </Normal Text><Path>c:/aax/</Path><Dollar Prefix>$</Dollar Prefix><Variable>scratchfile</Variable><Normal Text> </Normal Text><Control>&</Control><br/>
<Keyword>}</Keyword><br/>
<Normal Text></Normal Text><br/>
<Function>VDF()</Function><Keyword>{</Keyword><Builtin>cd</Builtin><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(/o</Glob Flag><Normal Text>m</Normal Text><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Glob Flag>)</Glob Flag><Control>;</Control><Variable>F</Variable><Operator>=</Operator><Parameter Expansion>$(</Parameter Expansion><Builtin>echo</Builtin><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(.o</Glob Flag><Normal Text>m</Normal Text><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Glob Flag>)</Glob Flag><Parameter Expansion>)</Parameter Expansion><Control>;</Control><Command>vi</Command><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>F</Variable><Keyword>}</Keyword><br/>
<Function>cyg()</Function><Keyword>{</Keyword><Variable>reply</Variable><Operator>=</Operator><Variable>(</Variable><String DoubleQ>"</String DoubleQ><Parameter Expansion>$(</Parameter Expansion><OtherCommand>cygpath</OtherCommand><Normal Text> </Normal Text><Option>-m</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>REPLY</Variable><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Variable>)</Variable><Keyword>}</Keyword><br/>
<Function>f  ()</Function><Keyword>{</Keyword><Control Flow>for</Control Flow><Normal Text> i</Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>do</Control Flow><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>i</Variable><Control>;</Control><Control Flow>done</Control Flow><Keyword>}</Keyword><br/>
<Variable>fg_light_red</Variable><Operator>=</Operator><String SingleQ>$'%{</String SingleQ><String Escape>\e</String Escape><String SingleQ>[1;31m%}'</String SingleQ><br/>
<Function>fn()</Function><Normal Text> </Normal Text><Keyword>{</Keyword><Normal Text> </Normal Text><Builtin>setopt</Builtin><Normal Text> localtraps</Normal Text><Control>;</Control><Normal Text> </Normal Text><Builtin>trap</Builtin><Normal Text> </Normal Text><String SingleQ>''</String SingleQ><Normal Text> INT</Normal Text><Control>;</Control><Normal Text> </Normal Text><Command>sleep</Command><Normal Text> 3</Normal Text><Control>;</Control><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Function>nt()</Function><Normal Text> </Normal Text><Keyword>{</Keyword><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>REPLY</Variable><Normal Text> </Normal Text><Expression>-nt</Expression><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>NTREF</Variable><Normal Text> </Normal Text><Keyword>]]</Keyword><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Function>preexec()</Function><Keyword>{</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> using </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>@</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Keyword>}</Keyword><br/>
<Function>take()</Function><Keyword>{</Keyword><Builtin>[</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Parameter Expansion Operator>#</Parameter Expansion Operator><Normal Text> </Normal Text><Expression>-eq</Expression><Normal Text> 1 </Normal Text><Builtin>]</Builtin><Normal Text>  </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Command>mkdir</Command><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Builtin>cd</Builtin><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><String DoubleQ>"</String DoubleQ><Keyword>}</Keyword><Normal Text> </Normal Text><Comment># create a directory and move to it in one go</Comment><br/>
<Normal Text></Normal Text><br/>
<OtherCommand>caption</OtherCommand><Normal Text> always </Normal Text><String DoubleQ>"%3n %t%? (%u)%?%?: %h%?"</String DoubleQ><br/>
<Normal Text></Normal Text><br/>
<Function>preexec()</Function><Normal Text> </Normal Text><Keyword>{</Keyword><br/>
<Normal Text>  </Normal Text><Builtin>emulate</Builtin><Normal Text> </Normal Text><Option>-L</Option><Normal Text> zsh</Normal Text><br/>
<Normal Text>  </Normal Text><Builtin>local</Builtin><Normal Text> </Normal Text><Option>-a</Option><Normal Text> </Normal Text><Variable>cmd</Variable><Control>;</Control><Normal Text> </Normal Text><Variable>cmd</Variable><Operator>=</Operator><Variable>(</Variable><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>z</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>1</Variable><Parameter Expansion>}</Parameter Expansion><Variable>)</Variable><Normal Text>             </Normal Text><Comment># Re-parse the command line</Comment><br/>
<Normal Text></Normal Text><br/>
<Normal Text>  </Normal Text><Comment># Construct a command that will output the desired job number.</Comment><br/>
<Normal Text>  </Normal Text><Control Flow>case</Control Flow><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>cmd</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Normal Text> </Normal Text><Keyword>in</Keyword><br/>
<Normal Text>      </Normal Text><Pattern>fg</Pattern><Keyword>)</Keyword><br/>
<Normal Text>        </Normal Text><Control Flow>if</Control Flow><Normal Text> </Normal Text><Keyword>((</Keyword><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Parameter Expansion Operator>#</Parameter Expansion Operator><Variable>cmd</Variable><Normal Text> </Normal Text><Operator>==</Operator><Normal Text> </Normal Text><Number>1</Number><Normal Text> </Normal Text><Keyword>))</Keyword><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><br/>
<Normal Text>          </Normal Text><Comment># No arguments, must find the current job</Comment><br/>
<Normal Text>          </Normal Text><Variable>cmd</Variable><Operator>=</Operator><Variable>(</Variable><Normal Text>builtin jobs -l %+</Normal Text><Variable>)</Variable><br/>
<Normal Text>        </Normal Text><Control Flow>else</Control Flow><br/>
<Normal Text>          </Normal Text><Comment># Replace the command name, ignore extra args.</Comment><br/>
<Normal Text>          </Normal Text><Variable>cmd</Variable><Operator>=</Operator><Variable>(</Variable><Normal Text>builtin jobs -l </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>Q</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>cmd</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>2</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Variable>)</Variable><br/>
<Normal Text>        </Normal Text><Control Flow>fi;;</Control Flow><br/>
<Normal Text>       </Normal Text><Pattern>%</Pattern><Glob>*</Glob><Keyword>)</Keyword><Normal Text> </Normal Text><Variable>cmd</Variable><Operator>=</Operator><Variable>(</Variable><Normal Text>builtin jobs -l </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>Q</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>cmd</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Variable>)</Variable><Control Flow>;;</Control Flow><Normal Text> </Normal Text><Comment># Same as "else" above</Comment><br/>
<Normal Text>       </Normal Text><Pattern>exec</Pattern><Keyword>)</Keyword><Normal Text> </Normal Text><Builtin>shift</Builtin><Normal Text> cmd</Normal Text><Control Flow>;&</Control Flow><Normal Text> </Normal Text><Comment># If the command is 'exec', drop that, because</Comment><br/>
<Normal Text>          </Normal Text><Comment># we'd rather just see the command that is being</Comment><br/>
<Normal Text>          </Normal Text><Comment># exec'd. Note the ;& to fall through.</Comment><br/>
<Normal Text>       </Normal Text><Glob>*</Glob><Keyword>)</Keyword><Normal Text>  </Normal Text><OtherCommand>title</OtherCommand><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>cmd</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>:t</Parameter Expansion><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>cmd</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>2</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>-1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><String DoubleQ>"</String DoubleQ><Normal Text>    </Normal Text><Comment># Not resuming a job,</Comment><br/>
<Normal Text>          </Normal Text><Control Flow>return;;</Control Flow><Normal Text>                        </Normal Text><Comment># so we're all done</Comment><br/>
<Normal Text>      </Normal Text><Control Flow>esac</Control Flow><br/>
<Normal Text></Normal Text><br/>
<Normal Text>  </Normal Text><Builtin>local</Builtin><Normal Text> </Normal Text><Option>-A</Option><Normal Text> </Normal Text><Variable>jt</Variable><Control>;</Control><Normal Text> </Normal Text><Variable>jt</Variable><Operator>=</Operator><Variable>(</Variable><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>kv</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>jobtexts</Variable><Parameter Expansion>}</Parameter Expansion><Variable>)</Variable><Normal Text>       </Normal Text><Comment># Copy jobtexts for subshell</Comment><br/>
<Normal Text></Normal Text><br/>
<Normal Text>  </Normal Text><Comment># Run the command, read its output, and look up the jobtext.</Comment><br/>
<Normal Text>  </Normal Text><Comment># Could parse $rest here, but $jobtexts (via $jt) is easier.</Comment><br/>
<Normal Text>  </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>cmd</Variable><Normal Text> </Normal Text><Redirection>>>(</Redirection><Builtin>read</Builtin><Normal Text> </Normal Text><Variable>num</Variable><Normal Text> </Normal Text><Variable>rest</Variable><br/>
<Normal Text>          </Normal Text><Variable>cmd</Variable><Operator>=</Operator><Variable>(</Variable><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>z</Parameter Expansion Operator><Parameter Expansion>)${(</Parameter Expansion><Parameter Expansion Operator>e</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Parameter Expansion Operator>:-</Parameter Expansion Operator><Escape>\$</Escape><String DoubleQ>jt</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>num</Variable><Parameter Expansion>}}</Parameter Expansion><Variable>)</Variable><br/>
<Normal Text>          </Normal Text><OtherCommand>title</OtherCommand><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>cmd</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>:t</Parameter Expansion><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>cmd</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>2</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>-1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><String DoubleQ>"</String DoubleQ><Redirection>)</Redirection><Normal Text> </Normal Text><File Descriptor>2</File Descriptor><Redirection>></Redirection><Path>/dev/null</Path><br/>
<Keyword>}</Keyword><br/>
<Normal Text></Normal Text><br/>
<Keyword>function</Keyword><Normal Text> </Normal Text><Function>precmd</Function><Operator>()</Operator><Normal Text> </Normal Text><Keyword>{</Keyword><br/>
<Normal Text>  </Normal Text><OtherCommand>title</OtherCommand><Normal Text> zsh </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>IDENTITY</Variable><String DoubleQ>:</String DoubleQ><Parameter Expansion>$(</Parameter Expansion><Builtin>print</Builtin><Normal Text> </Normal Text><Option>-P</Option><Normal Text> </Normal Text><Path>%</Path><Glob>~</Glob><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><br/>
<Keyword>}</Keyword><br/>
<Normal Text></Normal Text><br/>
<String DoubleQ>"%{^[]0;screen ^En (^Et) ^G%}"</String DoubleQ><br/>
<Normal Text></Normal Text><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Option>-nRP</Option><Normal Text> </Normal Text><String SingleQ>$'</String SingleQ><String Escape>\033</String Escape><String SingleQ>k%(!.#\[.)'</String SingleQ><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><String SingleQ>$'%'</String SingleQ><Normal Text>$</Normal Text><Escape>\(\(</Escape><Normal Text>20</Normal Text><Escape>\-</Escape><Parameter Expansion>${</Parameter Expansion><Parameter Expansion Operator>#</Parameter Expansion Operator><Variable>1</Variable><Parameter Expansion>}</Parameter Expansion><Escape>\)\)</Escape><String SingleQ>$'< ..<'</String SingleQ><Parameter Expansion>${${</Parameter Expansion><Variable>2</Variable><Parameter Expansion Operator>:+</Parameter Expansion Operator><Parameter Expansion>${${${</Parameter Expansion><Variable>@</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Parameter Expansion>${</Parameter Expansion><Parameter Expansion Operator>#</Parameter Expansion Operator><Parameter Expansion>${</Parameter Expansion><Variable>@</Variable><Parameter Expansion>}}</Parameter Expansion><Parameter Expansion Operator>]##</Parameter Expansion Operator><String DoubleQ>/</String DoubleQ><Glob>*</Glob><String DoubleQ>/</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>/#/</Parameter Expansion Operator><String DoubleQ> </String DoubleQ><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>:-</Parameter Expansion Operator><Parameter Expansion>}}</Parameter Expansion><Parameter Expansion Operator>//</Parameter Expansion Operator><Escape>\"</Escape><Parameter Expansion Operator>/</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><String SingleQ>$'%(!.\].)</String SingleQ><String Escape>\033</String Escape><String SingleQ>'</String SingleQ><Escape>\\</Escape><br/>
<Normal Text></Normal Text><br/>
<Function>c()</Function><Normal Text> </Normal Text><Keyword>{</Keyword><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Option>-E</Option><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Parameter Expansion>$(</Parameter Expansion><Redirection><</Redirection><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Function>col()</Function><Normal Text> </Normal Text><Keyword>{</Keyword><Normal Text> </Normal Text><Control Flow>for</Control Flow><Normal Text> l </Normal Text><Keyword>in</Keyword><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>f</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>$(</Parameter Expansion><Redirection><</Redirection><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>${${(</Parameter Expansion><Parameter Expansion Operator>Az</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>l</Variable><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>[</Parameter Expansion Operator><Dollar Prefix>$</Dollar Prefix><Variable>2</Variable><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Function>colx()</Function><Normal Text> </Normal Text><Keyword>{</Keyword><Normal Text> </Normal Text><Control Flow>for</Control Flow><Normal Text> l </Normal Text><Keyword>in</Keyword><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>f</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>$(</Parameter Expansion><Builtin>eval</Builtin><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>q</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>@</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>2</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>$</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>})</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Parameter Expansion>${${(</Parameter Expansion><Parameter Expansion Operator>Az</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>l</Variable><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>[</Parameter Expansion Operator><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Keyword>}</Keyword><br/>
<Normal Text></Normal Text><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Expression>-r</Expression><Normal Text> </Normal Text><Path>/etc/ssh/ssh_known_hosts</Path><Normal Text> </Normal Text><Keyword>]]</Keyword><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Variable>_global_ssh_hosts</Variable><Operator>=</Operator><Variable>(</Variable><Parameter Expansion>${${${${(</Parameter Expansion><Parameter Expansion Operator>f</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>$(</Parameter Expansion><Redirection><</Redirection><Path>/etc/ssh/ssh_known_hosts</Path><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>:#</Parameter Expansion Operator><Glob>[</Glob><Escape>\|</Escape><Glob>]*</Glob><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>%%</Parameter Expansion Operator><Escape>\ </Escape><Glob>*</Glob><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>%%</Parameter Expansion Operator><String DoubleQ>,</String DoubleQ><Glob>*</Glob><Parameter Expansion>}</Parameter Expansion><Variable>)</Variable><Normal Text> </Normal Text><Control>||</Control><Normal Text> </Normal Text><Variable>_global_ssh_hosts</Variable><Operator>=</Operator><Variable>()</Variable><br/>
<Variable>_ssh_hosts</Variable><Operator>=</Operator><Variable>(</Variable><Parameter Expansion>${${${${(</Parameter Expansion><Parameter Expansion Operator>f</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>$(</Parameter Expansion><Redirection><</Redirection><Dollar Prefix>$</Dollar Prefix><Variable>HOME</Variable><Path>/.ssh/known_hosts</Path><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>:#</Parameter Expansion Operator><Glob>[</Glob><Escape>\|</Escape><Glob>]*</Glob><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>%%</Parameter Expansion Operator><Escape>\ </Escape><Glob>*</Glob><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>%%</Parameter Expansion Operator><String DoubleQ>,</String DoubleQ><Glob>*</Glob><Parameter Expansion>}</Parameter Expansion><Variable>)</Variable><Normal Text> </Normal Text><Control>||</Control><Normal Text> </Normal Text><Variable>_ssh_hosts</Variable><Operator>=</Operator><Variable>()</Variable><br/>
<Variable>_ssh_config</Variable><Operator>=</Operator><Variable>(</Variable><Parameter Expansion>$(</Parameter Expansion><Command>cat</Command><Normal Text> </Normal Text><Path>~/.ssh/config</Path><Normal Text> </Normal Text><Control>|</Control><Normal Text> </Normal Text><Command>sed</Command><Normal Text> </Normal Text><Option>-ne</Option><Normal Text> </Normal Text><String SingleQ>'s/Host[=\t ]//p'</String SingleQ><Parameter Expansion>)</Parameter Expansion><Variable>)</Variable><Normal Text> </Normal Text><Control>||</Control><Normal Text> </Normal Text><Variable>_ssh_config</Variable><Operator>=</Operator><Variable>()</Variable><br/>
<Builtin>:</Builtin><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>A</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>_etc_hosts</Variable><Parameter Expansion Operator>:=</Parameter Expansion Operator><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>s:</Parameter Expansion Operator><String SingleQ> </String SingleQ><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>)${(</Parameter Expansion><Parameter Expansion Operator>ps:</Parameter Expansion Operator><String SingleQ>\t</String SingleQ><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>)${${(</Parameter Expansion><Parameter Expansion Operator>f</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Parameter Expansion Operator>~~</Parameter Expansion Operator><String DoubleQ>"</String DoubleQ><Parameter Expansion>$(</Parameter Expansion><Redirection><</Redirection><Path>/etc/hosts</Path><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>%%</Parameter Expansion Operator><Escape>\#</Escape><Glob>*</Glob><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>##</Parameter Expansion Operator><Glob>[</Glob><String SingleQ>:blank:</String SingleQ><Glob>]#[</Glob><Glob Flag>^</Glob Flag><Glob>[:</Glob><Pattern>blank</Pattern><Glob>:]]#</Glob><Parameter Expansion>}}}</Parameter Expansion><Normal Text> </Normal Text><Control>||</Control><Normal Text> </Normal Text><Variable>_etc_hosts</Variable><Operator>=</Operator><Variable>()</Variable><br/>
<Normal Text></Normal Text><br/>
<Variable>prefix</Variable><Operator>=</Operator><String SingleQ>'(I:'</String SingleQ><Dollar Prefix>$</Dollar Prefix><Variable>@</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Parameter Expansion>$((</Parameter Expansion><Dollar Prefix>$</Dollar Prefix><Variable>i</Variable><Operator>+</Operator><Number>1</Number><Parameter Expansion>))</Parameter Expansion><Parameter Expansion Operator>]</Parameter Expansion Operator><String SingleQ>':)'</String SingleQ><Dollar Prefix>$</Dollar Prefix><Variable>prefix</Variable><Normal Text> </Normal Text><Control>||</Control><Normal Text> </Normal Text><Variable>prefix</Variable><Operator>=</Operator><String SingleQ>'${('</String SingleQ><Dollar Prefix>$</Dollar Prefix><Variable>tmp</Variable><String SingleQ>'I:'</String SingleQ><Dollar Prefix>$</Dollar Prefix><Variable>@</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Parameter Expansion>$((</Parameter Expansion><Dollar Prefix>$</Dollar Prefix><Variable>i</Variable><Operator>+</Operator><Number>1</Number><Parameter Expansion>))</Parameter Expansion><Parameter Expansion Operator>]</Parameter Expansion Operator><String SingleQ>':'</String SingleQ><Parameter Expansion>${</Parameter Expansion><Variable>prefix</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Parameter Expansion>$((</Parameter Expansion><Dollar Prefix>$</Dollar Prefix><Parameter Expansion Operator>#</Parameter Expansion Operator><Variable>tmp</Variable><Operator>+</Operator><Number>4</Number><Parameter Expansion>))</Parameter Expansion><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>-1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><br/>
<Variable>prefix</Variable><Operator>=</Operator><String SingleQ>'${'</String SingleQ><Parameter Expansion>${</Parameter Expansion><Variable>j</Variable><Parameter Expansion Operator>:+</Parameter Expansion Operator><Glob>(</Glob><Dollar Prefix>$</Dollar Prefix><Variable>j</Variable><Glob>)</Glob><Parameter Expansion>}</Parameter Expansion><Dollar Prefix>$</Dollar Prefix><Variable>prefix</Variable><Control>;</Control><Normal Text> </Normal Text><Variable>suffix</Variable><Operator>+=</Operator><String SingleQ>':#'</String SingleQ><Parameter Expansion>${</Parameter Expansion><Variable>@</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Parameter Expansion>$((</Parameter Expansion><Dollar Prefix>$</Dollar Prefix><Variable>i</Variable><Operator>+</Operator><Number>1</Number><Parameter Expansion>))</Parameter Expansion><Parameter Expansion Operator>]//</Parameter Expansion Operator><Glob Flag>(#m)</Glob Flag><Glob>[</Glob><Escape>\/\'\"</Escape><Glob>]</Glob><Parameter Expansion Operator>/</Parameter Expansion Operator><Escape>\\</Escape><Dollar Prefix>$</Dollar Prefix><Variable>MATCH</Variable><Parameter Expansion>}</Parameter Expansion><String SingleQ>'}'</String SingleQ><br/>
<Variable>cmd</Variable><Operator>+=</Operator><String SingleQ>'<'</String SingleQ><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>q</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>@</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Parameter Expansion>$((</Parameter Expansion><Dollar Prefix>$</Dollar Prefix><Variable>i</Variable><Operator>+</Operator><Number>1</Number><Parameter Expansion>))</Parameter Expansion><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><String SingleQ>';'</String SingleQ><br/>
<Variable>C</Variable><Operator>=</Operator><Parameter Expansion>${</Parameter Expansion><Variable>OPTARG</Variable><Parameter Expansion Operator>//</Parameter Expansion Operator><Glob Flag>(#m)</Glob Flag><Glob>[</Glob><String SingleQ>[</String SingleQ><Escape>\/\'\"\\</Escape><Glob>]</Glob><Parameter Expansion Operator>/</Parameter Expansion Operator><Escape>\\</Escape><Dollar Prefix>$</Dollar Prefix><Variable>MATCH</Variable><Parameter Expansion>}</Parameter Expansion><br/>
<Dollar Prefix>$</Dollar Prefix><Parameter Expansion Operator>=</Parameter Expansion Operator><Variable>p</Variable><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>e</Variable><String SingleQ>'"$(<'</String SingleQ><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>j:</Parameter Expansion Operator><String SingleQ><</String SingleQ><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>)${(</Parameter Expansion><Parameter Expansion Operator>q</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>@</Variable><Parameter Expansion>}}</Parameter Expansion><String SingleQ>')"'</String SingleQ><Dollar Prefix>$</Dollar Prefix><Variable>m</Variable><br/>
<Normal Text></Normal Text><br/>
<Function>zshaddhistory()</Function><Normal Text> </Normal Text><Keyword>{</Keyword><br/>
<Normal Text>    </Normal Text><Builtin>print</Builtin><Normal Text> </Normal Text><Option>-sr</Option><Normal Text> </Normal Text><Option>--</Option><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>1</Variable><Parameter Expansion Operator>%%</Parameter Expansion Operator><String SingleQ>$'</String SingleQ><String Escape>\n</String Escape><String SingleQ>'</String SingleQ><Parameter Expansion>}</Parameter Expansion><br/>
<Normal Text>    </Normal Text><Builtin>fc</Builtin><Normal Text> </Normal Text><Option>-p</Option><Normal Text> .zsh_local_history</Normal Text><br/>
<Keyword>}</Keyword><br/>
<Normal Text></Normal Text><br/>
<Function>TRAPINT()</Function><Normal Text> </Normal Text><Keyword>{</Keyword><br/>
<Normal Text>    </Normal Text><Builtin>print</Builtin><Normal Text> </Normal Text><String DoubleQ>"Caught SIGINT, aborting."</String DoubleQ><br/>
<Normal Text>    </Normal Text><Control Flow>return</Control Flow><Normal Text> </Normal Text><Parameter Expansion>$((</Parameter Expansion><Normal Text> </Normal Text><Number>128</Number><Normal Text> </Normal Text><Operator>+</Operator><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><Normal Text> </Normal Text><Parameter Expansion>))</Parameter Expansion><br/>
<Keyword>}</Keyword><br/>
<Normal Text></Normal Text><br/>
<Function>zsh_directory_name()</Function><Normal Text> </Normal Text><Keyword>{</Keyword><br/>
<Normal Text>    </Normal Text><Builtin>emulate</Builtin><Normal Text> </Normal Text><Option>-L</Option><Normal Text> zsh</Normal Text><br/>
<Normal Text>    </Normal Text><Builtin>setopt</Builtin><Normal Text> extendedglob</Normal Text><br/>
<Normal Text>    </Normal Text><Builtin>local</Builtin><Normal Text> </Normal Text><Option>-a</Option><Normal Text> </Normal Text><Variable>match</Variable><Normal Text> </Normal Text><Variable>mbegin</Variable><Normal Text> </Normal Text><Variable>mend</Variable><br/>
<Normal Text>    </Normal Text><Control Flow>if</Control Flow><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><Normal Text> </Normal Text><Expression>=</Expression><Normal Text> d </Normal Text><Keyword>]]</Keyword><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><br/>
<Normal Text>        </Normal Text><Comment># turn the directory into a name</Comment><br/>
<Normal Text>        </Normal Text><Control Flow>if</Control Flow><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>2</Variable><Normal Text> </Normal Text><Expression>=</Expression><Normal Text> </Normal Text><Glob Flag>(#b)</Glob Flag><Glob>(</Glob><Pattern>/home/pws/perforce/</Pattern><Glob>)([</Glob><Glob Flag>^</Glob Flag><String SingleQ>/</String SingleQ><Glob>]##)*</Glob><Normal Text> </Normal Text><Keyword>]]</Keyword><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><br/>
<Normal Text>            </Normal Text><Builtin>typeset</Builtin><Normal Text> </Normal Text><Option>-ga</Option><Normal Text> </Normal Text><Variable>reply</Variable><br/>
<Normal Text>            </Normal Text><Variable>reply</Variable><Operator>=</Operator><Variable>(</Variable><Normal Text>p:</Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>match</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>2</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Normal Text> </Normal Text><Parameter Expansion>$((</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Parameter Expansion Operator>#</Parameter Expansion Operator><Variable>match</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Operator>+</Operator><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Parameter Expansion Operator>#</Parameter Expansion Operator><Variable>match</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>2</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>))</Parameter Expansion><Normal Text> </Normal Text><Variable>)</Variable><br/>
<Normal Text>        </Normal Text><Control Flow>else</Control Flow><br/>
<Normal Text>            </Normal Text><Control Flow>return</Control Flow><Normal Text> </Normal Text><Number>1</Number><br/>
<Normal Text>        </Normal Text><Control Flow>fi</Control Flow><br/>
<Normal Text>    </Normal Text><Control Flow>elif</Control Flow><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><Normal Text> </Normal Text><Expression>=</Expression><Normal Text> n </Normal Text><Keyword>]]</Keyword><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><br/>
<Normal Text>        </Normal Text><Comment># turn the name into a directory</Comment><br/>
<Normal Text>        </Normal Text><Keyword>[[</Keyword><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>2</Variable><Normal Text> </Normal Text><Expression>!=</Expression><Normal Text> </Normal Text><Glob Flag>(#b)</Glob Flag><Normal Text>p:</Normal Text><Glob>(?*)</Glob><Normal Text> </Normal Text><Keyword>]]</Keyword><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Control Flow>return</Control Flow><Normal Text> </Normal Text><Number>1</Number><br/>
<Normal Text>        </Normal Text><Builtin>typeset</Builtin><Normal Text> </Normal Text><Option>-ga</Option><Normal Text> </Normal Text><Variable>reply</Variable><br/>
<Normal Text>        </Normal Text><Variable>reply</Variable><Operator>=</Operator><Variable>(</Variable><Path>/home/pws/perforce/</Path><Dollar Prefix>$</Dollar Prefix><Variable>match</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Variable>)</Variable><br/>
<Normal Text>    </Normal Text><Control Flow>elif</Control Flow><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><Normal Text> </Normal Text><Expression>=</Expression><Normal Text> c </Normal Text><Keyword>]]</Keyword><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><br/>
<Normal Text>        </Normal Text><Comment># complete names</Comment><br/>
<Normal Text>        </Normal Text><Builtin>local</Builtin><Normal Text> </Normal Text><Variable>expl</Variable><br/>
<Normal Text>        </Normal Text><Builtin>local</Builtin><Normal Text> </Normal Text><Option>-a</Option><Normal Text> </Normal Text><Variable>dirs</Variable><br/>
<Normal Text>        </Normal Text><Variable>dirs</Variable><Operator>=</Operator><Variable>(</Variable><Path>/home/pws/perforce/</Path><Glob>*</Glob><Glob Flag>(/</Glob Flag><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>t</Parameter Expansion><Glob Flag>)</Glob Flag><Variable>)</Variable><br/>
<Normal Text>        </Normal Text><Variable>dirs</Variable><Operator>=</Operator><Variable>(</Variable><Normal Text>p:</Normal Text><Parameter Expansion>${</Parameter Expansion><Parameter Expansion Operator>^</Parameter Expansion Operator><Variable>dirs</Variable><Parameter Expansion>}</Parameter Expansion><Variable>)</Variable><br/>
<Normal Text>        </Normal Text><OtherCommand>_wanted</OtherCommand><Normal Text> dynamic-dirs expl </Normal Text><String SingleQ>'dynamic directory'</String SingleQ><Normal Text> compadd </Normal Text><Option>-S</Option><Escape>\]</Escape><Normal Text> </Normal Text><Option>-a</Option><Normal Text> dirs</Normal Text><br/>
<Normal Text>        </Normal Text><Control Flow>return</Control Flow><br/>
<Normal Text>    </Normal Text><Control Flow>else</Control Flow><br/>
<Normal Text>        </Normal Text><Control Flow>return</Control Flow><Normal Text> </Normal Text><Number>1</Number><br/>
<Normal Text>    </Normal Text><Control Flow>fi</Control Flow><br/>
<Normal Text>    </Normal Text><Control Flow>return</Control Flow><Normal Text> </Normal Text><Number>0</Number><br/>
<Keyword>}</Keyword><br/>
<Normal Text></Normal Text><br/>
<Keyword>()</Keyword><Normal Text> </Normal Text><Keyword>{</Keyword><br/>
<Normal Text>    </Normal Text><Builtin>print</Builtin><Normal Text> File </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><Normal Text>:</Normal Text><br/>
<Normal Text>    </Normal Text><Command>cat</Command><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><br/>
<Keyword>}</Keyword><Normal Text> </Normal Text><Redirection>=(</Redirection><Builtin>print</Builtin><Normal Text> This be the verse</Normal Text><Redirection>)</Redirection><br/>
<Normal Text></Normal Text><br/>
<Control Flow>if</Control Flow><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>foo</Variable><Normal Text> </Normal Text><Expression>=</Expression><Normal Text> </Normal Text><Glob>(</Glob><Pattern>a</Pattern><Glob>|</Glob><Pattern>an</Pattern><Glob>)</Glob><Normal Text>_</Normal Text><Glob Flag>(#b)</Glob Flag><Glob>(*)</Glob><Normal Text> </Normal Text><Keyword>]]</Keyword><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><br/>
<Normal Text>    </Normal Text><Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>foo</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Dollar Prefix>$</Dollar Prefix><Variable>mbegin</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>],</Parameter Expansion Operator><Dollar Prefix>$</Dollar Prefix><Variable>mend</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><br/>
<Control Flow>fi</Control Flow><br/>
<Normal Text></Normal Text><br/>
<Function>zshaddhistory()</Function><Normal Text> </Normal Text><Keyword>{</Keyword><br/>
<Normal Text>    </Normal Text><Builtin>emulate</Builtin><Normal Text> </Normal Text><Option>-L</Option><Normal Text> zsh</Normal Text><br/>
<Normal Text>    </Normal Text><Comment>## uncomment if HISTORY_IGNORE</Comment><br/>
<Normal Text>    </Normal Text><Comment>## should use EXTENDED_GLOB syntax</Comment><br/>
<Normal Text>    </Normal Text><Comment># setopt extendedglob</Comment><br/>
<Normal Text>    </Normal Text><Keyword>[[</Keyword><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><Normal Text> </Normal Text><Expression>!=</Expression><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Parameter Expansion Operator>~</Parameter Expansion Operator><Variable>HISTORY_IGNORE</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>}</Keyword><br/>
<Normal Text></Normal Text><br/>
<Function>pick-recent-dirs-file()</Function><Normal Text> </Normal Text><Keyword>{</Keyword><br/>
<Normal Text>    </Normal Text><Control Flow>if</Control Flow><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>PWD</Variable><Normal Text> </Normal Text><Expression>=</Expression><Normal Text> </Normal Text><Path>~/text/writing</Path><Glob>(|</Glob><Pattern>/</Pattern><Glob>*)</Glob><Normal Text> </Normal Text><Keyword>]]</Keyword><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><br/>
<Normal Text>        </Normal Text><Variable>reply</Variable><Operator>=</Operator><Variable>(</Variable><Path>~/.chpwd-recent-dirs-writing</Path><Variable>)</Variable><br/>
<Normal Text>    </Normal Text><Control Flow>else</Control Flow><br/>
<Normal Text>        </Normal Text><Variable>reply</Variable><Operator>=</Operator><Variable>(</Variable><Normal Text>+</Normal Text><Variable>)</Variable><br/>
<Normal Text>    </Normal Text><Control Flow>fi</Control Flow><br/>
<Keyword>}</Keyword><br/>
<Normal Text></Normal Text><br/>
<Function>run-help-ssh()</Function><Normal Text> </Normal Text><Keyword>{</Keyword><br/>
<Normal Text>    </Normal Text><Builtin>emulate</Builtin><Normal Text> </Normal Text><Option>-LR</Option><Normal Text> zsh</Normal Text><br/>
<Normal Text>    </Normal Text><Builtin>local</Builtin><Normal Text> </Normal Text><Option>-a</Option><Normal Text> </Normal Text><Variable>args</Variable><br/>
<Normal Text>    </Normal Text><Comment># Delete the "-l username" option</Comment><br/>
<Normal Text>    </Normal Text><Builtin>zparseopts</Builtin><Normal Text> </Normal Text><Option>-D</Option><Normal Text> </Normal Text><Option>-E</Option><Normal Text> </Normal Text><Option>-a</Option><Normal Text> args l:</Normal Text><br/>
<Normal Text>    </Normal Text><Comment># Delete other options, leaving: host command</Comment><br/>
<Normal Text>    </Normal Text><Variable>args</Variable><Operator>=</Operator><Variable>(</Variable><Parameter Expansion>${</Parameter Expansion><Variable>@</Variable><Parameter Expansion Operator>:#</Parameter Expansion Operator><String DoubleQ>-</String DoubleQ><Glob>*</Glob><Parameter Expansion>}</Parameter Expansion><Variable>)</Variable><br/>
<Normal Text>    </Normal Text><Control Flow>if</Control Flow><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Parameter Expansion Operator>#</Parameter Expansion Operator><Variable>args</Variable><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Expression>-lt</Expression><Normal Text> 2 </Normal Text><Keyword>]]</Keyword><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><br/>
<Normal Text>        </Normal Text><Command>man</Command><Normal Text> ssh</Normal Text><br/>
<Normal Text>    </Normal Text><Control Flow>else</Control Flow><br/>
<Normal Text>        </Normal Text><OtherCommand>run-help</OtherCommand><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>args</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>2</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><br/>
<Normal Text>    </Normal Text><Control Flow>fi</Control Flow><br/>
<Keyword>}</Keyword><br/>
<Normal Text></Normal Text><br/>
<Builtin>local</Builtin><Normal Text> </Normal Text><Option>-A</Option><Normal Text> </Normal Text><Variable>zdn_top</Variable><Operator>=</Operator><Variable>(</Variable><br/>
<Normal Text>    g   </Normal Text><Path>~/git</Path><br/>
<Normal Text>    ga  </Normal Text><Path>~/alternate/git</Path><br/>
<Normal Text>    gs  </Normal Text><Path>/scratch/</Path><Dollar Prefix>$</Dollar Prefix><Variable>USER</Variable><Path>/git/:second2</Path><br/>
<Normal Text>    :default: </Normal Text><Path>/:second1</Path><br/>
<Variable>)</Variable><br/>
<Normal Text></Normal Text><br/>
<Keyword>((</Keyword><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Parameter Expansion Operator>#</Parameter Expansion Operator><Variable>files</Variable><Normal Text> </Normal Text><Operator>></Operator><Normal Text> </Normal Text><Number>0</Number><Normal Text> </Normal Text><Keyword>))</Keyword><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Builtin>print</Builtin><Normal Text> </Normal Text><Option>-rl</Option><Normal Text> </Normal Text><Option>--</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>files</Variable><Normal Text> </Normal Text><Control>|</Control><Normal Text> </Normal Text><Escape>\</Escape><br/>
<Normal Text>    </Normal Text><OtherCommand>mailx</OtherCommand><Normal Text> </Normal Text><Option>-s</Option><Normal Text> </Normal Text><String DoubleQ>"empty files"</String DoubleQ><Normal Text> foo </Normal Text><Glob>[</Glob><String SingleQ>at</String SingleQ><Glob>]</Glob><Normal Text> bar.tdl</Normal Text><br/>
<Normal Text></Normal Text><br/>
<Builtin>print</Builtin><Normal Text> </Normal Text><Option>-r</Option><Normal Text> </Normal Text><Option>--</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>s</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>3</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>l:</Parameter Expansion Operator><Number>4</Number><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>s</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>4</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>l:</Parameter Expansion Operator><Number>8</Number><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>s</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>5</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Escape>\</Escape><br/>
<Normal Text>    </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>l:</Parameter Expansion Operator><Number>8</Number><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>s</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>6</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>l:</Parameter Expansion Operator><Number>8</Number><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>s</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>8</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>s</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>10</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>f</Variable><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>s</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>14</Number><Parameter Expansion Operator>]:+</Parameter Expansion Operator><String DoubleQ>-> </String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>s</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>14</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><br/>
<Normal Text></Normal Text><br/>
<Command>paste</Command><Normal Text> </Normal Text><Redirection><(</Redirection><Command>cut</Command><Normal Text> </Normal Text><Option>-f1</Option><Normal Text> file1</Normal Text><Redirection>)</Redirection><Normal Text> </Normal Text><Redirection><(</Redirection><Command>cut</Command><Normal Text> </Normal Text><Option>-f3</Option><Normal Text> file2</Normal Text><Redirection>)</Redirection><Normal Text> </Normal Text><Control>|</Control><br/>
<Normal Text>    </Normal Text><Command>tee</Command><Normal Text> </Normal Text><Redirection>>(</Redirection><OtherCommand>process1</OtherCommand><Redirection>)</Redirection><Normal Text> </Normal Text><Redirection>>(</Redirection><OtherCommand>process2</OtherCommand><Redirection>)</Redirection><Normal Text> </Normal Text><Redirection>></Redirection><Path>/dev/null</Path><br/>
<Normal Text></Normal Text><br/>
<Command>ls</Command><Normal Text> </Normal Text><Escape>\</Escape><br/>
<Redirection>></Redirection><Normal Text> </Normal Text><Path>x</Path><Glob>*</Glob><br/>
<Normal Text></Normal Text><br/>
<Command>sed</Command><Normal Text> </Normal Text><String SingleQ>'</String SingleQ><br/>
<String SingleQ> s/mvoe/move/g</String SingleQ><br/>
<String SingleQ> s/thier/their/g'</String SingleQ><Normal Text> myfile</Normal Text><br/>
<Normal Text></Normal Text><br/>
<Normal Text></Normal Text><br/>
<Builtin>trap</Builtin><Normal Text> </Normal Text><String SingleQ>'</String SingleQ><br/>
<String SingleQ>    # code</String SingleQ><br/>
<String SingleQ>    '</String SingleQ><Normal Text> NAL</Normal Text><br/>
<Normal Text></Normal Text><br/>
<OtherCommand>!!</OtherCommand><Normal Text> </Normal Text><Comment># previous command</Comment><br/>
<OtherCommand>!!:0</OtherCommand><Normal Text> </Normal Text><Path>!</Path><Glob>^</Glob><Normal Text> !:2 !$ </Normal Text><Path>!</Path><Glob>#</Glob><Normal Text>$ </Normal Text><Path>!</Path><Glob>#</Glob><Path>:2</Path><Normal Text> </Normal Text><Path>!</Path><Glob>#</Glob><Path>1</Path><Normal Text> </Normal Text><Path>!</Path><Glob>#</Glob><Path>0</Path><br/>
<OtherCommand>!!:gs/fred/joe/</OtherCommand><Normal Text>       </Normal Text><Comment># edit previous command replace all fred by joe</Comment><br/>
<OtherCommand>!!:gs/fred/joe/</OtherCommand><Normal Text>       </Normal Text><Comment># edit previous command replace all fred by joe</Comment><br/>
<OtherCommand>!!:s/fred/joe/</OtherCommand><Normal Text>        </Normal Text><Comment># Note : sadly no regexp available with :s///</Comment><br/>
<OtherCommand>!!:s/fred/joe/</OtherCommand><Normal Text>        </Normal Text><Comment># edit previous command replace first fred by joe</Comment><br/>
<OtherCommand>!$</OtherCommand><Normal Text> </Normal Text><Glob>(</Glob><Pattern>last argument of previous command</Pattern><Glob>)</Glob><br/>
<OtherCommand>!$:h</OtherCommand><Normal Text> </Normal Text><Glob>(</Glob><Pattern>last argument, strip one level</Pattern><Glob>)</Glob><br/>
<OtherCommand>!$:h:h</OtherCommand><Normal Text> </Normal Text><Glob>(</Glob><Pattern>last argument, strip two levels</Pattern><Glob>)</Glob><br/>
<OtherCommand>!-2</OtherCommand><Normal Text> </Normal Text><Comment># command before last</Comment><br/>
<OtherCommand>!1</OtherCommand><Normal Text> </Normal Text><Comment># oldest command in your history</Comment><br/>
<OtherCommand>!42</OtherCommand><Normal Text>                   </Normal Text><Comment># Re-execute history command 42</Comment><br/>
<OtherCommand>!42:p</OtherCommand><br/>
<OtherCommand>!?echo</OtherCommand><br/>
<OtherCommand>!?saket?:s/somefile1/somefile2/</OtherCommand><br/>
<Normal Text></Normal Text><br/>
<Keyword>((</Keyword><Dollar Prefix>$</Dollar Prefix><Parameter Expansion Operator>#</Parameter Expansion Operator><Variable>l</Variable><Keyword>))</Keyword><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Command>ls</Command><Normal Text> </Normal Text><Option>-ltd</Option><Normal Text> </Normal Text><Option>--</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>l</Variable><br/>
<Keyword>((</Keyword><Variable>val2</Variable><Normal Text> </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Variable>val1</Variable><Normal Text> </Normal Text><Operator>*</Operator><Normal Text> </Normal Text><Number>2</Number><Keyword>))</Keyword><br/>
<Keyword>(</Keyword><OtherCommand>mycmd</OtherCommand><Normal Text> </Normal Text><Redirection>=(</Redirection><OtherCommand>myoutput</OtherCommand><Redirection>)</Redirection><Keyword>)</Keyword><Normal Text> </Normal Text><Control>&!</Control><br/>
<Builtin>:</Builtin><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(.e{</Glob Flag><String SingleQ>'grep -q pattern $REPLY || print -r -- $REPLY'</String SingleQ><Glob Flag>})</Glob Flag><br/>
<Builtin>:</Builtin><Normal Text> </Normal Text><Redirection>></Redirection><Normal Text> </Normal Text><Path>/apache/access.log</Path><Normal Text>  </Normal Text><Comment># truncate a log file</Comment><br/>
<Redirection><</Redirection><Normal Text> </Normal Text><Path>readme.txt</Path><br/>
<Variable>A</Variable><Operator>=</Operator><Variable>(</Variable><Normal Text>1 2 5 6 7 9</Normal Text><Variable>)</Variable><Normal Text> </Normal Text><Comment># pre-populate an array</Comment><br/>
<OtherCommand>C:\cygwin\bin\mintty.exe</OtherCommand><Normal Text> </Normal Text><Option>-i</Option><Normal Text> </Normal Text><Path>/Cygwin-Terminal.ico</Path><Normal Text> </Normal Text><Path>/bin/zsh</Path><Normal Text> </Normal Text><Option>--login</Option><br/>
<Variable>C</Variable><Operator>=</Operator><Normal Text>3 </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Variable>F</Variable><Operator>=</Operator><Parameter Expansion>$(</Parameter Expansion><Builtin>print</Builtin><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(.o</Glob Flag><Normal Text>m</Normal Text><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Dollar Prefix>$</Dollar Prefix><Variable>C</Variable><Parameter Expansion Operator>]</Parameter Expansion Operator><Glob Flag>)</Glob Flag><Parameter Expansion>)</Parameter Expansion><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Control Flow>for</Control Flow><Normal Text> f </Normal Text><Keyword>(</Keyword><Parameter Expansion>$(</Parameter Expansion><Builtin>print</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>F</Variable><Parameter Expansion>)</Parameter Expansion><Keyword>){</Keyword><OtherCommand>php</OtherCommand><Normal Text> </Normal Text><Option>-l</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>f</Variable><Keyword>}</Keyword><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Command>scp</Command><Normal Text> </Normal Text><Option>-rp</Option><Normal Text> </Normal Text><Parameter Expansion>$(</Parameter Expansion><Builtin>print</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>F</Variable><Parameter Expansion>)</Parameter Expansion><Normal Text> user@192.168.1.1:</Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>PWD</Variable><br/>
<Variable>EDITOR</Variable><Operator>=</Operator><String SingleQ>'/bin/vim'</String SingleQ><br/>
<Variable>FILE</Variable><Operator>=</Operator><Parameter Expansion>$(</Parameter Expansion><Builtin>echo</Builtin><Normal Text> </Normal Text><Glob>*</Glob><Glob Flag>(.o</Glob Flag><Normal Text>m</Normal Text><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Glob Flag>)</Glob Flag><Parameter Expansion>)</Parameter Expansion><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Command>ls</Command><Normal Text> </Normal Text><Option>-l</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>FILE</Variable><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Command>ssh</Command><Normal Text> 192.168.1.1 </Normal Text><Option>-l</Option><Normal Text> root </Normal Text><String DoubleQ>"zsh -c 'ls -l </String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>PWD</Variable><String DoubleQ>/</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>FILE</Variable><String DoubleQ>'"</String DoubleQ><br/>
<Variable>FILES</Variable><Operator>=</Operator><Variable>(</Variable><Normal Text> </Normal Text><Path>.../files/</Path><Glob>*</Glob><Normal Text> </Normal Text><Variable>)</Variable><br/>
<Variable>IFS</Variable><Operator>=</Operator><String SingleQ>$'</String SingleQ><String Escape>\n\n</String Escape><String SingleQ>'</String SingleQ><Control>;</Control><Normal Text> </Normal Text><Builtin>print</Builtin><Normal Text> </Normal Text><Option>-rl</Option><Normal Text> </Normal Text><Option>--</Option><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>Oau</Parameter Expansion Operator><Parameter Expansion>)${(</Parameter Expansion><Parameter Expansion Operator>Oa</Parameter Expansion Operator><Parameter Expansion>)$(</Parameter Expansion><Command>cat</Command><Normal Text> file</Normal Text><Control>;</Control><Builtin>echo</Builtin><Normal Text> </Normal Text><Path>.</Path><Parameter Expansion>)</Parameter Expansion><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>-2</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}}</Parameter Expansion><br/>
<Variable>IPREFIX</Variable><Operator>=</Operator><Parameter Expansion>${</Parameter Expansion><Variable>PREFIX</Variable><Parameter Expansion Operator>%%</Parameter Expansion Operator><Escape>\=</Escape><Glob>*</Glob><Parameter Expansion>}</Parameter Expansion><Normal Text>=</Normal Text><br/>
<Variable>PREFIX</Variable><Operator>=</Operator><Parameter Expansion>${</Parameter Expansion><Variable>PREFIX</Variable><Parameter Expansion Operator>#</Parameter Expansion Operator><Glob>*</Glob><String DoubleQ>=</String DoubleQ><Parameter Expansion>}</Parameter Expansion><br/>
<Variable>PROMPT3</Variable><Operator>=</Operator><String DoubleQ>"Choose File : "</String DoubleQ><br/>
<Variable>PROMPT</Variable><Operator>=</Operator><String DoubleQ>"%{</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>bg</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Normal Text>cyan</Normal Text><Parameter Expansion Operator>]</Parameter Expansion Operator><String DoubleQ>%}%% "</String DoubleQ><br/>
<Variable>PS3</Variable><Operator>=</Operator><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>fg_light_red</Variable><String DoubleQ> Select file : "</String DoubleQ><br/>
<Variable>REPORTTIME</Variable><Operator>=</Operator><Normal Text>10 </Normal Text><Comment># Automatically /Report CPU usage for commands running longer than 10 seconds</Comment><br/>
<Variable>RPROMPT</Variable><Operator>=</Operator><String DoubleQ>"[%t]"</String DoubleQ><Normal Text> </Normal Text><Keyword>(</Keyword><OtherCommand>display</OtherCommand><Normal Text> the time</Normal Text><Keyword>)</Keyword><br/>
<Variable>X</Variable><Operator>=</Operator><Variable>(</Variable><Normal Text>x1 x2</Normal Text><Variable>)</Variable><br/>
<Variable>Y</Variable><Operator>=</Operator><Variable>(</Variable><Normal Text>+ -</Normal Text><Variable>)</Variable><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Parameter Expansion>$(</Parameter Expansion><Redirection><</Redirection><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>i</Variable><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><Expression>=</Expression><Normal Text> </Normal Text><Glob>*</Glob><Escape>\(</Escape><Glob>(</Glob><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>j:</Parameter Expansion Operator><String SingleQ>|</String SingleQ><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Parameter Expansion Operator>~</Parameter Expansion Operator><Variable>@</Variable><Parameter Expansion>}</Parameter Expansion><Glob>)</Glob><Escape>\)</Escape><Glob>*</Glob><Normal Text> </Normal Text><Keyword>]]</Keyword><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>i</Variable><Parameter Expansion>:h:t</Parameter Expansion><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>OSTYPE</Variable><Normal Text> </Normal Text><Expression>==</Expression><Normal Text> </Normal Text><Glob Flag>(#i)</Glob Flag><Normal Text>LINUX</Normal Text><Glob>*</Glob><Glob Flag>(#I)</Glob Flag><Normal Text> </Normal Text><Keyword>]]</Keyword><Control>;</Control><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><String SingleQ>'cell=456'</String SingleQ><Normal Text> </Normal Text><Expression>=~</Expression><Normal Text> </Normal Text><String SingleQ>'(cell)=(\d+)'</String SingleQ><Normal Text> </Normal Text><Keyword>]]</Keyword><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>match</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Number>1</Number><Parameter Expansion Operator>,</Parameter Expansion Operator><Number>2</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>MATCH</Variable><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Expression>-e</Expression><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>L</Variable><Path>/config.php</Path><Normal Text> </Normal Text><Keyword>]]</Keyword><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Command>cp</Command><Normal Text> </Normal Text><Option>-p</Option><Normal Text> </Normal Text><Option>-update</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>T</Variable><Path>/config.php</Path><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>L</Variable><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Expression>-n</Expression><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>key</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Normal Text>Left</Normal Text><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text> </Normal Text><Keyword>]]</Keyword><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Builtin>bindkey</Builtin><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Parameter Expansion>${</Parameter Expansion><Variable>key</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Normal Text>Left</Normal Text><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><String DoubleQ>"</String DoubleQ><Normal Text> backward-char</Normal Text><br/>
<Keyword>[[</Keyword><Normal Text> 1 </Normal Text><Expression>=</Expression><Normal Text> 0 </Normal Text><Keyword>]]</Keyword><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> eq </Normal Text><Control>||</Control><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> neq</Normal Text><br/>
<Keyword>[[</Keyword><Normal Text> alphabetical -regex-match </Normal Text><Glob>^</Glob><Normal Text>a</Normal Text><Glob>([</Glob><Glob Flag>^</Glob Flag><String SingleQ>a</String SingleQ><Glob>]</Glob><Pattern>+</Pattern><Glob>)</Glob><Normal Text>a</Normal Text><Glob>([</Glob><Glob Flag>^</Glob Flag><String SingleQ>a</String SingleQ><Glob>]</Glob><Pattern>+</Pattern><Glob>)</Glob><Normal Text>a </Normal Text><Keyword>]]</Keyword><Normal Text> </Normal Text><Control>&&</Control><br/>
<OtherCommand>^chim^</OtherCommand><Control>&</Control><Builtin>-</Builtin><Control>&</Control><OtherCommand>ney-</OtherCommand><Control>&</Control><Builtin>-</Builtin><Control>&</Control><OtherCommand>-cheree</OtherCommand><Normal Text> </Normal Text><Comment># reuse LHS</Comment><br/>
<OtherCommand>^fred^joe</OtherCommand><Normal Text>             </Normal Text><Comment># edit previous command replace fred by joe</Comment><br/>
<OtherCommand>^php^cfm</OtherCommand><Normal Text>          </Normal Text><Comment># modify previous command (good for correcting spellos)</Comment><br/>
<OtherCommand>^str1^str2^:G</OtherCommand><Normal Text>         </Normal Text><Comment># replace as many as possible</Comment><br/>
<OtherCommand>^str1^str2^:u:p</OtherCommand><Normal Text>       </Normal Text><Comment># replace str1 by str2 change case and just display</Comment><br/>
<Variable>a</Variable><Operator>=</Operator><Variable>(</Variable><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Glob Flag>(.D)</Glob Flag><Variable>)</Variable><Control>;</Control><Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Parameter Expansion Operator>#</Parameter Expansion Operator><Variable>a</Variable><Normal Text>  </Normal Text><Comment># count files in a (huge) hierarchy</Comment><br/>
<Variable>a</Variable><Operator>=</Operator><Variable>(</Variable><Normal Text>1 2 3 4</Normal Text><Variable>)</Variable><Control>;</Control><Normal Text> </Normal Text><Variable>b</Variable><Operator>=</Operator><Variable>(</Variable><Normal Text>a b</Normal Text><Variable>)</Variable><Control>;</Control><Normal Text> </Normal Text><Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>a</Variable><Parameter Expansion Operator>:^</Parameter Expansion Operator><String DoubleQ>b</String DoubleQ><Parameter Expansion>}</Parameter Expansion><br/>
<Variable>a</Variable><Operator>=</Operator><Variable>(</Variable><Normal Text>a b</Normal Text><Variable>)</Variable><Control>;</Control><Normal Text> </Normal Text><Variable>b</Variable><Operator>=</Operator><Variable>(</Variable><Normal Text>1 2</Normal Text><Variable>)</Variable><Control>;</Control><Normal Text> </Normal Text><Builtin>print</Builtin><Normal Text> </Normal Text><Option>-l</Option><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Parameter Expansion>${</Parameter Expansion><Variable>a</Variable><Parameter Expansion Operator>:^</Parameter Expansion Operator><String DoubleQ>b</String DoubleQ><Parameter Expansion>}</Parameter Expansion><String DoubleQ>"</String DoubleQ><Control>;</Control><Normal Text> </Normal Text><Builtin>print</Builtin><Normal Text> </Normal Text><Option>-l</Option><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Parameter Expansion>${${</Parameter Expansion><Variable>a</Variable><Parameter Expansion Operator>:^</Parameter Expansion Operator><String DoubleQ>b</String DoubleQ><Parameter Expansion>}}</Parameter Expansion><String DoubleQ>"</String DoubleQ><br/>
<Variable>a</Variable><Operator>=</Operator><Normal Text>12345</Normal Text><br/>
<Variable>aa</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Glob>(</Glob><Pattern>e</Pattern><Glob>)</Glob><Operator>*</Operator><Parameter Expansion Operator>]</Parameter Expansion Operator><Operator>=</Operator><Normal Text>star</Normal Text><br/>
<Variable>accum</Variable><Operator>=</Operator><Variable>()</Variable><br/>
<Builtin>alias</Builtin><Normal Text> </Normal Text><String SingleQ>'..'</String SingleQ><Normal Text>=</Normal Text><String SingleQ>'cd ..'</String SingleQ><br/>
<Builtin>alias</Builtin><Normal Text> </Normal Text><Option>-g</Option><Normal Text> ...=</Normal Text><String SingleQ>'../..'</String SingleQ><br/>
<Builtin>alias</Builtin><Normal Text> </Normal Text><Option>-g</Option><Normal Text> NF=</Normal Text><String SingleQ>'*(.om[1])'</String SingleQ><Normal Text> </Normal Text><Comment># newest file</Comment><br/>
<Builtin>alias</Builtin><Normal Text> gcd=</Normal Text><String DoubleQ>"cd </String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>MCD</Variable><String DoubleQ>"</String DoubleQ><Normal Text>  </Normal Text><Comment># double quote stops once only evaluation</Comment><br/>
<Builtin>alias</Builtin><Normal Text> mcd=</Normal Text><String DoubleQ>"MCD=</String DoubleQ><Parameter Expansion>$(</Parameter Expansion><Builtin>pwd</Builtin><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><Normal Text>  </Normal Text><Comment># double quote stops once only evaluation</Comment><br/>
<Variable>anchortext</Variable><Operator>=</Operator><Parameter Expansion>${${(</Parameter Expansion><Parameter Expansion Operator>C</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>url</Variable><Parameter Expansion Operator>//</Parameter Expansion Operator><Glob>[</Glob><String SingleQ>_</String SingleQ><Glob Flag>-</Glob Flag><Glob>]</Glob><Parameter Expansion Operator>/</Parameter Expansion Operator><String DoubleQ> </String DoubleQ><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>t}</Parameter Expansion><Normal Text>  </Normal Text><Comment># titlecase</Comment><br/>
<Variable>arr</Variable><Operator>=</Operator><Variable>(</Variable><Normal Text>veldt jynx grimps waqf zho buck</Normal Text><Variable>)</Variable><br/>
<Variable>array</Variable><Operator>=</Operator><Variable>(</Variable><Path>~/.zshenv</Path><Normal Text> </Normal Text><Path>~/.zshrc</Path><Normal Text> </Normal Text><Path>~/.zlogout</Path><Variable>)</Variable><br/>
<Builtin>autoload</Builtin><Normal Text> edit-command-line</Normal Text><br/>
<Builtin>autoload</Builtin><Normal Text> </Normal Text><Option>-Uz</Option><Normal Text> up-line-or-beginning-search</Normal Text><br/>
<Builtin>autoload</Builtin><Normal Text> colors </Normal Text><Control>;</Control><Normal Text> </Normal Text><OtherCommand>colors</OtherCommand><br/>
<Builtin>bindkey</Builtin><Normal Text> </Normal Text><String DoubleQ>"^N"</String DoubleQ><Normal Text> most-recent-file</Normal Text><br/>
<Builtin>bindkey</Builtin><Normal Text> </Normal Text><Option>-s</Option><Normal Text> </Normal Text><String DoubleQ>"^[OS"</String DoubleQ><Normal Text> </Normal Text><String DoubleQ>"\^d\^c\n"</String DoubleQ><br/>
<Builtin>bindkey</Builtin><Normal Text> </Normal Text><Option>-s</Option><Normal Text> </Normal Text><String DoubleQ>"^[[18~"</String DoubleQ><Normal Text> </Normal Text><String DoubleQ>"ls -l\n"</String DoubleQ><br/>
<Variable>c</Variable><Operator>=</Operator><Variable>(</Variable><Glob>*</Glob><Path>.c</Path><Variable>)</Variable><Normal Text> </Normal Text><Variable>o</Variable><Operator>=</Operator><Variable>(</Variable><Glob>*</Glob><Path>.o</Path><Glob Flag>(N)</Glob Flag><Variable>)</Variable><Normal Text> </Normal Text><Builtin>eval</Builtin><Normal Text> </Normal Text><String SingleQ>'ls ${${c:#(${~${(j:|:)${o:r}}}).c}:?done}'</String SingleQ><br/>
<Builtin>cd</Builtin><Normal Text> !$:h</Normal Text><br/>
<Builtin>cd</Builtin><Normal Text> </Normal Text><Path>!</Path><Glob>?</Glob><Path>ls</Path><br/>
<Command>diff</Command><Normal Text> </Normal Text><Redirection><(</Redirection><Command>find</Command><Normal Text> </Normal Text><Path>/</Path><Normal Text> </Normal Text><Control>|</Control><Normal Text> </Normal Text><Command>sort</Command><Redirection>)</Redirection><Normal Text> </Normal Text><Redirection><(</Redirection><Command>cat</Command><Normal Text> </Normal Text><Path>/var/lib/dpkg/info/</Path><Glob>*</Glob><Path>.list</Path><Normal Text> </Normal Text><Control>|</Control><Normal Text> </Normal Text><Command>sort</Command><Redirection>)</Redirection><br/>
<Variable>dpath</Variable><Operator>=</Operator><Parameter Expansion>${</Parameter Expansion><Variable>upath</Variable><Parameter Expansion Operator>/#</Parameter Expansion Operator><Escape>\/</Escape><Pattern>c</Pattern><Escape>\/</Escape><Parameter Expansion Operator>/</Parameter Expansion Operator><Path>c:/</Path><Parameter Expansion>}</Parameter Expansion><Normal Text>          </Normal Text><Comment># convert /c/path/ to c:\path\</Comment><br/>
<Variable>drive</Variable><Operator>=</Operator><Parameter Expansion>$(</Parameter Expansion><Keyword>[[</Keyword><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>LOGNAME</Variable><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><Expression>!=</Expression><Normal Text> davidr </Normal Text><Keyword>]]</Keyword><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><String SingleQ>'/o'</String SingleQ><Normal Text> </Normal Text><Control>||</Control><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><String SingleQ>'/c'</String SingleQ><Parameter Expansion>)</Parameter Expansion><Normal Text> </Normal Text><Comment># trad way</Comment><br/>
<Variable>drive</Variable><Operator>=</Operator><Parameter Expansion>${${${</Parameter Expansion><Variable>LOGNAME</Variable><Parameter Expansion Operator>:#</Parameter Expansion Operator><String DoubleQ>davidr</String DoubleQ><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>:+</Parameter Expansion Operator><Path>/o</Path><Parameter Expansion>}</Parameter Expansion><Parameter Expansion Operator>:-</Parameter Expansion Operator><Path>/c</Path><Parameter Expansion>}</Parameter Expansion><Normal Text>                        </Normal Text><Comment># zsh way</Comment><br/>
<Command>egrep</Command><Normal Text> </Normal Text><Option>-i</Option><Normal Text> </Normal Text><String DoubleQ>"^ *mail\("</String DoubleQ><Normal Text> </Normal Text><Glob>**</Glob><Path>/</Path><Glob>*</Glob><Path>.php</Path><br/>
<Builtin>eval</Builtin><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><String DoubleQ>=</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>PWD</Variable><String DoubleQ>"</String DoubleQ><br/>
<Builtin>eval</Builtin><Normal Text> </Normal Text><String DoubleQ>"m=(</String DoubleQ><Parameter Expansion>$(</Parameter Expansion><Command>cat</Command><Normal Text> </Normal Text><Option>--</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>nameoffile</Variable><Parameter Expansion>)</Parameter Expansion><String DoubleQ>"</String DoubleQ><br/>
<OtherCommand>feh</OtherCommand><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>FILES</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Dollar Prefix>$</Dollar Prefix><Variable>RANDOM</Variable><Operator>%</Operator><Dollar Prefix>$</Dollar Prefix><Parameter Expansion Operator>#</Parameter Expansion Operator><Variable>FILES</Variable><Operator>+</Operator><Number>1</Number><Parameter Expansion Operator>]</Parameter Expansion Operator><br/>
<Variable>foo</Variable><Operator>=</Operator><String DoubleQ>"twinkle twinkle little star"</String DoubleQ><Normal Text> </Normal Text><Variable>sub</Variable><Operator>=</Operator><String DoubleQ>"t*e"</String DoubleQ><Normal Text> </Normal Text><Variable>rep</Variable><Operator>=</Operator><String DoubleQ>"spy"</String DoubleQ><br/>
<Variable>foo</Variable><Operator>=</Operator><String SingleQ>$'bar</String SingleQ><String Escape>\n\n</String Escape><String SingleQ>baz</String SingleQ><String Escape>\n</String Escape><String SingleQ>'</String SingleQ><br/>
<Variable>foo</Variable><Operator>=</Operator><Normal Text>fred-goat-dog.jpg</Normal Text><br/>
<Variable>fred</Variable><Operator>=</Operator><Parameter Expansion>$((</Parameter Expansion><Number>6</Number><Operator>**</Operator><Number>2</Number><Normal Text> </Normal Text><Operator>+</Operator><Normal Text> </Normal Text><Number>6</Number><Parameter Expansion>))</Parameter Expansion><Normal Text>      </Normal Text><Comment># can do maths</Comment><br/>
<Keyword>((</Keyword><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Parameter Expansion Operator>#</Parameter Expansion Operator><Normal Text> </Normal Text><Operator>==</Operator><Normal Text> </Normal Text><Number>0</Number><Normal Text> </Normal Text><Keyword>))</Keyword><Control>;</Control><br/>
<Builtin>[</Builtin><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>p1</Variable><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><Expression>=</Expression><Normal Text> </Normal Text><String DoubleQ>"end"</String DoubleQ><Normal Text> </Normal Text><Builtin>]</Builtin><Normal Text> </Normal Text><Control>||</Control><Normal Text> </Normal Text><Builtin>[</Builtin><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>p1</Variable><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><Expression>=</Expression><Normal Text> </Normal Text><String DoubleQ>"-e"</String DoubleQ><Normal Text> </Normal Text><Builtin>]</Builtin><br/>
<Builtin>[</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Parameter Expansion Operator>#</Parameter Expansion Operator><Normal Text> </Normal Text><Expression>-gt</Expression><Normal Text> 0 </Normal Text><Builtin>]</Builtin><Normal Text>  </Normal Text><Comment># parameter cnt > 0 (arguments)</Comment><br/>
<Builtin>[</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>cnt</Variable><Normal Text> </Normal Text><Expression>-eq</Expression><Normal Text> 1 </Normal Text><Builtin>]</Builtin><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><Expression>==</Expression><Normal Text> </Normal Text><Glob>[</Glob><String SingleQ>0</String SingleQ><Glob Flag>-</Glob Flag><String SingleQ>9</String SingleQ><Glob>]</Glob><Normal Text> </Normal Text><Keyword>]]</Keyword><Normal Text>  </Normal Text><Comment># if $1 is a digit</Comment><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>p2</Variable><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><Expression>==</Expression><Normal Text> </Normal Text><Glob>*[</Glob><String SingleQ>a</String SingleQ><Glob Flag>-</Glob Flag><String SingleQ>zA</String SingleQ><Glob Flag>-</Glob Flag><String SingleQ>Z</String SingleQ><Glob>][</Glob><String SingleQ>a</String SingleQ><Glob Flag>-</Glob Flag><String SingleQ>zA</String SingleQ><Glob Flag>-</Glob Flag><String SingleQ>Z</String SingleQ><Glob>][</Glob><String SingleQ>a</String SingleQ><Glob Flag>-</Glob Flag><String SingleQ>zA</String SingleQ><Glob Flag>-</Glob Flag><String SingleQ>Z</String SingleQ><Glob>]*</Glob><Normal Text> </Normal Text><Keyword>]]</Keyword><Normal Text>  </Normal Text><Comment># contains at least 3 letters</Comment><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>pwd</Variable><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><Expression>==</Expression><Normal Text> </Normal Text><Glob>*</Glob><Dollar Prefix>$</Dollar Prefix><Variable>site2</Variable><Glob>*</Glob><Normal Text> </Normal Text><Keyword>]]</Keyword><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>url</Variable><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><Expression>=</Expression><Normal Text> www</Normal Text><Glob>*</Glob><Normal Text> </Normal Text><Keyword>]]</Keyword><Normal Text> </Normal Text><Comment># begins with www</Comment><br/>
<Keyword>[[</Keyword><Normal Text> </Normal Text><Expression>-e</Expression><Normal Text> </Normal Text><Path>/c/aam/z</Path><Dollar Prefix>$</Dollar Prefix><Variable>1</Variable><Normal Text> </Normal Text><Keyword>]]</Keyword><Normal Text>  </Normal Text><Comment># file exists</Comment><br/>
<OtherCommand>p1</OtherCommand><Normal Text> p2 p3</Normal Text><br/>
<OtherCommand>pcre_compile</OtherCommand><Normal Text> </Normal Text><Option>-m</Option><Normal Text> </Normal Text><String DoubleQ>"\d{5}"</String DoubleQ><br/>
<OtherCommand>pcre_match</OtherCommand><Normal Text> </Normal Text><Option>-b</Option><Normal Text> </Normal Text><Option>--</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>string</Variable><br/>
<Command>perl</Command><Normal Text> </Normal Text><Option>-ne</Option><Normal Text> </Normal Text><String SingleQ>'s/(<\/\w+>)/$1\n/g; print'</String SingleQ><Normal Text> </Normal Text><Redirection><</Redirection><Normal Text> </Normal Text><Path>NF</Path><Normal Text> </Normal Text><Redirection>></Redirection><Normal Text> </Normal Text><Parameter Expansion>$(</Parameter Expansion><Builtin>print</Builtin><Normal Text> NF</Normal Text><Parameter Expansion>)</Parameter Expansion><Path>.txt</Path><br/>
<Command>ps</Command><Normal Text> </Normal Text><Option>-p</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>$</Variable><Normal Text> </Normal Text><Control>|</Control><Normal Text> </Normal Text><Command>grep</Command><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>$</Variable><Normal Text> </Normal Text><Control>|</Control><Normal Text> </Normal Text><Command>awk</Command><Normal Text> </Normal Text><String SingleQ>'{print $NF}'</String SingleQ><br/>
<Builtin>r</Builtin><Normal Text> oldstr=newstr</Normal Text><br/>
<Builtin>r</Builtin><Escape>\m</Escape><Normal Text> </Normal Text><Parameter Expansion>$(</Parameter Expansion><Command>locate</Command><Normal Text> nohup.out</Normal Text><Parameter Expansion>)</Parameter Expansion><br/>
<Builtin>read</Builtin><Normal Text> </Normal Text><Option>-r</Option><Normal Text> </Normal Text><Variable>line</Variable><Normal Text> </Normal Text><Redirection><&</Redirection><Dollar Prefix>$</Dollar Prefix><Variable>fd</Variable><Control>;</Control><Normal Text> </Normal Text><Builtin>print</Builtin><Normal Text> </Normal Text><Option>-r</Option><Normal Text> </Normal Text><Option>-</Option><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>line</Variable><br/>
<Builtin>read</Builtin><Normal Text> </Normal Text><Variable>ans</Variable><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Comment># read in a parameter</Comment><br/>
<Builtin>setopt</Builtin><Normal Text> EXTENDED_GLOB   </Normal Text><Comment># lots of clever stuff requires this</Comment><br/>
<Builtin>source</Builtin><Normal Text> </Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>ZDOTDIR</Variable><Parameter Expansion Operator>:-</Parameter Expansion Operator><Dollar Prefix>$</Dollar Prefix><Variable>HOME</Variable><Parameter Expansion>}</Parameter Expansion><Path>/.zkbd/</Path><Dollar Prefix>$</Dollar Prefix><Variable>TERM</Variable><Path>-</Path><Dollar Prefix>$</Dollar Prefix><Variable>VENDOR</Variable><Path>-</Path><Dollar Prefix>$</Dollar Prefix><Variable>OSTYPE</Variable><br/>
<Command>ssh</Command><Normal Text> </Normal Text><Option>-t</Option><Normal Text> root@192.18.001.001 </Normal Text><String SingleQ>'sh -c "cd /tmp && exec zsh -l"'</String SingleQ><br/>
<Command>ssh</Command><Normal Text> 192.168.1.218 </Normal Text><Option>-l</Option><Normal Text> root </Normal Text><String DoubleQ>"zsh -c 'for i (/usr/*(/)) {ls </String DoubleQ><String Escape>\$</String Escape><String DoubleQ>i }'"</String DoubleQ><br/>
<OtherCommand>sshpass</OtherCommand><Normal Text> </Normal Text><Option>-p</Option><Normal Text> myppassword scp </Normal Text><Option>-rp</Option><Normal Text> </Normal Text><Glob>*</Glob><Normal Text> user@18.128.158.158:</Normal Text><Parameter Expansion>${</Parameter Expansion><Variable>PWD</Variable><Parameter Expansion Operator>/</Parameter Expansion Operator><Pattern>staging</Pattern><Parameter Expansion Operator>/</Parameter Expansion Operator><String DoubleQ>release</String DoubleQ><Parameter Expansion>}</Parameter Expansion><br/>
<Variable>str</Variable><Operator>=</Operator><Normal Text>aa,bb,cc</Normal Text><Control>;</Control><Builtin>print</Builtin><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>j:</Parameter Expansion Operator><String SingleQ>,</String SingleQ><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>)${(</Parameter Expansion><Parameter Expansion Operator>qq</Parameter Expansion Operator><Parameter Expansion>)${(</Parameter Expansion><Parameter Expansion Operator>s:</Parameter Expansion Operator><String SingleQ>,</String SingleQ><Parameter Expansion Operator>:</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>str</Variable><Parameter Expansion>}}}</Parameter Expansion><Normal Text> </Normal Text><Comment># quotify a string</Comment><br/>
<OtherCommand>tel</OtherCommand><Normal Text> blenkinsop </Normal Text><Control>|</Control><Normal Text> </Normal Text><Command>grep</Command><Normal Text> </Normal Text><Option>-o</Option><Normal Text> </Normal Text><String DoubleQ>"[[:alnum:][:graph:]]*@[[:alnum:][:graph:]]*"</String DoubleQ><Normal Text> </Normal Text><Comment># filter just an email address from a text stream (not zsh)</Comment><br/>
<Command>touch</Command><Normal Text> </Normal Text><Escape>{t</Escape><Operator>,</Operator><Escape>p}{</Escape><Number>01</Number><Escape>..</Escape><Number>99</Number><Escape>}</Escape><Normal Text>.</Normal Text><Escape>{php</Escape><Operator>,</Operator><Escape>html</Escape><Operator>,</Operator><Escape>c}</Escape><Normal Text>  </Normal Text><Comment># generate 600 test files</Comment><br/>
<Command>touch</Command><Normal Text> </Normal Text><Escape>{y</Escape><Operator>,</Operator><Escape>y2}</Escape><Normal Text>.cfm</Normal Text><br/>
<Builtin>trap</Builtin><Normal Text> </Normal Text><Option>-</Option><Normal Text> INT</Normal Text><br/>
<Builtin>typeset</Builtin><Normal Text> </Normal Text><String DoubleQ>"aa[one</String DoubleQ><String Escape>\"</String Escape><String DoubleQ>two</String DoubleQ><String Escape>\"</String Escape><String DoubleQ>three</String DoubleQ><String Escape>\"</String Escape><String DoubleQ>quotes]"</String DoubleQ><Normal Text>=QQQ</Normal Text><br/>
<Builtin>typeset</Builtin><Normal Text> </Normal Text><Option>-A</Option><Normal Text> </Normal Text><Variable>aa</Variable><br/>
<Builtin>typeset</Builtin><Normal Text> </Normal Text><Option>-A</Option><Normal Text> </Normal Text><Variable>ass_array</Variable><Control>;</Control><Normal Text> </Normal Text><Variable>ass_array</Variable><Operator>=</Operator><Variable>(</Variable><Normal Text>one 1 two 2 three 3 four 4</Normal Text><Variable>)</Variable><br/>
<Builtin>typeset</Builtin><Normal Text> </Normal Text><Option>-A</Option><Normal Text> </Normal Text><Variable>convtable</Variable><br/>
<Builtin>typeset</Builtin><Normal Text> </Normal Text><Option>-i</Option><Normal Text> 16 </Normal Text><Variable>y</Variable><br/>
<Builtin>unsetopt</Builtin><Normal Text> XTRACE VERBOSE</Normal Text><br/>
<Builtin>unsetopt</Builtin><Normal Text> localtraps</Normal Text><br/>
<Variable>upath</Variable><Operator>=</Operator><Parameter Expansion>${</Parameter Expansion><Variable>wpath</Variable><Parameter Expansion Operator>//</Parameter Expansion Operator><Escape>\\</Escape><Parameter Expansion Operator>/</Parameter Expansion Operator><Escape>\/</Escape><Parameter Expansion>}</Parameter Expansion><Normal Text>              </Normal Text><Comment># convert backslashes to forward slashes (Dos to Unix</Comment><br/>
<Variable>url</Variable><Operator>=</Operator><String SingleQ>'www.some.com/some_strIng-HERe'</String SingleQ><br/>
<Variable>val</Variable><Operator>=</Operator><Normal Text>a:b:c</Normal Text><br/>
<Variable>var</Variable><Operator>=</Operator><Normal Text>133</Normal Text><Control>;</Control><Control Flow>if</Control Flow><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>var</Variable><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><Expression>=</Expression><Normal Text> </Normal Text><Glob><-></Glob><Normal Text> </Normal Text><Keyword>]]</Keyword><Normal Text> </Normal Text><Control>;</Control><Normal Text> </Normal Text><Control Flow>then</Control Flow><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>var</Variable><String DoubleQ> is numeric"</String DoubleQ><Normal Text> </Normal Text><Control>;</Control><Control Flow>fi</Control Flow><br/>
<Variable>var</Variable><Operator>=</Operator><Normal Text>ddddd</Normal Text><Control>;</Control><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>var</Variable><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><Expression>=~</Expression><Normal Text> </Normal Text><Glob>^</Glob><Pattern>d</Pattern><Glob>+</Glob><Operator>$</Operator><Normal Text> </Normal Text><Keyword>]]</Keyword><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> matched </Normal Text><Control>||</Control><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> did not match</Normal Text><br/>
<Variable>var</Variable><Operator>=</Operator><Normal Text>dddee</Normal Text><Control>;</Control><Normal Text> </Normal Text><Variable>regexp</Variable><Operator>=</Operator><String DoubleQ>"^e+$"</String DoubleQ><Control>;</Control><Normal Text> </Normal Text><Keyword>[[</Keyword><Normal Text> </Normal Text><String DoubleQ>"</String DoubleQ><Dollar Prefix>$</Dollar Prefix><Variable>var</Variable><String DoubleQ>"</String DoubleQ><Normal Text> </Normal Text><Expression>=~</Expression><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>regexp</Variable><Normal Text> </Normal Text><Keyword>]]</Keyword><Normal Text> </Normal Text><Control>&&</Control><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>regexp</Variable><Normal Text> matched </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>var</Variable><Normal Text> </Normal Text><Control>||</Control><Normal Text> </Normal Text><Builtin>echo</Builtin><Normal Text> </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>regexp</Variable><Normal Text> did not match </Normal Text><Dollar Prefix>$</Dollar Prefix><Variable>var</Variable><br/>
<Builtin>vared</Builtin><Normal Text> </Normal Text><Option>-p</Option><Normal Text> </Normal Text><String DoubleQ>"choose 1-3 : "</String DoubleQ><Normal Text> </Normal Text><Option>-c</Option><Normal Text> ans</Normal Text><br/>
<Builtin>vared</Builtin><Normal Text> PATH</Normal Text><br/>
<Builtin>whence</Builtin><Normal Text> </Normal Text><Option>-vsa</Option><Normal Text> </Normal Text><Parameter Expansion>${(</Parameter Expansion><Parameter Expansion Operator>k</Parameter Expansion Operator><Parameter Expansion>)</Parameter Expansion><Variable>commands</Variable><Parameter Expansion Operator>[</Parameter Expansion Operator><Glob>(</Glob><Pattern>I</Pattern><Glob>)</Glob><Normal Text>zsh</Normal Text><Operator>*</Operator><Parameter Expansion Operator>]</Parameter Expansion Operator><Parameter Expansion>}</Parameter Expansion><Normal Text>  </Normal Text><Comment># search for zsh*</Comment><br/>
<OtherCommand>widget</OtherCommand><br/>
<Variable>wpath</Variable><Operator>=</Operator><Parameter Expansion>${</Parameter Expansion><Variable>wpath</Variable><Parameter Expansion Operator>//</Parameter Expansion Operator><Escape>\/</Escape><Parameter Expansion Operator>/</Parameter Expansion Operator><Escape>\\\\</Escape><Parameter Expansion>}</Parameter Expansion><Normal Text>            </Normal Text><Comment># substitute Unix / with dos \ slashes</Comment><br/>
<Variable>x</Variable><Operator>=</Operator><Dollar Prefix>$</Dollar Prefix><Variable>?</Variable><br/>
<Builtin>zmodload</Builtin><Normal Text> </Normal Text><Option>-F</Option><Normal Text> </Normal Text><Path>zsh/stat</Path><Normal Text> b:zstat</Normal Text><br/>
<Command>zsh</Command><Normal Text> </Normal Text><Option>-lxic</Option><Normal Text> : </Normal Text><File Descriptor>2</File Descriptor><Redirection>></Redirection><Normal Text> </Normal Text><Redirection>>(</Redirection><Command>grep</Command><Normal Text> </Normal Text><String DoubleQ>"> alias 'web'"</String DoubleQ><Redirection>)</Redirection><br/>
<Keyword>{</Keyword><Normal Text> </Normal Text><Command>paste</Command><Normal Text> </Normal Text><Redirection><(</Redirection><Command>cut</Command><Normal Text> </Normal Text><Option>-f1</Option><Normal Text> file1</Normal Text><Redirection>)</Redirection><Normal Text> </Normal Text><Redirection><(</Redirection><Command>cut</Command><Normal Text> </Normal Text><Option>-f3</Option><Normal Text> file2</Normal Text><Redirection>)</Redirection><Normal Text> </Normal Text><Keyword>}</Keyword><Normal Text> </Normal Text><Redirection>></Redirection><Normal Text> </Normal Text><Redirection>>(</Redirection><OtherCommand>process</OtherCommand><Redirection>)</Redirection><br/>
