[TUHS] PDP-7 UNIX filesystem

Angelo Papenhoff aap at papnet.eu
Tue Oct 22 02:54:50 AEST 2019


On 21/10/19, Angelo Papenhoff wrote:
> . and ..

To this I seem to have found an answer by checking how stat.s and ls.s
work. 'stat foo' will check whether '../foo' (using /-notation) exists
and will then print the status.
'ls foo' will check whether '../foo' is a directory and will then open
foo and list it. It will default to .. if no argument is given.
This to me suggests that .. (confusingly) refers to the current
directory.
. does not seem to have any conventional meaning.


To the first question I still have no answer.


aap


More information about the TUHS mailing list