(20 lines)
1 #!/usr/bin/env nomsu -V7.0.02 ###3 A tool to list installed third party Nomsu packages5 Usage:6 nomsu -t list8 use "filesystem"9 use "commandline"10 use "shell"12 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~14 command line program with $args:15 $packages = (=sh "ls \$(NOMSU PACKAGEPATH)")16 say "Currently Installed:"17 for $f in ($packages, lines):18 if ($f != ""):19 $f = ($f, with "%.nom$" -> "")20 say " * \$f"