Skip to content

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

Description

@israelzuniga

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions