[PD] Parsing text

Martin Peach chakekatzil at gmail.com
Sun Sep 28 01:40:35 CEST 2014


I use pd_lua to extract things from text files, in part to avoid filling up
Pd's symbol table with junk. Here is an example that takes values from a
list of solar wind values obtained via httpget with the message GET
http://www.swpc.noaa.gov/ftpdir/lists/ace/ace_mag_1m.txt

Martin


On Sat, Sep 27, 2014 at 12:10 PM, Jack <jack at rybn.org> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
> Can you send us an example of the 7 lists you receive ?
> Attached is a small patch that could help you.
> ++
>
> Jack
>
>
>
> Le 27/09/2014 17:28, Pierre Desprats a écrit :
> > Hi,
> >
> > I'm using HTTPGET to get some informations on a website.
> >
> > The request works fine and output me 7 lists.
> >
> > But i'm only interested in one number of the third list.
> >
> > I don't know what is the best way to parse text in list or browse
> > list, to get this number ?
> >
> > Thanx !
> >
> > P.
> >
> > _______________________________________________
> > Pd-list at lists.iem.at mailing list UNSUBSCRIBE and
> > account-management -> http://lists.puredata.info/listinfo/pd-list
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iQEcBAEBAgAGBQJUJuF1AAoJEOuluecjw8GUZhsH/1YryEyZt1m3qOCFWeoxaWQp
> g4JE+oiyc4J0xqfnWoa+H/Aq35NnCl55GBYaP5DROaEH0XbyfOW4Y1/zAVHtDePs
> +AjWBNvJaZ34e1BBbLAFzYA214LLBA8ttr4SQkevX3PNpc3l/jOkdYUVcr81Dqw2
> cwkTIY7oMSoXJCd67G/AfiKHiSDnZgkUkKatmKCuS2VSwy02XwpJqCpxpuTv3JbG
> 2d4Ia4R3dUDN49PIWziFqhj9s6r0FSmaih9DJTJgo5sltDSGhcpbBQlLFiaLkKfH
> L3SelDGF+8VdHrl1UIwbO1vWQf2/LJnFmqoJvH6purVvc5EtqU27+Xt2nNn9Aq0=
> =Rd4U
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140927/e01645e2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ace_unpack.pd_lua
Type: application/octet-stream
Size: 10348 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140927/e01645e2/attachment-0001.obj>


More information about the Pd-list mailing list