I have some scripts that run on several
Unix platforms and run on RH 6.2 just
fine.

I recently tried to run the following on
my RH 7.1 platform and had my program
core dump with a segmentation fault because
it is reading >/dev/null as the first argument.

myprogram <<! >/dev/null
first_argument
!

On all the other platforms including RH6.2
standard output is redirected to /dev/null
and the first argument "first_argument" is
read by the program from standard input.

Has anyone else seen this kind of behavior?
Is this a BUG in bash-2.05-2 or has the
behavior of the bash shell changed where
I need to specify this differently?

Any advice or pointers is appreciated.
Kathy Bieltz



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to