There are two methods for passing command-line arguments to MrEd under MacOS:
There are several special parsing considerations for this ``command line'':
In both methods, parsing rules for command-line arguments are the same as in Unix's sh (after globbing, variable, and backquote expansion).
When MrEd is opened with multiple input files, or when a single input file's data fork does not start with #!, the command line is the sequence of complete file pathnames. (The order of the files is determined by the OpenDoc AppleEvent.)