The built-by script reports the name and version of the tool used to build the specified file(s). This script also demonstrates how information can be extracted from other other locations in the file, not just the binary annotation notes.
The script can also be used to filter files, only reporting those built by a specific tool, or a specific version of a tool, or even by a version of a tool that was built between a range of dates.
The options available are:
Displays the usage of the script and then exits.
Displays the version of the script.
Enables verbose mode, causing the script to detail each action it takes.
Do not include the name of script in the out generated by the script.
Produce no output. Just return an exit status.
Do not report file types that do not contain any builder information.
Only report binaries built by name. The name is only an ordinary string, not a regular expression.
Skip any binary build by name. The name is only an ordinary string, not a regular expression.
Only report binaries built by a tool that was created before date. date has the format YYYYMMDD.
Only report binaries built by a tool that was created after date. When combined with the --before option can be used to restrict output to files which were built by tools created in a specific date range.
Only report binaries built by a tool whose version is version or higher. The version string should be in the form V.V.V, for example 6.2.1.
Only report binaries built by a tool whoes version is version or lower. Can be combined with the --minver option to restrict output to those binaries created by tools within a specific version range.
Directory to use to store temporary files.
Use the specified program to read the notes from the files.
Stop accumulating command line options. This allows the script to be run on files whose names starts with a dash.
Copyright (c) 2018 - 2020 Red Hat.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled “GNU Free Documentation License”.