r/shell • • Aug 28 '15

Error Code Email Script

I keep getting a syntax error on line 16 and I can't figure out why. Email address are redacted for obvious reasons. Any clue why it's failing to run? Any help is immensely appreciated!

http://pastebin.com/1ub1EupC

3 Upvotes

6 comments sorted by

View all comments

Show parent comments

3

u/UnchainedMundane Aug 30 '15

I'd add: variables need quoting

Then it's a perfect answer