Home  Articles  Programs 

PETSCII to ASCII Converter for LUnix

Title:PETSCII to ASCII Converter for LUnix
 The cbm2unix converts a PETSCII text to ASCII with LF termination.
Filename:cbm2unix.bin (Click to download)
Category:Utility
Platform:C64 LUnix
Language:Machine Language
Date:1997.07.01
Size:394 bytes
Programmer:İlker Fıçıcılar


Description:


The cbm2unix converts a PETSCII text to ASCII with LF termination.

This 'cbm2unix' is a filter-type command for LUnix. It is used in combination with other commands through pipe (='!' in LUnix) character.

It converts any CR (Carriage-Return) terminated PETSCII text fed through STDIN to LF (Line-Feed) terminated ASCII text.

Example Usage in LUnix:

cat myfile ! cbm2unix ! tee yourfile

cat myfile ! cbm2unix

ed ! cbm2unix

cat myfile ! cbm2unix ! lpr -p

Notes:

Press ^C or ^D (control-c and control-d keys) to stop execution of these commands.

ed is a line editor for LUnix by İlker Fıçıcılar.

lpr is a line printer driver for LUnix.

lpr -4 prints to a serial-bus CBM printer.

lpr -p prints to a Centronics printer connected through parallel geocable interface.

Similar commands: unix2cbm , dos2unix , unix2dos

Tags:C64, LUnix, OS

C64 Projects Twitter Page

İlker Fıçıcılar's CBM Page