[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
TCSH to BASH syntax
Hi,
I need help converting the following bit from TCSH to BASH syntax:
---tcsh---
switch ($tty)
case console:
ttyvfont iso-atari-16.fnt && echo ISO-8859-1 Font loaded.
breaksw
case ttyv?:
ttyvfont iso-atari-16.fnt && echo ISO-8859-1 Font loaded.
breaksw
endsw
---tcsh---
Switch doesn't exist on BASH, so what should I use?
Case seems to follow a completely different usage too.
-----------------------------------------------------------------
From: Martin-Eric Racine FUNKYWARE http://www.megacom.net/~q-funk
-----------------------------------------------------------------
Unsollicited material will be proof-read for $100 USD per word,
payable within 10 days. Submission of your advertisement to my
address constitutes your formal acceptance of these terms.
-----------------------------------------------------------------
<TITLE><BLINK><H1>No HTML Messages Please!</H1></BLINK></TITLE>