[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CDPATH reports to stdout and even non-interactively

From: Chet Ramey
Subject: Re: CDPATH reports to stdout and even non-interactively
Date: Fri, 15 Aug 2008 17:14:32 -0400
User-agent: Thunderbird (Macintosh/20080707)

address@hidden wrote:

Bash Version: 3.2
Patch Level: 25
Release Status: release

        If CDPATH is set, whenever bash changes directories to a
        non-absolute path it reports the new directory to stdout.
        This is done even if bash is running in non-interactive mode,
        such as in a script.  That breaks scripts that do things like

This is the behavior that Posix requires:  when CDPATH is used, bash
outputs the name of the new working directory to stdout.  Commands
and shell functions need to take this into account.

``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]