Re: TIMEOUT=900: is not an identifier
From: Andreas F. Borchert (comp.unix.solaris_at_expires-on-2005-10-08.usenet.andreas-borchert.de)
Date: 09/30/05
- Next message: greek_philosophizer_at_hotmail.com: "Re: TIMEOUT=900: is not an identifier"
- Previous message: thulhu: "Re: TIMEOUT=900: is not an identifier"
- In reply to: lowkwell_at_hotmail.com: "TIMEOUT=900: is not an identifier"
- Next in thread: greek_philosophizer_at_hotmail.com: "Re: TIMEOUT=900: is not an identifier"
- Reply: greek_philosophizer_at_hotmail.com: "Re: TIMEOUT=900: is not an identifier"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Sep 2005 18:09:44 +0200 (CEST)
On 2005-09-30, lowkwell@hotmail.com <lowkwell@hotmail.com> wrote:
> On Sun Solaris 9 machine I have got the following error if the default
> shell is set to /bin/sh "-sh: TIMEOUT=900: is not an identifier"
>
> TIMEOUT is specified in /etc/profile
> readonly TIMEOUT=900
Change this to
TIMEOUT=900
readonly TIMEOUT
The syntax of /bin/sh is here more restrictive than the syntax of
ksh or bash. /bin/sh permits just variable names to be given as
argument to ``readonly'' but no assignments.
Andreas.
- Next message: greek_philosophizer_at_hotmail.com: "Re: TIMEOUT=900: is not an identifier"
- Previous message: thulhu: "Re: TIMEOUT=900: is not an identifier"
- In reply to: lowkwell_at_hotmail.com: "TIMEOUT=900: is not an identifier"
- Next in thread: greek_philosophizer_at_hotmail.com: "Re: TIMEOUT=900: is not an identifier"
- Reply: greek_philosophizer_at_hotmail.com: "Re: TIMEOUT=900: is not an identifier"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]