mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
New port: textproc/chkascii: Check an ASCII text file for invalid characters
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 PR: 233254 Submitted by: bourne.identity@hotmail.com Reviewed by: krion Approved by: krion (mentor) Differential Revision: https://reviews.freebsd.org/D18047
This commit is contained in:
parent
fb2ba15b7a
commit
bcd04fb32a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=485326
@ -85,6 +85,7 @@
|
||||
SUBDIR += cdiff
|
||||
SUBDIR += cgrep
|
||||
SUBDIR += chpp
|
||||
SUBDIR += chkascii
|
||||
SUBDIR += cl-meta
|
||||
SUBDIR += cl-meta-sbcl
|
||||
SUBDIR += cl-ppcre
|
||||
|
23
textproc/chkascii/Makefile
Normal file
23
textproc/chkascii/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= chkascii
|
||||
DISTVERSION= 1.0
|
||||
CATEGORIES= textproc
|
||||
|
||||
MAINTAINER= bourne.identity@hotmail.com
|
||||
COMMENT= Check an ASCII text file for invalid characters
|
||||
|
||||
LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= bourne-again
|
||||
|
||||
PLIST_FILES= bin/chkascii \
|
||||
man/man1/chkascii.1.gz
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/chkascii ${STAGEDIR}${PREFIX}/bin/chkascii
|
||||
${INSTALL_MAN} ${WRKSRC}/chkascii.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
3
textproc/chkascii/distinfo
Normal file
3
textproc/chkascii/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1542639723
|
||||
SHA256 (bourne-again-chkascii-1.0_GH0.tar.gz) = e25dfa56022894a62b0ebc8f5457871a99c8ccf9f632c6a193f05dbefc27d8ef
|
||||
SIZE (bourne-again-chkascii-1.0_GH0.tar.gz) = 9895
|
16
textproc/chkascii/pkg-descr
Normal file
16
textproc/chkascii/pkg-descr
Normal file
@ -0,0 +1,16 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user