<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=4325&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / awk help ?]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4325</link>
		<description><![CDATA[The most recent posts in awk help ?.]]></description>
		<lastBuildDate>Tue, 11 May 2021 18:14:24 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: awk help ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29737#p29737</link>
			<description><![CDATA[<p>I think that you are right that it is a ratpoison issue. I just checked and these commands are working on my standard DWM with dmenu when piped through dzen2, especially the forms with&#160; &quot;&#160; &#160;&quot; prepended. The tabbed forms &quot;\t&quot; are not as good as they create a space but fill it with a small box.</p>]]></description>
			<author><![CDATA[dummy@example.com (andyprough)]]></author>
			<pubDate>Tue, 11 May 2021 18:14:24 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29737#p29737</guid>
		</item>
		<item>
			<title><![CDATA[Re: awk help ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29734#p29734</link>
			<description><![CDATA[<p>You can play around with printf, maybe that will give you something you can use:</p><div class="codebox"><pre><code>uname -a | awk {&#039;printf(&quot;%s\n&quot;, &quot;   &quot;$3,1)&#039;}
   4.19.0-16-amd64</code></pre></div><div class="codebox"><pre><code>uname -a | awk {&#039;printf(&quot;%s\n&quot;, &quot;\t&quot;$3,1)&#039;}
	4.19.0-16-amd64</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (andyprough)]]></author>
			<pubDate>Tue, 11 May 2021 15:10:58 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29734#p29734</guid>
		</item>
		<item>
			<title><![CDATA[Re: awk help ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29733#p29733</link>
			<description><![CDATA[<p>Thanks andyprough, that works but only on the command line, i think my issues are with dzen2 and ratpoison window manager.</p>]]></description>
			<author><![CDATA[dummy@example.com (dice)]]></author>
			<pubDate>Tue, 11 May 2021 14:15:59 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29733#p29733</guid>
		</item>
		<item>
			<title><![CDATA[Re: awk help ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29732#p29732</link>
			<description><![CDATA[<p>Another way you can do it is print it with a tab before the output:</p><div class="codebox"><pre><code>$ uname -a | awk &#039;{print substr(&quot;\t&quot;$3,1)}&#039;
	4.19.0-16-amd64</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (andyprough)]]></author>
			<pubDate>Tue, 11 May 2021 14:08:03 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29732#p29732</guid>
		</item>
		<item>
			<title><![CDATA[Re: awk help ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29731#p29731</link>
			<description><![CDATA[<p>I&#039;m no awk wizard, but what works for me on the &#039;uname -a&#039; command is to prepend the argument variable with &quot;&#160; &#160;&quot;:</p><div class="codebox"><pre><code>$ uname -a | awk &#039;{print substr(&quot;   &quot;$3,1)}&#039;
   4.19.0-16-amd64</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (andyprough)]]></author>
			<pubDate>Tue, 11 May 2021 14:00:46 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29731#p29731</guid>
		</item>
		<item>
			<title><![CDATA[awk help ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29729#p29729</link>
			<description><![CDATA[<p>Can i pick someone&#039;s brains on how to modify this command ?</p><p>I have the command working ok, i just want to put in a few spaces at the beginning, think of it as padding.</p><p><span class="bbc">ratpoison -c &quot;info&quot; | awk&#160; &#039;{ print substr($3,1)}&#039;</span></p><p>this prints in any given window im in through dzen2 panel as follows.</p><div class="codebox"><pre><code>0(XTerm)</code></pre></div><p>what i would like is to have a space or two in front so it prints like so with a space or two as padding.</p><div class="codebox"><pre><code> 0(XTerm)</code></pre></div><p>edit: the full output of the command would be so before filtering it through awk...</p><div class="codebox"><pre><code>(39, 136) 0(XTerm)</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (dice)]]></author>
			<pubDate>Tue, 11 May 2021 13:02:07 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29729#p29729</guid>
		</item>
	</channel>
</rss>
