bug-bash
[Top][All Lists]
Advanced

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

Re: ca - New bash command proposal


From: Chet Ramey
Subject: Re: ca - New bash command proposal
Date: Fri, 13 Feb 2009 11:53:45 -0500
User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)

Rolf Brudeseth wrote:
> Andreas Schwab wrote:
>>
>>
>> ca() { (cd "$@" && pwd -P); }
>>
>> Andreas.
>>
>>   
> That works if I want the path to a directory, but it does not let me
> operate on files within the directory.

Once you have the pathname to a directory, you have dozens of tools
available to operate on its contents.

Chet

-- 
``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]