.profile file error on HPUX 11.11

Hi,

I am working on HPUX 11.11i and 11.10 boxes. My default shell is ksh.

I have the following entry in my profile file

HOSTNAME=`uname -n`

Every time I login to the server, this is the error I get:

${HOME:-.}/.profile[43]: syntax error: `)' unexpected

The line number shown is for the 'uname' command. I have also tried

HOSTNAME=`hostname`

and

HOSTNAME="$(/usr/bin/hostname)"

All these commands work properly if I execute them separately, but the error message is consistent whenever I use it in the profile file.

Please help!! :confused::(:confused:

Please post the whole file using code tags.
The line number in ksh error messages is not accurate.