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
Mike Frysinger vap...@gentoo.org writes:
On Wednesday 11 February 2009 23:38:10 Rolf Brudeseth wrote:
I would like to propose a new command for bash:
ca [path]
It returns the canonical path based on the current working directory and
entered path.
If the current working directory has
Mike Frysinger vap...@gentoo.org writes:
On Thursday 12 February 2009 04:58:09 Andreas Schwab wrote:
Mike Frysinger vap...@gentoo.org writes:
On Wednesday 11 February 2009 23:38:10 Rolf Brudeseth wrote:
I would like to propose a new command for bash:
ca [path]
It returns the
Mike Frysinger wrote:
On Thursday 12 February 2009 04:58:09 Andreas Schwab wrote:
Mike Frysinger vap...@gentoo.org writes:
On Wednesday 11 February 2009 23:38:10 Rolf Brudeseth wrote:
I would like to propose a new command for bash:
ca [path]
It returns the canonical path based
Mike Frysinger wrote:
On Thursday 12 February 2009 04:58:09 Andreas Schwab wrote:
Mike Frysinger vap...@gentoo.org writes:
On Wednesday 11 February 2009 23:38:10 Rolf Brudeseth wrote:
I would like to propose a new command for bash:
ca [path]
It returns the canonical path
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.
I would also like to do this:
ro...@otto:~/test/B/BB$ ca ../b|xargs cat
hello
Rolf
Mike Frysinger wrote:
On Thursday 12 February 2009 04:58:09 Andreas Schwab wrote:
Mike Frysinger vap...@gentoo.org writes:
On Wednesday 11 February 2009 23:38:10 Rolf Brudeseth wrote:
I would like to propose a new command for bash:
ca [path]
It returns the canonical path
I would like to propose a new command for bash:
ca [path]
It returns the canonical path based on the current working directory and
entered path.
If the current working directory has been traversed through a symbolic
link, then listing a higher level path using dotdot's do not always show
On Wednesday 11 February 2009 23:38:10 Rolf Brudeseth wrote:
I would like to propose a new command for bash:
ca [path]
It returns the canonical path based on the current working directory and
entered path.
If the current working directory has been traversed through a symbolic
link, then