As zxq9 mentioned, there is probably a better way to do this. Honestly, the examples with eval should not be used. Here is the article I was looking for: http://mywiki.wooledge.org/BashFAQ/048 Brandon Vincent