fork download
  1. terminal=vt100
  2. case $terminal in
  3. vt100) echo Dec terminal;;
  4. vt200) echo Old terminal;;
  5. ansi) echo commonly used terminal;;
  6. v*) echo vt series terminal;;
  7. *) echo any terminal;;
  8. esac
Success #stdin #stdout 0s 5288KB
stdin
Standard input is empty
stdout
Dec terminal