Skip to content

Bash: clarify “Positional parameters […] should be checked” #15

Description

@SebastianSimon

The Variables section in the Bash article has this bullet point:

  • Positional parameters of the script should be checked, those of functions should not

Could this be clarified, please? “Checked” for what? In what regard, specifically, do script parameters differ from function parameters? Maybe include an example of what “check” you’re talking about.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions