help please

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

 



can some one tell me what is wrong with the following
filter for squidlog. I am getting the following error
=================================================== 
[oberoi@localhost uni]$ ./squidlogconverter.sh access
-n
access file exists
 number each line sequentially, begning from 1 by
default
numbering file...
awk: cmd. line:1: %9d.%03d %d %d.%d.%d.%d %s/%03d %d
%s %s %s %s%s/%s %s /n { print $3 "," $4}
awk: cmd. line:1: ^ syntax error
awk: cmd. line:1: %9d.%03d %d %d.%d.%d.%d %s/%03d %d
%s %s %s %s%s/%s %s /n { print $3 "," $4}
awk: cmd. line:1:               ^ syntax error
awk: cmd. line:1: %9d.%03d %d %d.%d.%d.%d %s/%03d %d
%s %s %s %s%s/%s %s /n { print $3 "," $4}
awk: cmd. line:1:                            ^ syntax
error
awk: cmd. line:1: %9d.%03d %d %d.%d.%d.%d %s/%03d %d
%s %s %s %s%s/%s %s /n { print $3 "," $4}
awk: cmd. line:1:                                     
            ^ syntax error

=====================================================
is there any good help available on awk or patterns i
have been searching lots but nothing useful to create
this filter
"%9d.%03d %6d %s %s/%03d %d %s %s %s %s%s/%s %s"
thanks

=====
deepak oberoi


		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux