[3021] in Athena Bugs

home help back first fref pref prev next nref lref last post

ls 6.3B vax (at least) man page vs. reality

daemon@ATHENA.MIT.EDU (Dave Morrison)
Mon Aug 28 12:46:40 1989

To: bugs@ATHENA.MIT.EDU
From: Dave Morrison <drmorris@ATHENA.MIT.EDU>
Date: Mon, 28 Aug 89 12:46:14 EDT
The man page for ls says:

     -h   Use hesiod to resolve names not present in /etc/passwd
          or /etc/group.  Only useful if used in conjunction with
          -l or -g.

     -H   Use hesiod for all name lookups.

and

     There are a large number of options.  By default, the value
     of the LS environment variable is processed for options.
...
     -z   Don't use the LS environment variable as a source of
          arguments.

I can't get any of these to work.  Looking at the source
(/paris/source/4.3/bin/ls.c), I note there are no 'h', 'H', or 'z' case
statements in the argument parsing.  Did we flip back to an old version?

					Dave Morrison

----------
[~]:morgan % setenv LS -l
[~]:morgan % /bin/ls
Mail        chart       lib         personal    rs1home     src
afs         consult     misc        postscript  rsuserhome  thesis
bin         etc         newtest~    ps          rtbin       thesis.old
bitmaps     f77         nh4         rc.conf     scribe      trashcan
c           latex       papers      resources   scripts     vaxbin
[~]:morgan % /bin/ls -algH /mit
total 17
drwxr-xr-x 16 root     wheel        1024 Aug 28 12:14 .
drwxr-xr-x 19 root     wheel         512 Aug 21 15:57 ..
drwxrwxrwx  2 root     wheel         512 Aug 22 15:26 2020
drwxrwxr-x 12 root     a_staff       512 Jun 30 12:01 StaffTools
drwxrwxr-x 10 12408    248           512 Aug  7 16:36 builders
drwxr-xr-x 13 369      12912        1024 Aug 10 02:06 consult
drwxrwxr-x 14 32000    5002         1024 Jul 24 13:19 discuss
drwxr-xr-x 25 drmorris drmorris     2048 Aug 28 12:18 drmorris
drwxrwxr-x  3 435      10926        1024 Aug 25 13:29 info
drwx--x--x  5 8543     12609        1536 Aug 28 11:16 mghaddad
drwxrwxr-x 12 12408    wheel         512 Aug 19  1988 net-directory
drwxrwxr-x  8 9674     12416         512 Jun 22 14:16 olc-stock
drwxr-xr-x 13 14781    wheel        1024 Aug 27 16:14 rrkasegu
drwxrwxr-x 24 5509     395          1024 May 30 14:04 sipb
lrwxrwxrwx  1 root     wheel          38 Aug 28 10:14 watchmaker -> /afs/athena.
mit.edu/contrib/watchmaker
drwxr-xr-x  5 root     248           512 May 25 06:54 x11
drwxrwxr-x 17 17154    964           512 Aug  3 12:12 x11dev
[~]:morgan % /bin/ls -algh /mit
total 17
drwxr-xr-x 16 root     wheel        1024 Aug 28 12:14 .
drwxr-xr-x 19 root     wheel         512 Aug 21 15:57 ..
drwxrwxrwx  2 root     wheel         512 Aug 22 15:26 2020
drwxrwxr-x 12 root     a_staff       512 Jun 30 12:01 StaffTools
drwxrwxr-x 10 12408    248           512 Aug  7 16:36 builders
drwxr-xr-x 13 369      12912        1024 Aug 10 02:06 consult
drwxrwxr-x 14 32000    5002         1024 Jul 24 13:19 discuss
drwxr-xr-x 25 drmorris drmorris     2048 Aug 28 12:18 drmorris
drwxrwxr-x  3 435      10926        1024 Aug 25 13:29 info
drwx--x--x  5 8543     12609        1536 Aug 28 11:16 mghaddad
drwxrwxr-x 12 12408    wheel         512 Aug 19  1988 net-directory
drwxrwxr-x  8 9674     12416         512 Jun 22 14:16 olc-stock
drwxr-xr-x 13 14781    wheel        1024 Aug 27 16:14 rrkasegu
drwxrwxr-x 24 5509     395          1024 May 30 14:04 sipb
lrwxrwxrwx  1 root     wheel          38 Aug 28 10:14 watchmaker -> /afs/athena.
mit.edu/contrib/watchmaker
drwxr-xr-x  5 root     248           512 May 25 06:54 x11
drwxrwxr-x 17 17154    964           512 Aug  3 12:12 x11dev
[~]:morgan % hesinfo 369 uid
consult:*:369:101:Consultants Software Bin,,,,:/mit/consult:/bin/csh
[~]:morgan % hesinfo 248 gid
gbuilders:*:248:
[~]:morgan %
----------

home help back first fref pref prev next nref lref last post