<html><body><div style="font-family: Arial; font-size: 12pt; color: #000000"><div>Much appreciated Vishal, that makes complete sense. 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. I'll tweak it a bit <em>(either later tonight, or early tomorrow)</em> & 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" <stellarhopper@gmail.com><br><b>To: </b>"list, CLUE" <clue@cluedenver.org><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 | 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 <stellarhopper@gmail.com> wrote:<br>> On Wed, Jun 4, 2014 at 4:53 PM, <foo7775@comcast.net> wrote:<br>>> df -hl | awk '{print $NF}' | grep -v ^\/dev<br>><br>> The 'on' seems to be coming from the last column of the 'header' of<br>> the df command:<br>> Filesystem Size Used Avail Use% Mounted on<br>><br>> You want something like:<br>> df -hl | grep -v "^Filesystem" | awk '{print $NF}' | grep -v ^\/dev<br>><br>> -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>