bcd, ppt, morse - reformat input as punch cards, paper tape
or morse code
bcd [string ...]
ppt [-d [-b]] [string ...]
morse [-s | -d] [string ...]
The bcd, ppt, and morse commands read the given input and
reformat it in
the form of punched cards, paper tape, or morse code, respectively. Acceptable
input are command line arguments or the standard
Available options for ppt:
-d The -d option for ppt decodes paper tape on the standard input back
to ASCII. Unprintable characters are visually encoded
unless the -b flag (binary) is also specified. A lowercase `x' is
printed for undecipherable input lines.
Available options for morse:
-s The -s option for morse produces dots and dashes
rather than words.
-d The -d option for morse decodes dot-dash morse (as
using the -s option) back into text. A lowercase `x'
for undecipherable input; otherwise, text is returned
If the morse to be translated is given on the command
should be preceded by `--' to keep it from being mistaken for options.
ISO 1681:1973 Information processing--Unpunched paper
ISO 1682:1973 Information processing--80 columns punched
cards--Dimensions and location of rectangular punched holes.
ECMA-10 ECMA Standard for Data Interchange on Punched Tape.
ITU-T Recommendation F.1 Operational provisions for the
public telegram service, Division B, I. Morse code.
OpenBSD 3.6 May 31, 1993
[ Back ]