2 ms·
That's essentially what he did, but he also accounted for the case of running a script from the current directory by running pwd.
by IncRnd 5y ago
That's essentially what he did, but he also accounted for the case of running a script from the current directory by running pwd.