grzegorzmazur / yacas

Computer calculations made easy
http://www.yacas.org
GNU Lesser General Public License v2.1
124 stars 24 forks source link

man page of yacas, option -c #289

Closed MarcoCostantini closed 4 years ago

MarcoCostantini commented 4 years ago

Please fix the man page of yacas, that says:

   -c        Inhibit printing of prompts "In>" and "Out>". Useful for non-interactive sessions.

but the -c option inhibits the initial banner, not the prompt If fact:

$ yacas -c In> 4+5 Out> 9 In>

grzegorzmazur commented 4 years ago

Hi,

Actually this is a bug and not documentation issue.

Grzesiek

MarcoCostantini commented 4 years ago

Hi

also an option that just removes the banner can be useful

grzegorzmazur commented 4 years ago

Ok, makes sense, Thanks for the idea :)

MarcoCostantini commented 4 years ago

Hi Now in https://github.com/grzegorzmazur/yacas/blob/master/man/yacas.1.rst there is -c twice. I think it would be better to leave the behavior of -c unchanged, and to add a different letter for removing the prompt

grzegorzmazur commented 4 years ago

Ups, good catch! This time it is a documentation bug, and the actual functionality is exactly as you suggested.

Thanks, Grzesiek