Operating System - Linux
1751800 Members
5009 Online
108781 Solutions
New Discussion

Error message on Shell Program in Linux (this runs perfectly under HP-UX 10.20)

 
SOLVED
Go to solution
Steven E. Protter
Exalted Contributor

Re: Error message on Shell Program in Linux (this runs perfectly under HP-UX 10.20)

What you need in this case is an editor with a syntax checker, preferably one that highlights and color codes the code.

There is a mistake, and I can't find it visually.

So.

In Linux, you might try tucows.com and search for editor shell. You are likekly to find a no cost program that will do the job in your X-Windows or even telnet/ssh environment.

If that doesn't work tucows or download.com has a few tools for windows that might help.

Same search critera. I've got some manual labor on the hold homestead(backyard) so I won't get to looking for a tool for a day or so.

Good Luck.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Stuart Browne
Honored Contributor

Re: Error message on Shell Program in Linux (this runs perfectly under HP-UX 10.20)

Make sure the lines don't end with a CR (^M).

The only other time I've seen unreasonable results is when that occurs.

As for $Bro, no, it's not set in GenMill, it gets passed to it from Milling.

Milling:91: binLinux/GenMill $Mill RotBro $Stat $Blk $OpN $Bro

One long-haired git at your service...