Re: parsing input

2009-04-25 Thread Randall Dow
Hi Thomas, Thanks, first of all, but I think that doesn't handle varying numbers of spaces as I wish: : (setq S "Nowisthe time") -> "Nowisthe time" : (use @A @B @C (match '(@A " " @B " " @C) (chop S)) (list @A @B @C)) -> (("N" "o" "w") (" ") (" " "i" "s" " " " " " " " " "t

Re: parsing input

2009-04-25 Thread Randall Dow
Hi Alex, Thanks, will try it, now going to pick up Francesca. - Rand On Sat, Apr 25, 2009 at 7:41 AM, Alexander Burger wro= te: > Hi Tomas, > >> > 01/02/2009 =C2=A0 30.00 =C2=A0 =C2=A0400.00 =C2=A0 =C2=A0t =C2=A0 =C2= =A0Randall Dow >> ... >> (use (@A @B @C @D @E) >> =C2=A0 =C2=A0(when (match

Re: parsing input

2009-04-25 Thread Tomas Hlavaty
Hi Randal & Alex, > While this is an elegant solution, it does not work as expected, > because the '@X' symbols do not necessarily match non-white > characters. I see, I should have tried that first;-) Cheers, Tomas -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Re: parsing input

2009-04-25 Thread Randall Dow
Thanks all! (let L (mapcar pack (filter prog (split (line) " "))) converts: "01/02/2009 30.00400.00tRandall Dow" to ("01/02/2009" "30.00" "400.00" "t" "Randall" "Dow") which is just what I want. I could have left out the '(mapcar pack' and left it as a char list, which would still

postscript & utf8

2009-04-25 Thread Tomas Hlavaty
Hi Alex, current @lib/ps.l does not deal with utf well enough and comes with a workaround involving bin/lat1. Bellow is a prototype code for displaying utf characters in poscript insired by https://mailman.research.att.com/pipermail/graphviz-interest/2004q2/001407.html # *PsGlyph (in "glyphlist