Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

od: implement -a option #646

Merged
merged 1 commit into from
Jun 9, 2024
Merged

od: implement -a option #646

merged 1 commit into from
Jun 9, 2024

Commits on Jun 8, 2024

  1. od: implement -a option

    * BSD and GNU versions support -a for printing literal characters, with control character names printed
    * GNU version deliberately masks highest (8th) bit per byte, so we follow this
    * This is consistent with standards document[1] wording: "named characters from the International Reference Version (IRV) of the ISO/IEC 646:1991 standard. Only the least significant seven bits of each byte shall be used"
    * Standards document doesn't mention -a flag, but generally -a is taken to mean the same as "-t a"
    * Attempt to document the available options
    
    1. http://ktiml.mff.cuni.cz/~kucerap/unix/susv4tc2/utilities/od.html
    mknos authored Jun 8, 2024
    Configuration menu
    Copy the full SHA
    a642621 View commit details
    Browse the repository at this point in the history