I'm unclear about:
I was expecting an error with the
It seems that the number of
works equally 'well'.
Is this a Unix or FreeBSD thing and is this documented somewhere?
Code:
# ls -il /usr/local/etc/pkg/repos/FreeBSD.conf /usr/local/etc/pkg/repos//FreeBSD.conf
34118738 -rw-r--r-- 1 root wheel 1151 Feb 25 12:03 /usr/local/etc/pkg/repos//FreeBSD.conf
34118738 -rw-r--r-- 1 root wheel 1151 Feb 25 12:03 /usr/local/etc/pkg/repos/FreeBSD.conf
# file /usr/local/etc/pkg/repos/FreeBSD.conf /usr/local/etc/pkg/repos//FreeBSD.conf
/usr/local/etc/pkg/repos/FreeBSD.conf: ASCII text
/usr/local/etc/pkg/repos//FreeBSD.conf: ASCII text
// in the path specification but it seems legal.It seems that the number of
/-es as separator does not matter: basename /usr/local/etc/pkg//repos////FreeBSD.conf works equally 'well'.
Is this a Unix or FreeBSD thing and is this documented somewhere?