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.
40 lines
449 B
40 lines
449 B
#!/usr/bin/env bash-back
|
|
|
|
function F2 {
|
|
echo "stdout A"
|
|
# echo toto >>/tmp/toto
|
|
return
|
|
>&2 echo "This is stderr"
|
|
|
|
blabla
|
|
$nope
|
|
exit 6
|
|
grep titi toto
|
|
echo "stdout B"
|
|
echo "stdout C"
|
|
# command_not_found
|
|
}
|
|
|
|
function F1 {
|
|
echo F1
|
|
F2
|
|
}
|
|
|
|
function main {
|
|
F1
|
|
}
|
|
|
|
function F3 {
|
|
echo F3
|
|
return 0
|
|
}
|
|
|
|
echo start of useless
|
|
F3
|
|
lib/utility.bash
|
|
# . lib/utility.bash
|
|
|
|
# >&2 echo some trace in stderr
|
|
main
|
|
# error
|
|
echo end of useless
|