Skip to content

Remove OS, compiler version, date, and time from version string #24

@ryandesign

Description

@ryandesign

agrep -V prints this on macOS:

AGREP 3.41.5/TG for NATIVE LINUX compiled with GCC Clang 17.0.5 (Nov 25 2023 18:24:29). Manber/Wu/Gries et al.

See:

#define AGREP_VERSION_STRING "AGREP "AGREP_VERSION" for "AGREP_OS" compiled with GCC "__VERSION__" ("__DATE__" "__TIME__"). Manber/Wu/Gries et al."

Please remove the OS name from this line since it is obviously fictitious on operating systems like macOS that you didn't explicitly consider and is not necessary since everybody already knows what operating system they're using.

Please remove "GCC" and the compiler version since it is confusing when the compiler that was used is not GCC and nobody cares what compiler or version a program was compiled with.

Please remove the compilation date and time since that renders your build non-reproducible and nobody cares when a program was compiled.

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