Skip to content

root executable :: remove (or disable by default) any not requested printouts #8446

@adriansev

Description

@adriansev

Explain what you would like to see improved

root executable emits a lot of non-requested output which:

  1. force the users to do workarounds just to make root print only what was instructed by user to do
  2. makes it harder to be used as interpreter (to be used in shebang)

Optional: share how it could be improved

there should be NO output if it was not requested ...
moreover, IMHO, it's kind of silly that there is a need for root and root.exe
and users that need to remove annoyances need to alias root='root.exe -l'
so, i would say, that all differences between non exe and exe should be removed and hidden under a flag
and all banners or any other text should be by default disabled (so -l in fact should enable the banner if requested)
for compatibility the .exe files should be replaced with symlinks to the actual main executables

To Reproduce

just use it

Setup

any root version

Additional context

so, my argument is that, given the interpreter profile of the root executable (the fact that it can execute a human text input make is an interpreter in the usage sense), there should be no actions performed that were not instructed by the user/developer; if so, there is a breach of contract like: i told you to print a new line and this information and i got another newline and some other text beside what i wanted

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions