[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BASH bug CDPATH plus redirection
From: |
Paul Jarc |
Subject: |
Re: BASH bug CDPATH plus redirection |
Date: |
27 Jun 2001 21:07:17 -0400 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 |
mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) writes:
> I suggest you set your CDPATH variable in your .profile or .bash_profile,
> and not export it.
Then it would be set for login shells, but not other interactive
shells. Put it in .bashrc as well for them.
>> (cd dir1 ; tar cf - foo ) >foo.tar ; <foo.tar (cd dir2 ; tar xf - )
This is not reliable. The second tar might work faster than the
first, and prematurely find EOF.
paul
Re: BASH bug CDPATH plus redirection, Tim Mooney, 2001/06/28