
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.thelinuxwiki.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=awk_parsing_log_fields</id>
		<title>awk parsing log fields - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=awk_parsing_log_fields"/>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=awk_parsing_log_fields&amp;action=history"/>
		<updated>2026-05-01T19:59:41Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21.5</generator>

	<entry>
		<id>http://www.thelinuxwiki.com/index.php?title=awk_parsing_log_fields&amp;diff=735&amp;oldid=prev</id>
		<title>Nighthawk: Created page with &quot;lets say you need the field after something denoted by a precurser.  precurser = rule:  example...   # echo &quot;1 2 3 4 5 6 rule: 7 8 9 10&quot; | awk '{for (i=1; i&lt;=NF; i++) if ($i==...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=awk_parsing_log_fields&amp;diff=735&amp;oldid=prev"/>
				<updated>2014-04-06T02:34:16Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;lets say you need the field after something denoted by a precurser.  precurser = rule:  example...   # echo &amp;quot;1 2 3 4 5 6 rule: 7 8 9 10&amp;quot; | awk &amp;#039;{for (i=1; i&amp;lt;=NF; i++) if ($i==...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;lets say you need the field after something denoted by a precurser.&lt;br /&gt;
&lt;br /&gt;
precurser = rule:&lt;br /&gt;
&lt;br /&gt;
example...&lt;br /&gt;
&lt;br /&gt;
 # echo &amp;quot;1 2 3 4 5 6 rule: 7 8 9 10&amp;quot; | awk '{for (i=1; i&amp;lt;=NF; i++) if ($i==&amp;quot;rule:&amp;quot;) print $(i+1)}'&lt;br /&gt;
 7&lt;br /&gt;
&lt;br /&gt;
[[category:awk]]&lt;/div&gt;</summary>
		<author><name>Nighthawk</name></author>	</entry>

	</feed>