M2SRC(1)

NAME
m2src - create text files from Maple V Release 2 .m binary files.

SYNOPSIS
m2src [ -p ] [ -t file.m...| file.m... ]

DESCRIPTION
m2src reads a Maple V Release 2 .m binary file, created by a Maple save command and writes a readable text file of the saved contents. The new file and the .m file produce the same results from Maple V Release 2 (see NOTES). See updtsrc(1) for converting the text file from Maple V Release 2 to the next release of Maple.

The program reads from command line files or from standard input and writes to standard output or .t files (see option -t).

OPTIONS

-t  Write .m file to .t file instead of standard output. Example:
    m2src -t file1.m file2.m

    creates files file1.t and file2.t.

-p  Write full text of Maple library procedures, instead of the abbreviated procedure name and empty body e.g p:=proc()...end;. Note that this short form cannot be re-read by Maple.

SEE ALSO
updtsrc(1).

NOTES
Library procedures written in Maple's abbreviated form when option -p is not used (e.g. a := proc() ... end;) cannot be re-read by Maple. The program updtsrc(1) removes these forms.

DIAGNOSTICS
Exit status is 0 for normal exit and 1 if an error occurs.