I’d create a bash script that simply converts the formats for you so both programs with with the native format. Text parsing like this is easier to do outside of Pd or with a scripting language like lua and the pdlua external.

--------
Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com

On Nov 16, 2015, at 1:58 PM, pd-list-request@lists.iem.at wrote:

From: Simon Iten <itensimon@gmail.com>
Date: November 16, 2015 at 1:58:02 PM MST
To: Pd-List <pd-list@lists.iem.at>
Subject: [PD] parse textfile


hi list,

i’m trying to parse a textfile and use some numbers as parameters in a patch. unfortunately i can’t change the way the textfile is formatted, since it has to be compatible with another program. the first lines look like this: