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