Demo entry 6637048

bash

   

Submitted by anonymous on Aug 30, 2017 at 09:20
Language: Bash. Code size: 110 Bytes.

case variable in
		pattern1 | pattern2)  commands1;;
		pattern3) commands2;;
		*) default command;;
esac

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).