/*
* DEJIS ( Degenerate JIS encoded file as an example )
* $Header: dejis.c,v 0.2 92/09/04 takahasi Exp $
* Copyright (C) 1992
* Hironobu Takahashi (takahasi@tiny.or.jp)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either versions 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with KAKASI, see the file COPYING. If not, write to the Free
* Software Foundation Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Log: dejis.c,v $
*
*/
#include <stdio.h>
main()
{
int c;
while((c = getchar()) != EOF)
if (c != '\033')
putchar(c & 0x7f);
return 0;
}
syntax highlighted by Code2HTML, v. 0.9.1