]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/pxp/pxp/tools/collect_files
Initial revision
[helm.git] / helm / DEVEL / pxp / pxp / tools / collect_files
diff --git a/helm/DEVEL/pxp/pxp/tools/collect_files b/helm/DEVEL/pxp/pxp/tools/collect_files
new file mode 100755 (executable)
index 0000000..d1770eb
--- /dev/null
@@ -0,0 +1,25 @@
+#! /bin/sh
+#
+# $Id$
+# ----------------------------------------------------------------------
+#
+# usage: collect_files file ...
+#
+# Prints the names of the files passed as arguments which actually
+# exist and are regular files.
+
+for x in "$@"; do
+    if [ -f "$x" ]; then
+       echo "$x"
+    fi
+done
+
+# ======================================================================
+#
+# $Log$
+# Revision 1.1  2000/11/17 09:57:35  lpadovan
+# Initial revision
+#
+# Revision 1.1  2000/07/27 21:07:26  gerd
+#      Initial revision.
+#