Skip to content

printf followed by a dash is defined #3216

Open
@konrad-schwarz

Description

@konrad-schwarz

shellcheck flags
printf '----\n' with warning; in POSIX sh, printf --\n is undefinfed. [SC3045]. This is patently wrong: printf.1 was introduced precisely because echo -... is undefined.

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