Re: Trailing slash in pathname
Wandered Inn (esoteric@denali.atlnet.com)
Tue, 15 Dec 1998 18:05:05 +0000
Kevin Chu wrote:
>
> I'm out of date. I'm running Red Hat 5.1 and 1.4.5.3.
>
> I was trying to figure out where the double slashes in some pathnames
> were coming from:
It shouldn't matter. multiple slashes in a path are ignored and should
execute fine.
>
> [kevin@localhost kevin]$ ps | grep '//' | colrm 1 20 | grep -v grep
> /usr/X11R6/bin//Animate 7 4 /usr/share/afterstep/base.24bpp
> /usr/X11R6/bin//Wharf 9 4 /usr/share/afterstep/base.24bpp 0
> /usr/X11R6/bin//Pager 11 4 /usr/share/afterstep/base.24bpp 0
>
> I checked lots of config files. I thought a trailing slash was left
> on a path somewhere, but it turns out it's not a path problem:
>
> [kevin@localhost kevin]$ which Animate
> /usr/X11R6/bin/Animate
> [kevin@localhost kevin]$ which Wharf
> /usr/X11R6/bin/Wharf
> [kevin@localhost kevin]$ which Pager
> /usr/X11R6/bin/Pager
>
> 'ps l' shows that the parent of the three processes with double
> slashes is AfterStep itself (/usr/X11R6/bin/afterstep). grepping that
> file for the trailing slash (grep 'bin/' /usr/X11R6/bin/afterstep)
> shows the trailing slash near the end of the output.
>
> I'm not going to bother with it since the double slashes don't seem to
> affect the functionality of AfterStep. But the trailing slash is
> something to look for as you put out new versions.
>
> Kevin
>
> --
> Kevin Chu kevin@portal.ca
> http://members.tripod.com/~super_kevin/
>
> --
> WWW: http://www.afterstep.org/
> FTP: ftp://ftp.afterstep.org/
> MAIL: http://www.caldera.com/linuxcenter/forums/afterstep.html
--
Until later: Geoffrey esoteric@denali.atlnet.com
You mean you paid MONEY for Service Pack '98????
--
WWW: http://www.afterstep.org/
FTP: ftp://ftp.afterstep.org/
MAIL: http://www.caldera.com/linuxcenter/forums/afterstep.html