<html><body><div style="font-family: Arial; font-size: 12pt; color: #000000"><div>Much appreciated Vishal, that makes complete sense.&nbsp; I spent enough time testing it with different combinations of backticks, etc. that I'm not at all surprised that something like that slipped through.&nbsp; I'll tweak it a bit <em>(either later tonight, or early tomorrow)</em> &amp; try it again.<br></div><div><br></div><div>Thanks again.<br></div><div><br></div><div>T.<br></div><div><br></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Vishal Verma" &lt;stellarhopper@gmail.com&gt;<br><b>To: </b>"list, CLUE" &lt;clue@cluedenver.org&gt;<br><b>Sent: </b>Wednesday, June 4, 2014 5:04:22 PM<br><b>Subject: </b>Re: [clue] Bash baffler<br><div><br></div>But the real problem is you're using both $() and ``<br>It is trying to execute the text output of `df -hl &nbsp;| awk '{print<br>$NF}' | grep -v ^\/dev` and feeding it into another subshell as a<br>command, which of course it isn't.<br><div><br></div>-Vishal<br><div><br></div>On Wed, Jun 4, 2014 at 4:59 PM, Vishal Verma &lt;stellarhopper@gmail.com&gt; wrote:<br>&gt; On Wed, Jun 4, 2014 at 4:53 PM, &nbsp;&lt;foo7775@comcast.net&gt; wrote:<br>&gt;&gt; df -hl &nbsp;| awk '{print $NF}' | grep -v ^\/dev<br>&gt;<br>&gt; The 'on' seems to be coming from the last column of the 'header' of<br>&gt; the df command:<br>&gt; Filesystem &nbsp; &nbsp; &nbsp;Size &nbsp;Used Avail Use% Mounted on<br>&gt;<br>&gt; You want something like:<br>&gt; df -hl &nbsp;| grep -v "^Filesystem" | awk '{print $NF}' | grep -v ^\/dev<br>&gt;<br>&gt; -Vishal<br>_______________________________________________<br>clue mailing list: clue@cluedenver.org<br>For information, account preferences, or to unsubscribe see:<br>http://cluedenver.org/mailman/listinfo/clue<br></div><div><br></div></div></body></html>