[PD] [shell] creates line breaks randomly in big lists.
Martin Schied
crinimal at gmx.net
Mon Nov 3 16:59:54 CET 2008
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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: shell_test.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20081103/8ec35e55/attachment.txt>
More information about the Pd-list
mailing list