rohit sharma wrote:
[...behavior case similar to this trimmed out because your mail was
apparently word wrapped strangely and the wrapped result was hard to
read...]

  mkdir 1
  cd 1
  rmdir $PWD

> #rmdir
> /root/red/1                                                         /*
> remove the directory 1 (it gives no error) */

Yes.  The directory was removed without error.

> #cat >
> a                                                                      /*
> make a file a */
> -bash: no such file or directory
> (error)

Yes.  The directory has been removed and does not exist to create the
new files there.  This is expected after removing the directory.

> #cd ..
> #ls
> 
> 2
> (shows only directory 2) (directory 1 gets removed)

Correct.  The directory was removed.

Bob


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to