bug-bash
[Top][All Lists]
Advanced

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

address bug and // bug


From: James Waldby
Subject: address bug and // bug
Date: Mon, 27 Nov 2000 09:43:38 -0600

Bug 1. "man bash" has a paragraph that says:
       Once you have determined that a bug actually exists, use the 
bashbug  command
       to submit a bug report.  If you have a fix, you are encouraged to
mail that as
       well!  Suggestions and `philosophical' bug  reports  may  be 
mailed  to  bug-
       address@hidden or posted to the Usenet newsgroup gnu.bash.bug.


A serious problem in that paragraph is that the address,
address@hidden or address@hidden, whichever it is,
is split across two lines in an ambiguous and time-wasting
manner.

-------------------------------------------------------------

Bug 2.  In pathnames, bash should treat // like / and while
it usually does do so, here is a transcript of a case where 
it acts oddly IMO.  For uname -a and bash --version see below.

-------begin-------------
root vyri /home > cd //

root vyri // > pwd
//

root vyri // > ls
bin   cd   etc   lib         mnt  proc  sbin  usr
boot  dev  home  lost+found  opt  root  tmp   var

root vyri // > cd ////

root vyri / > cd ///

root vyri / > cd /

root vyri / > cd //

root vyri // > pwd
//

root vyri // > cd ..

root vyri / > cd /

root vyri / > cd //

root vyri // > pwd
//

root vyri // > date
Mon Nov 27 09:18:35 CST 2000

root vyri // > set|grep PS1
PS1='\nroot \h \w > '

root vyri // > uname -a
Linux vyri.jiw 2.2.16-22 #1 Tue Aug 22 16:16:55 EDT 2000 i586 unknown

root vyri // > bash --version
GNU bash, version 2.04.11(1)-release (i386-redhat-linux-gnu)
Copyright 1999 Free Software Foundation, Inc.

root vyri // > ls -i .
  43009 bin     30721 etc           59393 mnt     69633 sbin
      2 boot        2 home          65537 opt         2 tmp
  84003 cd      53249 lib               1 proc        2 usr
  28673 dev        11 lost+found    67585 root    22529 var

root vyri // > ls -i ..
  43009 bin     30721 etc           59393 mnt     69633 sbin
      2 boot        2 home          65537 opt         2 tmp
  84003 cd      53249 lib               1 proc        2 usr
  28673 dev        11 lost+found    67585 root    22529 var

root vyri // > ls -i ../..
  43009 bin     30721 etc           59393 mnt     69633 sbin
      2 boot        2 home          65537 opt         2 tmp
  84003 cd      53249 lib               1 proc        2 usr
  28673 dev        11 lost+found    67585 root    22529 var

root vyri // > ls -i `pwd`
  43009 bin     30721 etc           59393 mnt     69633 sbin
      2 boot        2 home          65537 opt         2 tmp
  84003 cd      53249 lib               1 proc        2 usr
  28673 dev        11 lost+found    67585 root    22529 var

-------end--------



reply via email to

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