On Mon, 8 Oct 2001, Kathy Bieltz wrote:

> 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
> !
>
as a first guess, i would have initially tried

$ myprogram > /dev/null <<!

etc etc ... just to play it safe with the way bash handles
the delimiter for the here document.  does that make a difference?

rday

-- 
Robert P. J. Day
Eno River Technologies, Durham NC
Unix, Linux and Open Source training


Microsoft:  Committed to putting the "backward" into "backward compatibility."



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

Reply via email to