On Thu, 23 Apr 1998, Bruce Conrad wrote:
> Here's a question for you guru's out there.
> We use SpoolMate for managing distribution. It works great, but
> third party tools available...but if it's too hard, I won't bother.
>
> TIA. example of file:
>
> 20918 FSR0300B COPY 1 EACH PLAUSSEB
> 20921 FSR0300B COPY 2 EACH BURKEJ
>
Hi Bruce,
The 'COPY' word is always the third token in your example lines.
I can analyze such texts with PDC Prolog.
Example:
Goal: fronttoken("00012 FSR0300B COPY X Y",T1,R1),
fronttoken(R1,T2,R2),fronttoken(R2,T3,R3),fronttoken(R3,T4,R4).
Result:
T1=00012, R1= FSR0300B COPY X Y, T2=FSR0300B, R2= COPY X Y, T3=COPY, R3= X
Y,
T4=X, R4= Y
1 Solution
Regards
Frank
|\ /~ ~~|~~~ Family : NAGY; first name : FERENC; title : Ph. D.
| \ | | Institute of Isotope and Surface Chemistry
| \ | -+- H-1121 BUDAPEST Konkoly-Thege M. ut 29, (1525 Bp. POB 77)
| \ | | [log in to unmask] (36-1)-395-9123 Fax: ~395-9002
| \| | http://alpha0.iki.kfki.hu/~nagyf/
`-' ' `-' Home: H-1102 BUDAPEST Holgy u. 48. I. 8. (36-1)-262-1198.
The lazy man gets tired twice, the miser pays doubly.
|