diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-06-17 17:46:31 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-06-17 17:46:31 +0000 |
commit | 72877db46a48421bf4bea6702eb329b7288b5e35 (patch) | |
tree | 6a4ca76b80d07c003052d1e2a4fb3d4174b3f2ba /getfilenames-help.pd | |
parent | 18734854d151c238616a309ac593b4a3792ad17d (diff) |
ok first working version on Ubuntu, didn't touch Windows side yet
svn path=/trunk/externals/ezfile/; revision=13670
Diffstat (limited to 'getfilenames-help.pd')
-rw-r--r-- | getfilenames-help.pd | 84 |
1 files changed, 40 insertions, 44 deletions
diff --git a/getfilenames-help.pd b/getfilenames-help.pd index ed1a4aa..1f063b4 100644 --- a/getfilenames-help.pd +++ b/getfilenames-help.pd @@ -1,52 +1,48 @@ -#N canvas 536 89 539 485 10; +#N canvas 118 89 529 471 10; #X msg 19 73 bang; -#X msg 27 355 bang; -#X obj 64 300 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X msg 28 364 bang; +#X obj 170 340 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 11 420 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 12 429 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X msg 176 255 symbol /usr/*; -#X text 54 73 list current directory; -#X text 160 237 set pattern without no output; -#X obj 27 386 folder_list; -#X obj 83 277 folder_list /*; -#X obj 83 298 print; -#X text 8 49 left/hot inlet gives immediate output using stored path -; -#X text 19 325 For UNIX people \, [folder_list] behaves just like "ls --d1A"; -#X obj 28 419 print; -#X msg 91 146 symbol ~/*.*; -#X text 187 197 relative paths work; -#X msg 102 198 symbol ../*; -#X text 164 124 drive letters work on ReactOS/Windows; -#X msg 77 123 symbol C:/*; -#X text 190 148 all files with a dot in your home; -#X msg 40 98 symbol %USERPROFILE%/*; -#X text 203 99 ReactOS/Windows environment variables work; -#X text 262 218 nested wildcards work on UNIX; -#X msg 119 219 symbol /var/*/*.log; -#X text 173 173 patterns default to path that Pd launched from; -#X text 329 464 released under the GNU GPL; -#X text 15 449 (C) Copyright 2006 Hans-Christoph Steiner <hans@at.or.at> -; +#X msg 176 296 symbol /usr/*; +#X text 160 278 set pattern without no output; +#X obj 28 395 getfilenames; +#X obj 83 318 getfilenames /*; +#X obj 83 339 print; +#X obj 29 428 print; +#X msg 104 185 symbol ~/*.*; +#X text 200 236 relative paths work; +#X msg 115 237 symbol ../*; +#X text 177 163 drive letters work on ReactOS/Windows; +#X msg 90 162 symbol C:/*; +#X text 203 187 all files with a dot in your home; +#X msg 53 137 symbol %USERPROFILE%/*; +#X text 216 138 ReactOS/Windows environment variables work; +#X text 275 257 nested wildcards work on UNIX; +#X msg 132 258 symbol /var/*/*.log; +#X text 186 212 patterns default to path that Pd launched from; #X text 8 5 Get a listing of files based on a wildcard pattern. On UNIX \, it follows glob rules \, on ReactOS/Windows it follows the cmd.exe rules.; -#X text 115 380 With no argument \, it defaults to the contents of +#X text 116 389 With no argument \, it defaults to the contents of the folder of the current patch \, i.e. "/path/to/current/patch/*". ; -#X msg 97 173 symbol *.pd; -#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 19 0 8 0; -#X connect 22 0 8 0; -#X connect 28 0 8 0; +#X msg 110 212 symbol *.pd; +#X text 54 73 get next file; +#X msg 34 99 rewind; +#X text 81 98 go back to the beginning of the file list; +#X connect 0 0 7 0; +#X connect 1 0 6 0; +#X connect 4 0 7 1; +#X connect 6 0 3 0; +#X connect 6 0 9 0; +#X connect 7 0 8 0; +#X connect 7 1 2 0; +#X connect 10 0 7 0; +#X connect 12 0 7 0; +#X connect 14 0 7 0; +#X connect 16 0 7 0; +#X connect 19 0 7 0; +#X connect 23 0 7 0; +#X connect 25 0 7 0; |