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

Re: Problem with csh



Stephen P. Molnar wrote:
> comp@AbNormal:~$ csh
> Bad : modifier in $ '/'.

A colon ":" is a modifier in the tcsh for variables.

For instance:
	set f=file.c
	echo $f:r
	  --> output: file  [note the missing ".c", only root name]
	echo $f:e
	  --> output: c     [note that "file." is missing, only the extension]

So, I assume, you used somewhere a ":/" in the script and "/" is no valid modifier.

Maybe you should run the script under a csh [comparable with sh], and not a tcsh [comparable with bash]?
csh has no modifiers, but tcsh has.

Regards,
	Klaus.


-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27


Reply to: