Suche

Unten sind die Ergebnisse Ihrer Suche gelistet.

Volltextergebnisse:

string_operations
42 Treffer, Zuletzt geändert:
$foo one ${foo:+bar} If $foo exists and is not null, return bar. If it doesn't exist, or is null, return a null. export foo="this is a test" echo ${foo:+bar} ba... {foo:?"error message"} If $foo exists and is not null, return its value. If it doesn't exist or is null, print the error message. If no error message is ... do eval echo \${$foo:?} one bash: bar: parameter null or not set bash: baz: parameter null or not set == NOTE == The colon (:) in the ab... STACK :-$PWD} evaluates to $DIRSTACK if it is non-null or $PWD (the current directory) if it is null. Table 4.1: Substitution Operators Operator Subst
test
21 Treffer, Zuletzt geändert:
n of this comparison operator. ---- -z string is null, that is, has zero length <code> String='' # Zero-length ("null") string variable. if [ -z "$String" ] then echo "\$String is null." else echo "\$String is NOT null." fi # $String is null. </code> ---- -n string is
 
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0
DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp   Dogecoin Donations Accepted Here    DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp  DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp