Greg Wooledge (12024-07-10): > You could -- but if you do so, you should definitely surround it with > a check for stdin being a terminal (test -t 0 or equivalent).
Does bash execute .bashrc when it is not interactive? Does bash think it is interactive when its input is not a tty? Regards, -- Nicolas George