Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lines starting with number symbol (#) shoud be treated as commands instead of comments #7

Open
israelzuniga opened this issue Feb 24, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@israelzuniga
Copy link

Is your feedback related to a specific website?
Take for example this section: https://icinga.com/docs/icinga-2/latest/doc/02-installation/#enabling-the-ido-postgresql-module

Is your feedback related to a problem? Please describe.
Sometimes, there are websites or documentation that list commands to be executed by a root account. Kommandr simply ignores them with the justification of being just bash comments.

Describe the solution you'd like
It would be nice to have KMDR explanations on commands supposed to be executed by root (#) instead of normal users ($). The Bash symbol for r00t vs bash comments should be analyzed by position of the text symbol in a line or a given code block.

@ediardo ediardo added the bug Something isn't working label Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants