|
Re: [Sbcl-help] translate-pathname
From: Rudi Schlatte <rudi@co...> - 2007-02-11 10:30
|
On 11.02.2007, at 03:09, Magnus Henoch wrote: > I'm trying to strip a certain prefix from a pathname, e.g. removing > /tmp from /tmp/foo/bar would give foo/bar. What about: (pathname (enough-namestring #p"/tmp/foo/bar" #p"/tmp/")) => #P"foo/bar" Cheers, Rudi |
| Thread | Author | Date | |
|---|---|---|---|
| [Sbcl-help] translate-pathname | Magnus Henoch <mange@fr...> |
|