[erlang-questions] parsing radius detail file with time stamp
Wed Jun 13 12:34:08 CEST 2007
> I'm attempting to parse a radius detail file using yecc. It seems that
> leex is not widely available leading to manually writing a scanner.
> Having not done much with parse at this level before I would like to
> avoid manually writing anything to do with parsing a little longer. Does
> anyone have any suggestions on how to parse a file, using yecc or any
> other method, which looks like this?
> Fri Dec 5 18:32:09 2000
> Acct-Session-Id = "2193976896017"
> User-Name = "e2"
> Acct-Status-Type = Stop
> Acct-Authentic = RADIUS
> Acct-Output-Octets = 5382
> Acct-Input-Octets = 7761
> Service-Type = Framed-User
> Framed-Protocol = PPP
> Framed-IP-Address = 220.127.116.11
> Acct-Session-Time = 1905
> NAS-IP-Address = 18.104.22.168
> NAS-Port-Id = 8
> Acct-Delay-Time = 0
> Timestamp = 976897929
> Request-Authenticator = Unverified
Some links that may be of help:
More information about the erlang-questions