#! /bin/ksh

sed '
	s/\<T\>/Technology,/
	s/\<TI\>/Input technology,/
	s/\<TIK\>/Keyboard input,/
	s/\<TIP\>/Pointing device input,/
	s/\<TIV\>/Voice\/speech input,/
	s/\<TIO\>//
	s/\<TO\>/Output technology,/
	s/\<TOS\>/Screen output,/
	s/\<TOV\>/Voice\/speech output,/
	s/\<TON\>/Non-Speech output,/
	s/\<TOO\>//
	s/\<L\>/Process lifecycle,/
	s/\<LA\>/Analysis,/
	s/\<LD\>/Design,/
	s/\<LP\>/Prototyping,/
	s/\<LI\>/Implementation,/
	s/\<LE\>/Evaluation,/
	s/\<LO\>//
	s/\<A\>/Applications,/
	s/\<AC\>/Computer-Supported cooperative work,/
	s/\<AH\>/Hypermedia\/information systems,/
	s/\<AI\>/Intelligent\/expert systems,/
	s/\<AX\>/Complex systems,/
	s/\<AS\>/Special populations,/
	s/\<AO\>//
	s/\<M\>/Methodology,/
	s/\<ME\>/Empirical studies,/
	s/\<MC\>/Case studies,/
	s/\<MD\>/Software\/hardware development,/
	s/\<MS\>/Survey,/
	s/\<MM\>/Models and theories,/
	s/\<MO\>//
	s/\<O\>//
	s/\[//
	s/\]//
	s/"//g
	s/=\*//
	s/=/ /
	s/^ *//
	s/ *$//
	s/$/,/
	s/,,$/,/
	s/^,$//
	/%I/s/,$//

	' $*
