[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash help please



On 06/10/2016 05:41 AM, Gene Heskett wrote:
> gene@coyote:~$ echo `test [${InMail} = "gene"]`
> 
> All I get is the linefeed.  Obviously I'm losing it, so how do I 
> translate and get usefull output for troubleshooting?

One option is to use 'set -x' there in the script.  It can go anywhere
above your problem and will show each line as it is executed.  The
contents of ${InMail} that are actually getting passed to test will be
visible.

Regards,
Lars


Reply to: