You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
275 B
22 lines
275 B
#!/bin/bash
|
|
|
|
function F2 {
|
|
echo "stdout A"
|
|
# echo toto >>/tmp/toto
|
|
# $nope
|
|
grep titi toto
|
|
# exit 6
|
|
>&2 echo "This is stderr"
|
|
echo "stdout B"
|
|
echo "stdout C"
|
|
# command_not_found
|
|
}
|
|
|
|
function F1 {
|
|
echo F1
|
|
F2
|
|
}
|
|
|
|
echo start of useless
|
|
F1
|
|
echo end of useless
|