Major problem with Bash 2.05b

2005-09-11 Thread Richard Nagle

G4:~ rn$ bash --version
GNU bash, version 2.05b.0(1)-release (powerpc-apple-darwin7.0)
Copyright (C) 2002 Free Software Foundation, Inc.
G4:~ rn$


This is the version of bash that comes, with MacOS X 10.3.9
however ever been having problems with compiling, and using cat command,
keep getting garbage characters...

several people from other list, have help, we ran dozen of test,
and have narrowed it down to bash shell, with some broken heredoc files,
..

ie.

Last login: Sun Sep 11 15:22:32 on ttyp1
Welcome to Darwin!
G4:~ rn$ cat << EOF
> line 1
> line 2
> EOF
??)??)?d?.?l?G4:~ rn$

As you can see from above this is not right...

ie.

G4:~ rn$ cat << EOF | hexdump -C
> test 123
> EOF
  a1 83 29 c3 ec 29 11 80  64   |..)..)..d|
0009
G4:~ rn$

Again, you can see this is not right...
Please NOTE: in tcsh shell, These problem (errors) do not happen..

ie.(tcsh shell)

Last login: Sun Sep 11 15:24:32 on ttyp1
Welcome to Darwin!
G4:~ rn$ tcsh
[G4:~] rn% cat << EOF
? line 1
? line 2
? EOF
line 1
line 2
[G4:~] rn%

and the last test in tcsh shell.

ie. (tcsh shell)
[G4:~] rn% cat << EOF | hexdump -C
? test 123
? EOF
  74 65 73 74 20 31 32 33  0a   |test 123.|
0009
[G4:~] rn%


==
So, I'm posting to the group, to see if they can help me FIND,
which files, are broken or corrupt (on a New install of MacOS X 10.3.9 )
have done a clean wipe and install 3 times with same results. FYI !

Help Please 

Richard


___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash


Re: Major problem with Bash 2.05b

2005-09-11 Thread Chet Ramey
Richard Nagle wrote:
> G4:~ rn$ bash --version
> GNU bash, version 2.05b.0(1)-release (powerpc-apple-darwin7.0)
> Copyright (C) 2002 Free Software Foundation, Inc.
> G4:~ rn$
> 
> 
> This is the version of bash that comes, with MacOS X 10.3.9
> however ever been having problems with compiling, and using cat command,
> keep getting garbage characters...

I ran 10.3.9 for a long time and never experienced this.  I suggest
you open a bug report with Apple.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Live Strong.
Chet Ramey, ITS, CWRU[EMAIL PROTECTED]http://cnswww.cns.cwru.edu/~chet/


___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash