mirror of
https://github.com/DoctorWkt/unix-jun72.git
synced 2026-04-14 07:50:43 +00:00
- ml takes optional command line arguments.
This commit is contained in:
@@ -218,6 +218,10 @@ int main(int argc, char *argv[])
|
||||
|
||||
verbose = 0;
|
||||
|
||||
if(argc > 1)
|
||||
filename = argv[1];
|
||||
if (argc > 2)
|
||||
output_filename = argv[2];
|
||||
if (process(filename, output_filename)) {
|
||||
fprintf(stderr, "%s: failed?\n", filename);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user