[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PWD bug
From: |
K-Sudhakaran |
Subject: |
PWD bug |
Date: |
Thu, 24 Oct 2002 15:51:44 +0530 (IST) |
Hi
Do the following in bash shell ...u will get to know the bug in it.
Create a sub directory.
get into that directory using 'cd' command.
remove the present working directory using rm ~/Newlycreateddirectory with
-rf swtiches.
it removes the directory successfully.
But if u see the content of the PWD environment variable it is not updated
and hence forth the prompt of the shell ( if we have made use of the PWD
as a command prompt ).
Either it should not allow us to remove the Present working directory
or it should take us to the next immediate outer directory available.
You may contact me for further clarrifications about this bug.
Sudhakaran.K
____________________________________________________________________________
K.Sudhakaran
#68 National Centre for Software Technology
Electronic City,Hosur Road
Bangalore. 561 229
Phone. 8523300 Extn 2404
Love all Serve All
The very essence of Four most respected Vedhas from God almighty is,
Help Ever , Hurt Never
____________________________________________________________________________