Debian Codegraph @

case-cmd.sh

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2 # case-cmd.sh: Using command substitution to generate a "case" variable.
3
4 case $( archscip-shell system . . arch. ) in # $( arch ) returns machine architecture.
5 # Equivalent to 'uname -m' ...
6 i386 ) echoscip-shell system . . echo. "80386-based machine";;
7 i486 ) echoscip-shell system . . echo. "80486-based machine";;
8 i586 ) echoscip-shell system . . echo. "Pentium-based machine";;
9 i686 ) echoscip-shell system . . echo. "Pentium2+-based machine";;
10 * ) echoscip-shell system . . echo. "Other type of machine";;
11 esac
12
13 exit 0