summaryrefslogtreecommitdiffstats
path: root/test/bashisms/special-case.sh
blob: 5dd43e079f3eeabaf00cdac57bebcb41e3f8418d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

case "foo" in
    foo)
	echo once
	;& # BASHISM
    moo)
	echo twice
	;;& # BASHISM
    foo)
	echo foo again
	;;
esac