zsh-users
 help / color / mirror / code / Atom feed
* Convert absolute paths to relative paths
@ 2002-04-19 11:49 Vin Shelton
  2002-04-19 17:51 ` Bart Schaefer
  0 siblings, 1 reply; 7+ messages in thread
From: Vin Shelton @ 2002-04-19 11:49 UTC (permalink / raw)
  To: zsh-users

Greetings -

Can anyone show me some nifty zsh hackery to convert a string
representing an absolute path into a relative path?  For example, if
my current $PWD is "/opt/build" and the path I want to convert is
"/opt/src/perl-5.6.1", I would like the result to be
"../src/perl-5.6.1".

Thanks in advance,
  Vin Shelton 


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-04-21 18:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-19 11:49 Convert absolute paths to relative paths Vin Shelton
2002-04-19 17:51 ` Bart Schaefer
2002-04-19 19:00   ` Bart Schaefer
2002-04-20  0:47   ` Vin Shelton
2002-04-20  0:59     ` Bart Schaefer
2002-04-20  4:48       ` Vin Shelton
2002-04-21 18:32         ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).