Hello, dear list!

I'm using Ubuntu 8.04, Pd version 0.40.3-extended, pentium M 1600MHz, currently trying to build a file handling patch using [shell] and a message to it: [ls mypath/*.jpg(

everything works fine with 20 or less files in the folder. In folders containing approximately 200 files, some of the resulting lines become divided by line breaks, for example:

print: Szenografie3/manufactum/ausgewaehlt/6608.jpg
print: Szenografie3/manufactum/ausgewaehlt/6610.jpg
print: Szenografie3/manufactu
print: m/ausgewaehlt/6611.jpg
print: Szenografie3/manufactum/ausgewaehlt/6614.jpg
print: Szenografie3/manufactum/ausgewaehlt/6615.jpg

the cut appears at different positions and different filenames when sending the message again. In some cases a filename is distributed on 3 lines.

Is there any way to detect those line breaks within pd? Any objects for string manipulations or regular expressions?

Thanks,
Martin


#N canvas 644 319 450 300 10;
#X obj 95 116 shell;
#X obj 95 139 route <init>;
#X obj 164 163 print;
#X msg 95 93 ls Szenografie3/manufactum/ausgewaehlt/*.jpg;
#X connect 0 0 1 0;
#X connect 1 1 2 0;
#X connect 3 0 0 0;
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to