TEXT CONVERSION UTILITIES FOR LUNIX ----------------------------------- Since there are different types of text data around the world, we have to manage them appropriately. The LUnix commands represented in this document are coded for this purpose. Current supplement is for the conversion between ASCII-LF, ASCII-CR/LF and PETSCII. Introduced command are filter type commands, which you can only use them with pipes. But you can terminate them by pressing ^C or ^D (break and end-of-document) characters. Documentation for the four conversion commands are follows: cbm2unix : Converts petscii to ascii-lf. Ascii-lf is used by UNIX and Amiga systems. eg. usage: cat myfile ! cbm2unix ! tee yourfile cat myfile ! cbm2unix ed ! cbm2unix cat myfile ! cbm2unix ! lpr -p unix2cbm : Converts ascii-lf to petscii. eg. usage: cat yourfile ! unix2cbm ! more cat yourfile ! unix2cbm ! tee myfile cat yourfile ! unix2cbm ! lpr -4 dos2unix : Converts ascii-cr/lf to ascii-lf. Ascii-cr/lf is used by ms-dos. eg. usage: cat dosfile ! dos2unix ! unix2cbm ! more cat dosfile ! dos2unix ! tee yourfile unix2dos : Converts ascii-lf to ascii-cr/lf. eg. usage: cat yourfile ! unix2dos ! more ed ! cbm2unix ! unix2dos cat yourfile ! unix2dos ! lpr -p note: Pressing ^C or ^D (control-c and control-d keys) stops these commands. ed is a line editor for lunix. lpr is a line printer driver for lunix. lpr -4 means serial-bus printer, lpr -p means parallel geocable printer. Ilker Ficicilar filker@newton.physics.metu.edu.tr e068214@orca.cc.metu.edu.tr ---