lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV: require actual YES for "Q" cmd.


From: David Combs
Subject: Re: LYNX-DEV: require actual YES for "Q" cmd.
Date: Fri, 30 Jan 1998 12:50:23 -0800 (PST)

> From address@hidden Fri Jan 30 07:57:29 1998
> Date: Fri, 30 Jan 1998 10:03:06 -0500
> From: "Brian Tillman, x8425" <address@hidden>
> 
> >as i said yesterday,  lynx.cfg  &  userdefs.h  need further cleaning-up.
> >we need to discuss what should be in each & remove most duplications;
> 
> I _like_ having many things defined in BOTH places.  This gives me the option 
> of 
> having the defaults I want _compiled_ in to that I can supply a minimum 
> lynx.cfg 


Ok, but just how are you going to DOCUMENT
this?

My suggestion: via good old unix "comm" tool:

An alpha-sorted list of ALL items initialized
lin the .h, and ANOTHER of all items
in either .cfg or .lynxrc.

Then, do a "comm list1.foo list2.foo", and let
THAT be the doc of what is initted where.

For those who don't know what comm does, simply
do a man on comm; it is INDISPENSABLE when managing
files that appear (under the same name) in different
directories.

For those who don't know/use unix, I will include
the man page following this msg.

Oh, the output from the comm (three columns) should
of course be documentation SEPARATE from the list
of the variables, "annotated".

By the way, all these "tools" in unix are available
from MKS tools, for about $300???

Also from gnu.  Works on pc, dos, etc.

Here is "comm" man page:






 Sun Release 4.1   Last change: 9 September 1987                 1



COMM(1)                  USER COMMANDS                    COMM(1)



NAME
     comm - display lines in common, and  lines  not  in  common,
     between two sorted lists

SYNOPSIS
     comm [ -1| -2| -3| -12| -13| -23 ] filename1 filename2

DESCRIPTION
     comm reads filename1 and filename2, which should be  ordered
     in  ASCII  collating  sequence  (see sort(1V)), and produces
     three-column output when no options are specified:

          +  Column  1  contains  lines  that   occur   only   in
             filename1.

          +  Column 2 contains lines only in filename2.

          +  Column 3 contains lines common to both files.

     The filename `-' means the standard input.

OPTIONS
     The following options can be used to suppress the  indicated
     columns  from display.  You can specify `-123', but doing so
     suppresses all output.

     -1   Suppress column 1; omit lines only in filename1.

     -2   Suppress column 2; omit lines only in filename2.

     -3   Suppress column 3; omit lines common to both files.

     -12  Suppress columns 1 and 2; only  show  lines  common  to
          both files.

     -13  Suppress columns 1 and 3; only show lines in filename2.

     -23  Suppress columns 2 and 3; only show lines in filename1.

SEE ALSO
     cmp(1), diff(1), sort(1V), uniq(1)

BUGS
     The options suppress, rather than  select  the  columns  you
     indicate.

reply via email to

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