home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / gnu / bash / bug / 564 < prev    next >
Encoding:
Text File  |  1992-08-20  |  2.2 KB  |  50 lines

  1. Newsgroups: gnu.bash.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!ihspa.ATt.COM!danj1
  3. From: danj1@ihspa.ATt.COM (Dan Jacobson)
  4. Subject: possible completions: bash doesn't show links@ directories/ ...
  5. Message-ID: <1992Aug20Th142013a.danj1@ihspa.att.com>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Thu, 20 Aug 1992 18:20:00 GMT
  10. Approved: bug-bash@prep.ai.mit.edu
  11. Lines: 37
  12.  
  13. [Bash 1.12] Below we see how when it comes time to list completions,
  14. bash crudely fills our 300 baud friends' screens with mucho blanks at
  15. the end of lines [as revealed by cat -v].  Furthermore, ksh smartly
  16. tells us if a file is a directory, by appending a slash/ like/ so/,
  17. whilst bash takes the plain jane approach.
  18.  
  19. bash$ bla <TAB><TAB>
  20. xxxyyyx.Pin                     moers2.edu.tw                   ^M
  21. RMS                             moers2.edu.tw-chinese-pub.ls-R  ^M
  22. ST.CATHARINES                   mule                            ^M
  23. TaiBunThongSin                  new                             ^M
  24. a                               new.p                           ^M
  25. a.p                             newImm                          ^M
  26. address.b                       purdue-fonts                    ^M
  27. bitNewsgroups                   ransom.ps                       ^M
  28. hz2ps-2.1.tar.Z                 ^M
  29. jaco5a                          ^M
  30.  
  31. $ ksh -o emacs^M
  32. $ <ESC>=
  33.  9) RMS                               37) moers2.edu.tw-chinese-pub.ls-R^M
  34. 10) ST.CATHARINES                     38) moers2.edu.tw/^M
  35. 11) TaiBunThongSin                    39) mule^M
  36. 12) a                                 40) new^M
  37. 13) a.p                               41) new.p^M
  38. 14) address.b                         42) newImm^M
  39. 15) bitNewsgroups                     43) purdue-fonts/^M
  40. 16) check.addr                        44) ransom.ps^M
  41. 17) cxterm/                           45) scr.RFPI^M
  42. [...]
  43.  
  44. However, both ksh and bash fail to put@ an@ "@" at@ the@ end@ of@
  45. filenames@ to indicate symbolic link!  Infact, the observant observer
  46. would spot this as an opportunity for bash to pull ahead in the
  47. completion sparkle department, however I wouldn't go so far as adding
  48. all) those) wonderful) choice) numbers) [33) 34) 35)] a) la) ksh).
  49.  
  50.