|
|
| Unix Administration Firewall Intrusion Detection Network Security Hacking MORE HOME |
cat << EOI Das ist ein Text, der nun ausgegeben wird. EOI Das ist ein Text, der nun ausgegeben wird.
$echo $capitol
$ echo ${capitol:-Roma}
Roma
$ echo $capitol
$ echo ${capitol:=Madrid}
Madrid
$ echo $capitol
Madrid
$ echo ${capitol:+"variable set"}
variable set
$ unset capitol
$echo ${capitol:+"variable set"}
$ echo ${capitol:?"missing capitol"}
capitol: missing capitol
$ capitol=paris
$ echo ${capitol:?"missing capitol"}
paris
$
| CopyLeft (l) 2003 by Raffael Marty |