Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <011801c3b389$8c027a90$7b05000a@corp.silverbacksystems.com> From: "Dai Itasaka" To: Subject: Where am I anyway? Date: Tue, 25 Nov 2003 11:23:03 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-AntiVirus: checked by AntiVir MailGate (version: 2.0.1.6; AVE: 6.22.0.1; VDF: 6.22.0.49; host: ns.silverbacksystems.com) myname AT myhost> cd c:/temp/foo myname AT myhost> ls bar/ foo.file myname AT myhost> cd bar myname AT myhost> ls bar.file myname AT myhost> cd c:/temp/foo/bar myname AT myhost> ls bar.file myname AT myhost> ls .. bar/ foo.file myname AT myhost> cd c:/temp/foo/bar/ myname AT myhost> ls bar.file myname AT myhost> ls .. bar.file myname AT myhost> cd .. myname AT myhost> ls bar.file myname AT myhost> ls .. bar/ foo.file myname AT myhost> If the directory name you give cd meets this criteria: - start with a drive letter - end with a slash then it looks like cd takes you where you want to go but it really takes you one below so that you have to climb up one level to be safe. Bash doesn't observe this problem. This is using tcsh. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/