bsh project

This commit is contained in:
brice.boisson
2022-02-08 18:50:03 +01:00
commit 7744ceaa33
109 changed files with 9536 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
case test in
te)
echo wrong;;
"test")
echo ok ;;
esac
+16
View File
@@ -0,0 +1,16 @@
fun()
{
case fun in
f)
echo nope;;
*)
echo nice;;
esac
}
case call in
call)
fun;;
c)
echo what?;;
esac
+13
View File
@@ -0,0 +1,13 @@
a=true
if $a
then
case $a in
false)
echo false;;
(true)
echo $a;;
esac
fi
echo end
+4
View File
@@ -0,0 +1,4 @@
case test in
te|test|aaaaaaaaa)
echo true;;
esac