G. Milde spake unto us the following wisdom: > The ">&" construct is not mine. In the light of your responses, i assume > now: 1) my co-author uses a C shell, 2) it still works there, and 3) it > never worked right here but I did not realize. > > Jörgs idea with "which jed 2>&1 > /dev/null" works fine here. For the record, 'which jed > /dev/null 2>&1' will work in some places where your example does not. Welcome to the complexities of the bourne shell. ;-) Ethan -- The laws that forbid the carrying of arms are laws [that have no remedy for evils]. They disarm only those who are neither inclined nor determined to commit crimes. -- Cesare Beccaria, "On Crimes and Punishments", 1764
Attachment:
pgptT5rv8Whpi.pgp
Description: PGP signature