Results 1 to 3 of 3
Hi,
Though i know it's not per the shell variable naming format, but does anyone has any idea how can i resolve the error without changing my variable names.
[gigauser@gigabuild]$ ...
- 08-19-2009 #1
var.iab.ble=<value> issue in shell
Hi,
Though i know it's not per the shell variable naming format, but does anyone has any idea how can i resolve the error without changing my variable names.
[gigauser@gigabuild]$ himanshu.ali=pakoda
ksh: himanshu.ali=pakoda: not found
[gigauser@gigabuild]$ bash
EXECUTING /projects/stp/home//.bashrc ...
[gigauser@gigabuild]$
[gigauser@gigabuild]$ himanshu.ali=pakoda
bash: himanshu.ali=pakoda: command not found[stpuser@stpbuild]$
Any ideas!
- 08-19-2009 #2
According to the bash man page:
According to the bash man page, a name is defined as:Code:A variable is a parameter denoted by a name.
Therefore, variables cannot have a dot in them, and you must change your variable names.Code:name A word consisting only of alphanumeric characters and under- scores, and beginning with an alphabetic character or an under- score. Also referred to as an identifier.DISTRO=Arch
Registered Linux User #388732
- 08-19-2009 #3


Reply With Quote
