Subject: Re: [htdig] Tabs in syslog()...
From: Gilles Detillieux (email@example.com)
Date: Wed Sep 27 2000 - 13:08:07 PDT
According to firstname.lastname@example.org:
> I decided that I wanted htdig to output tab delimited logs and save me
> a step down the road. I found the code no problem in
> Display.cc (Display::logSearch), and inserted \t and set up the variables
> as I would normally in a printf statement.
> After compilation, everything seemed ok, but instead of tabs, I get '^|'
> in the logs. I tried the octal (\011) equiv as well, but got the same
> Is this syslog() that is doing this? Any way around it?
I don't see what else it could be, as the string is passed directly to the
syslog() function. My advice would be not to fight it, but instead use a
little sed/awk/perl script to post-process the syslog output into the format
-- Gilles R. Detillieux E-mail: <email@example.com> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba Phone: (204)789-3766 Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
------------------------------------ To unsubscribe from the htdig mailing list, send a message to firstname.lastname@example.org You will receive a message to confirm this. List archives: <http://www.htdig.org/mail/menu.html> FAQ: <http://www.htdig.org/FAQ.html>
This archive was generated by hypermail 2b28 : Wed Sep 27 2000 - 13:11:23 PDT