<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: sh: &#8220;split&#8221; Shortcut</title>
	<atom:link href="http://dannyman.toldme.com/2007/08/22/sh-split-via-set/feed/" rel="self" type="application/rss+xml" />
	<link>http://dannyman.toldme.com/2007/08/22/sh-split-via-set/</link>
	<description>Interesting bits of information and editorial, evolving online since 1995.</description>
	<lastBuildDate>Mon, 16 Jan 2012 02:14:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: geoff</title>
		<link>http://dannyman.toldme.com/2007/08/22/sh-split-via-set/comment-page-1/#comment-74462</link>
		<dc:creator>geoff</dc:creator>
		<pubDate>Tue, 11 Dec 2007 03:32:15 +0000</pubDate>
		<guid isPermaLink="false">http://dannyman.toldme.com/2007/08/22/sh-split-via-set/#comment-74462</guid>
		<description>within awk;

echo 192.168.1.1&#124;awk &#039;{gsub(/\./,&quot; &quot;);print &quot;1oct:&quot;$1&quot; 2oct:&quot;$2&quot; 3oct:&quot;$3 &quot; 4oct:&quot;$4}&#039;

maybe convert to an int;

echo 192.168.1.1&#124;awk &#039;{gsub(/\./,&quot; &quot;);printf &quot;%d&quot;, 16777216*$1 + 65536*$2 + 256*$3 + $4}&#039;</description>
		<content:encoded><![CDATA[<p>within awk;</p>
<p>echo 192.168.1.1|awk &#8216;{gsub(/\./,&#8221; &#8220;);print &#8220;1oct:&#8221;$1&#8243; 2oct:&#8221;$2&#8243; 3oct:&#8221;$3 &#8221; 4oct:&#8221;$4}&#8217;</p>
<p>maybe convert to an int;</p>
<p>echo 192.168.1.1|awk &#8216;{gsub(/\./,&#8221; &#8220;);printf &#8220;%d&#8221;, 16777216*$1 + 65536*$2 + 256*$3 + $4}&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dbt</title>
		<link>http://dannyman.toldme.com/2007/08/22/sh-split-via-set/comment-page-1/#comment-74283</link>
		<dc:creator>dbt</dc:creator>
		<pubDate>Thu, 23 Aug 2007 02:21:42 +0000</pubDate>
		<guid isPermaLink="false">http://dannyman.toldme.com/2007/08/22/sh-split-via-set/#comment-74283</guid>
		<description>Dude, use IFS.  I blohhgged it.</description>
		<content:encoded><![CDATA[<p>Dude, use IFS.  I blohhgged it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ((meatspace)) &#187; shell split</title>
		<link>http://dannyman.toldme.com/2007/08/22/sh-split-via-set/comment-page-1/#comment-74282</link>
		<dc:creator>((meatspace)) &#187; shell split</dc:creator>
		<pubDate>Thu, 23 Aug 2007 02:20:29 +0000</pubDate>
		<guid isPermaLink="false">http://dannyman.toldme.com/2007/08/22/sh-split-via-set/#comment-74282</guid>
		<description>[...] Dannyman sez:  # octects oct1=`echo $subnet &#124; awk -F . &#8216;{print $1}&#8217;` oct2=`echo $subnet &#124; awk -F . &#8216;{print $2}&#8217;` oct3=`echo $subnet &#124; awk -F . &#8216;{print $3}&#8217;` oct4=`echo $subnet &#124; awk -F . &#8216;{print $4}&#8217;` [...]</description>
		<content:encoded><![CDATA[<p>[...] Dannyman sez:  # octects oct1=`echo $subnet | awk -F . &#8216;{print $1}&#8217;` oct2=`echo $subnet | awk -F . &#8216;{print $2}&#8217;` oct3=`echo $subnet | awk -F . &#8216;{print $3}&#8217;` oct4=`echo $subnet | awk -F . &#8216;{print $4}&#8217;` [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 2/10 queries in 0.005 seconds using disk: basic
Object Caching 257/259 objects using disk: basic

Served from: dannyman.toldme.com @ 2012-02-09 02:16:57 -->
