!7 //set flag LeanMode. p { S cmd = first(args); S archiveName = second(args); if (eqic(cmd, "x")) { print("Extracting"); assertNempty("Need archive name as second argument", archiveName); } else if (eqic(cmd, "c")) { print("Creating"); assertNempty("Need archive name as second argument", archiveName); } else if (eqic(cmd, "t")) { print("Listing"); assertNempty("Need archive name as second argument", archiveName); } else { print(autoUnindent_mls([[ This is LINECOMP v0.1, a supercompressor for a bunch of similar text files. Commands: c archive.lc textFile1 textFile2 ... - create LINECOMP archive archive.lc from files x archive.lc - extract a LINECOMP archive to current directory t archive.lc - test/list a LINECOMP archive ]])); } }