splunge!
authorFred Hamster <fred@gruntose.com>
Thu, 17 Apr 2025 17:37:06 +0000 (13:37 -0400)
committerFred Hamster <fred@gruntose.com>
Thu, 17 Apr 2025 17:37:06 +0000 (13:37 -0400)
scripts/files/filename_helper.py

index 33fa232f7e6f0694965025871f6f21232012d5fd..d515b395ad8b77daca899ad4948161a8b76c3dbc 100644 (file)
@@ -19,9 +19,8 @@ version of the License.  Please send any updates to "fred@gruntose.com".
 
 """
 
-#unscanned below here-- monsters !!!
-
-use Env qw(OS IS_MSYS);
+import os
+import path
 
 ############################################################################
 
@@ -44,15 +43,12 @@ use Env qw(OS IS_MSYS);
 
 # takes an array of filenames (each possibly containing spaces and/or
 # wildcards) and resolves it to a useful list of actual files.
-
-python function defs anyone?  amazing how fast this stuff vanishes.
-
 def glob_list(original_names: list) -> list:
   """
   takes a set of filenames that may be relative (or really arcane) and globs them into a normal list of filenames.
   """
 
-unchecked below here
+#hmmm: unscanned below here-- monsters !!!
 
   local(@to_return) = ();  # the final form of the name list.
 #print "temp list is @original_names\n";