Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Trying to parse xferfaxlog (more of an awk question)



On Thu, Aug 29, 2002 at 11:39:28AM -0500, Josh Welch wrote:
> #awk -FS"\011" '{print $2, $5 , $9, $15}' xferfaxlog
> should use tabs as the field seperator, as that is what I understand

Check your manpage. 

*Mine* says that it should be 

awk -F '\t' blah blah

Where the thing in the quotes could be \011, a literal tab, or maybe in
some versions of AWK, actually a \t.

Or, you could put a BEGIN section in there setting FS to a tab.  But
don't mix the two contexts.  FS is not the name of the switch.

Cheers,
-- jra
-- 
Jay R. Ashworth                                                jra@baylink.com
Member of the Technical Staff     Baylink                             RFC 2100
The Suncoast Freenet         The Things I Think
Tampa Bay, Florida        http://baylink.pitas.com             +1 727 647 1274

   "If you don't have a dream; how're you gonna have a dream come true?"
     -- Captain Sensible, The Damned (from South Pacific's "Happy Talk")

____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services