Re: [htdig] Tabs in syslog()...

Subject: Re: [htdig] Tabs in syslog()...
From: Gilles Detillieux (
Date: Wed Sep 27 2000 - 13:08:07 PDT

According to
> 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::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
> thing.
> 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
you want.

Gilles R. Detillieux              E-mail: <>
Spinal Cord Research Centre       WWW:
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 You will receive a message to confirm this. List archives: <> FAQ: <>

This archive was generated by hypermail 2b28 : Wed Sep 27 2000 - 13:11:23 PDT