On 12/04/13 14:02, poma wrote:
"clouds"?:)

awk '{print $11}' syslog.txt | uniq
DST=17.171.4.13
DST=174.35.3.56
or
awk '{sub("DST=","",$11); print $11}' syslog.txt | uniq
17.171.4.13
174.35.3.56

man 1 gawk
man 1 uniq


poma

It's not clear to me what that should do but it produces a long list, not in the form I need? I just want to filter [view] DST=17.*.

less syslog.txt | grep "DST=17\." does that and solves my immediate need.

Thanks,

Bob


--

http://www.qrz.com/db/W2BOD

box10   Fedora-18 XFCE Linux

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to