Re: bc -l wording

2017-10-08 Thread Jason McIntyre
On Fri, Oct 06, 2017 at 02:27:33PM +0200, Jan Stary wrote:
> Currently, the bc(1) manpage describes "-l" as
> 
>   Allow specification of an arbitrary precision math library
> 
> I am not a native speaker, but "specification of a library"
> seems unclear here. It loads /usr/share/misc/bc.library,
> not that the user could "specify" some other library to load.
> 
> Later in the manpage, "the functions available in _the_ library"
> are described, and FILES makes it explicit that this is the one.
> 
> Perhaps a native speaker will come up with some better wording.
> 
>   Jan
> 

hi. i committed a tweaked version of your diff. i went with "include"
rather than "load", but it was just personal preference really.

thanks for the diff,
jmc

> 
> 
> Index: bc.1
> ===
> RCS file: /cvs/src/usr.bin/bc/bc.1,v
> retrieving revision 1.32
> diff -u -p -r1.32 bc.1
> --- bc.1  17 Nov 2015 05:45:35 -  1.32
> +++ bc.1  6 Oct 2017 12:20:10 -
> @@ -76,7 +76,7 @@ If multiple
>  options are specified, they are processed in the order given,
>  separated by newlines.
>  .It Fl l
> -Allow specification of an arbitrary precision math library.
> +Load an arbitrary precision math library.
>  The definitions in the library are available to command line
>  expressions.
>  .El
> 



Re: bc -l wording

2017-10-06 Thread Andreas Kusalananda Kähäri
For what it's worth, POSIX has

-l
(The letter ell.) Define the math functions and initialize scale
to 20, instead of the default zero; see the EXTENDED DESCRIPTION
section.

http://pubs.opengroup.org/onlinepubs/9699919799.2016edition/utilities/bc.html

Cheers,


On Fri, Oct 06, 2017 at 02:27:33PM +0200, Jan Stary wrote:
> Currently, the bc(1) manpage describes "-l" as
> 
>   Allow specification of an arbitrary precision math library
> 
> I am not a native speaker, but "specification of a library"
> seems unclear here. It loads /usr/share/misc/bc.library,
> not that the user could "specify" some other library to load.
> 
> Later in the manpage, "the functions available in _the_ library"
> are described, and FILES makes it explicit that this is the one.
> 
> Perhaps a native speaker will come up with some better wording.
> 
>   Jan
> 
> 
> 
> Index: bc.1
> ===
> RCS file: /cvs/src/usr.bin/bc/bc.1,v
> retrieving revision 1.32
> diff -u -p -r1.32 bc.1
> --- bc.1  17 Nov 2015 05:45:35 -  1.32
> +++ bc.1  6 Oct 2017 12:20:10 -
> @@ -76,7 +76,7 @@ If multiple
>  options are specified, they are processed in the order given,
>  separated by newlines.
>  .It Fl l
> -Allow specification of an arbitrary precision math library.
> +Load an arbitrary precision math library.
>  The definitions in the library are available to command line
>  expressions.
>  .El
> 

-- 
Andreas Kusalananda Kähäri,
National Bioinformatics Infrastructure Sweden (NBIS),
Uppsala University, Sweden.