Click to See Complete Forum and Search --> : BASH


webjb
08-09-2001, 05:26 AM
OS:REDHAT7.1 SEAWOLF

CD:ORACLE8.0.5 FOR LINUX

After i run :

# cd /mnt/cdrom/orainst
. oratab.sh

the error is:
:command not found
:command not found
:command not found
:command not found
:command not found
:command not found
:command not found
'h :oratab.sh: line 30: syntax error near unexpected token 'in
'h :oratab.sh: line 30: 'case ${N}$C in
#

After i read the file oratab.sh in binerary,
i find that the \n and \r (0D 0A) are in that
file.

Buf if i edit another file(i.e. test.sh),and
copy all to test.sh, run bash is ok.
The test.sh has not (0D) only(0A), so i think
it is the reason.

But how can invoid it ?

Thanks in advance.

MBMarduk
08-09-2001, 08:52 AM
Weird.
Are you sure that CD was burned correctly?
If it's a BOUGHT CD that I dunno...