G2ASC(1)

NAME
g2asc, asc2g - convert between binary and ASCII mged databases.

SYNOPSIS
g2asc
 file.g file.asc
asc2g
 file.asc file.g

DESCRIPTION
The local machine binary representation of an mged(1) database is inherently non-portable. G2asc and asc2g are simple filters which convert between the binary form and a portable ASCII representation. Any warning messages are written to standard error.

G2asc and asc2g are typically used to convert binary mged(1) files to a portable ASCII format so the files can be transferred to another machine. On the local machine, files are converted to ASCII using g2asc(1), then transferred to the remote machine. On the remote machine, the files are then converted back to the binary representation for that machine using asc2g(1).

EXAMPLE
g2asc file.g file.asc
rcp file.asc remote:file.asc
rsh remote "asc2g file.asc file.g"

DIAGNOSTICS
The diagnostics are intended to be self-explanatory.

SEE ALSO
brlcad(1), mged(1)

AUTHOR
Charles Michael Kennedy
Michael John Muuss

SOURCE
SECAD/VLD Computing Consortium, Bldg 394
The U. S. Army Ballistic Research Laboratory
Aberdeen Proving Ground, Maryland 21005

BUG REPORTS
Reports of bugs or problems should be submitted via electronic mail to <devs@brlcad.org>.