Michael Bevilacqua on 16 Sep 2010 12:55:28 -0700 |
On Thu, Sep 16, 2010 at 2:40 PM, Michael Bevilacqua <michael@bevilacqua.us> wrote:
I found the problem. My single quotes within the sed lines were being stripped off causing eval to choke. changing: do echo -n '| sed -e 's/ `echo $i | cut -d" " -f2`/ `echo $i | cut -d" " -f1` `echo $i | cut -d" " -f2`/g' ' ;
to a double quoted: do echo -n "| sed -e 's/ `echo $i | cut -d" " -f2`/ `echo $i | cut -d" " -f1` `echo $i | cut -d" " -f2`/g' " ;
fixed the issue. ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|