aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-03-27 03:16:14 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-03-27 03:16:14 +0000
commitb30f724f07c07b95f9d83ae30f4b861349bfe512 (patch)
tree9bdce78c2169b814dfe196349ce5ef99b92fc2a0
parent07c0b4c96a5a6fb5a95507d1ed85193574395aab (diff)
cleaned up files for release
svn path=/trunk/externals/hcs/; revision=4780
-rw-r--r--folder_list-help.pd70
-rw-r--r--folder_list.c27
2 files changed, 65 insertions, 32 deletions
diff --git a/folder_list-help.pd b/folder_list-help.pd
index cbf6822..e16024a 100644
--- a/folder_list-help.pd
+++ b/folder_list-help.pd
@@ -1,25 +1,23 @@
-#N canvas 254 219 532 567 10;
-#X msg 19 48 bang;
-#X msg 101 320 bang;
+#N canvas 536 89 536 571 10;
+#X msg 19 53 bang;
+#X msg 101 323 bang;
#X obj 64 280 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
-#X obj 85 385 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#X obj 85 388 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X msg 176 235 symbol /usr/*;
-#X text 30 5 Get a listing of files based on a "glob" pattern.;
-#X text 62 49 list current directory;
+#X text 51 56 list current directory;
#X text 160 217 set pattern without no output;
-#X obj 101 351 folder_list;
+#X obj 101 354 folder_list;
#X obj 83 257 folder_list /*;
#X obj 83 278 print;
-#X text 28 29 left/hot inlet gives immediate output using stored path
+#X text 65 39 left/hot inlet gives immediate output using stored path
;
-#X text 49 298 For UNIX people \, [folder_list] behaves just like "ls
+#X text 49 301 For UNIX people \, [folder_list] behaves just like "ls
-d1A";
-#X obj 102 384 print;
+#X obj 102 387 print;
#X msg 91 126 symbol ~/*.*;
-#X text 153 381 WARNING: the default will change in the future!;
-#X text 165 152 patterns default to path Pd launched from;
+#X text 153 384 WARNING: the default will change in the future!;
#X msg 97 153 symbol *;
#X text 187 177 relative paths work;
#X msg 102 178 symbol ../*;
@@ -31,27 +29,37 @@
#X symbolatom 186 456 0 0 0 0 - - -;
#X symbolatom 186 476 0 0 0 0 - - -;
#X text 128 425 What's in the same folder as this patch?;
-#X text 186 350 defaults to /;
#X text 164 104 drive letters work on ReactOS/Windows;
#X msg 77 103 symbol C:/*;
#X text 190 128 all files with a dot in your home;
#X msg 40 78 symbol %USERPROFILE%/*;
#X text 203 79 ReactOS/Windows environment variables work;
-#X connect 0 0 9 0;
-#X connect 1 0 8 0;
-#X connect 4 0 9 1;
-#X connect 8 0 3 0;
-#X connect 8 0 13 0;
-#X connect 9 0 2 0;
-#X connect 9 0 10 0;
-#X connect 14 0 9 0;
-#X connect 17 0 9 0;
-#X connect 19 0 9 0;
-#X connect 20 0 24 0;
-#X connect 20 0 25 0;
-#X connect 21 0 23 0;
-#X connect 22 0 20 0;
-#X connect 24 0 21 0;
-#X connect 24 0 26 0;
-#X connect 30 0 9 0;
-#X connect 32 0 9 0;
+#X text 186 353 defaults to your home folder;
+#X text 267 200 nested wildcards work on UNIX;
+#X msg 119 199 symbol /var/*/*.log;
+#X text 30 5 Get a listing of files based on a wildcard pattern. On
+UNIX \, it follows glob rules \, on Windows it follows the cmd.exe
+rules.;
+#X text 165 152 patterns default to path that Pd launched from;
+#X text 274 541 released under the GNU GPL;
+#X text 57 527 (C) Copyright 2006 Hans-Christoph Steiner <hans@at.or.at>
+;
+#X connect 0 0 8 0;
+#X connect 1 0 7 0;
+#X connect 4 0 8 1;
+#X connect 7 0 3 0;
+#X connect 7 0 12 0;
+#X connect 8 0 2 0;
+#X connect 8 0 9 0;
+#X connect 13 0 8 0;
+#X connect 15 0 8 0;
+#X connect 17 0 8 0;
+#X connect 18 0 22 0;
+#X connect 18 0 23 0;
+#X connect 19 0 21 0;
+#X connect 20 0 18 0;
+#X connect 22 0 19 0;
+#X connect 22 0 24 0;
+#X connect 27 0 8 0;
+#X connect 29 0 8 0;
+#X connect 33 0 8 0;
diff --git a/folder_list.c b/folder_list.c
index fdf7935..dffdb2c 100644
--- a/folder_list.c
+++ b/folder_list.c
@@ -1,3 +1,28 @@
+/* --------------------------------------------------------------------------*/
+/* */
+/* object for getting file listings using wildcard patterns */
+/* Written by Hans-Christoph Steiner <hans@at.or.at> */
+/* */
+/* Copyright (c) 2006 Hans-Christoph Steiner */
+/* */
+/* This program is free software; you can redistribute it and/or */
+/* modify it under the terms of the GNU General Public License */
+/* as published by the Free Software Foundation; either version 2 */
+/* of the License, or (at your option) any later version. */
+/* */
+/* See file LICENSE for further informations on licensing terms. */
+/* */
+/* This program is distributed in the hope that it will be useful, */
+/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
+/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
+/* GNU General Public License for more details. */
+/* */
+/* You should have received a copy of the GNU General Public License */
+/* along with this program; if not, write to the Free Software Foundation, */
+/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+/* */
+/* --------------------------------------------------------------------------*/
+
#include <m_pd.h>
#ifdef _WIN32
@@ -9,7 +34,7 @@
#include <glob.h>
#endif
-static char *version = "$Revision: 1.7 $";
+static char *version = "$Revision: 1.8 $";
#define DEBUG(x)
//#define DEBUG(x) x