Page MenuHomeFreeBSD

New port: textproc/chkascii: Check an ASCII text file for invalid characters
ClosedPublic

Authored by 0mp on Nov 19 2018, 3:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 7 2024, 10:17 AM
Unknown Object (File)
Jan 1 2024, 2:01 AM
Unknown Object (File)
Jan 1 2024, 2:01 AM
Unknown Object (File)
Jan 1 2024, 2:01 AM
Unknown Object (File)
Jan 1 2024, 2:01 AM
Unknown Object (File)
Dec 28 2023, 7:35 PM
Unknown Object (File)
Dec 24 2023, 12:36 AM
Unknown Object (File)
Dec 23 2023, 4:08 AM
Subscribers
None

Details

Summary
chkascii is a small C program that checks files for any ASCII values
that are possibly junk. The following are considered the only good ASCII
values permissible in a text file:

32-126
9
10

The user can optionally force additional ASCII values to be treated as
good.

For good text files, chkascii will wind up by checking on proper EOL
termination. If the file is not EOL-terminated, that too is reported as
an error.

WWW: https://github.com/bourne-again/chkascii
Test Plan
  • portlint
  • poudriere testport:
    • amd64
      • 11.2
      • 12.0-RC1
    • i386
      • 11.2
      • 12.0-RC1

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 20895
Build 20264: arc lint + arc unit