[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cd // produces unexpected results

From: Bill Gradwohl
Subject: cd // produces unexpected results
Date: Fri, 22 Jun 2012 13:41:05 -0600

By accident I keyed in :

cd //

and noticed that my prompt included both slashes. Further testing, I think,
reveals a minor issue:

address@hidden ~# pwd; cd //; echo PWD=$PWD; cd /root; echo OLDPWD=$OLDPWD

I don't believe PWD and OLDPWD should contain double slashes as they're
supposed to be the canonical path.

Bill Gradwohl

reply via email to

[Prev in Thread] Current Thread [Next in Thread]