On Thu, 2 Jan 2003, Per Jessen wrote: > On Tue, 31 Dec 2002 12:13:52 -0600, schmit wrote: > > >I have a "printer-friendly format" link, which is processed by adding pff=Y to the >argument list of a specific webpage. > This works fine, but Analog sees these as individual requests, which they are not. >However, there ARE other arguments > that ARE valid. Is there a way in the analog config file to tell it to collapse out >a specific argument from the > arguments passed? Something like: > > > >/index.asp?page=home&pff=Y&somethingelse=da > > > >would be converted to > > > >/index.asp?page=home&somethingelse=da > > I don't know if analog will do it too, but the obvious answer > is 'sed' - feed your logfile through something along the lines > of this: sed -e 's/&pff=Y//' >
You can do it with FILEALIAS too. -- Stephen Turner, Cambridge, UK http://homepage.ntlworld.com/adelie/stephen/ "The question of whether a computer can think is no more interesting than the question of whether a submarine can swim." (Edsger W. Dijkstra) +------------------------------------------------------------------------ | This is the analog-help mailing list. To unsubscribe from this | mailing list, go to | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | List archives are available at | http://www.mail-archive.com/analog-help@lists.isite.net/ | http://lists.isite.net/listgate/analog-help/archives/ | http://www.tallylist.com/archives/index.cfm/mlist.7 +------------------------------------------------------------------------