A response from a St. Louis colleague:<br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">Robert Citek</b> &lt;<a href="mailto:robert.citek@gmail.com">robert.citek@gmail.com
</a>&gt;<br>Date: Dec 17, 2006 7:42 PM<br>Subject: Re: Fwd: Fwd: [DISCUSS] 10 Good Unix command line habits<br>To: <a href="mailto:discuss@sluug.org">discuss@sluug.org</a><br><br></span><br><br>Also, in &quot;Use escape sequences to manage long input&quot;, there's no need to
<br>put a backslash after a pipe (|), logical or (||), or logical and (&amp;&amp;).<br> So, this:<br><br>~ $ cd tmp/a/b/c || \<br>&gt; mkdir -p tmp/a/b/c &amp;&amp; \<br>&gt; tar xvf -C tmp/a/b/c ~/archive.tar<br><br>can be re-written as this:
<br><br>~ $ cd tmp/a/b/c ||<br>&gt; mkdir -p tmp/a/b/c &amp;&amp;<br>&gt; tar xvf -C tmp/a/b/c ~/archive.tar<br><br>Happy Holidays to all.<br><br>Regards,<br>- Robert<br><br>Don Ellis wrote:<br>&gt; Ed and Group,<br>&gt;<br>
&gt; Here's a note from one of our KC colleagues (to whom I forwarded this)<br>&gt; pointing out an error on the page (which I noticed but didn't share).<br>&gt;<br>&gt; --Don Ellis<br>&gt;<br>&gt;<br>&gt; ---------- Forwarded message ----------
<br>&gt; From: *Luke-Jr* &lt;<a href="mailto:luke@dashjr.org">luke@dashjr.org</a> &lt;mailto:<a href="mailto:luke@dashjr.org">luke@dashjr.org</a>&gt;&gt;<br>&gt; Date: Dec 17, 2006 12:54 AM<br>&gt; Subject: Re: Fwd: [DISCUSS] 10 Good Unix command line habits
<br>&gt; To: <a href="mailto:kclug@kclug.org">kclug@kclug.org</a> &lt;mailto:<a href="mailto:kclug@kclug.org">kclug@kclug.org</a>&gt;<br>&gt;<br>&gt; Notes:<br>&gt; In &quot;Quote variables with caution&quot;, it says to use square brackets, and then
<br>&gt; goes on to give a correct example with curly braces.<br>&gt; &quot;Stop piping cats&quot; only refers to piping to grep, but in reality there's<br>&gt; almost never a good reason to pipe a single-file cat. The &lt; operator
<br>&gt; provides<br>&gt; a file on standard input. So &quot;cat foo | wc -l&quot; can become &quot;wc -l &lt; foo&quot;<br><br>-------<br>St. Louis Unix Users Group - <a href="http://www.sluug.org/">http://www.sluug.org/
</a><br>To unsubscribe from the SLUUG discussion mailing list, send a message to<br><a href="mailto:discuss-request@sluug.org">discuss-request@sluug.org</a> with the word 'unsubscribe' as the body<br>