File::LoadLines provides an easy way to load the contents of a text

file into an array of lines. It is intended for relatively small
files like config files that are often produced by weird tools (and
users).  OK afresh1@
This commit is contained in:
millert 2020-07-24 16:42:37 +00:00
parent 4736fb8662
commit ecf7773450
4 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,14 @@
# $OpenBSD: Makefile,v 1.1.1.1 2020/07/24 16:42:37 millert Exp $
COMMENT= load the contents of a text file into an array of lines
MODULES= cpan
PKG_ARCH= *
DISTNAME= File-LoadLines-0.02
CATEGORIES= devel
MAINTAINER= Todd C. Miller <millert@openbsd.org>
PERMIT_PACKAGE= Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (File-LoadLines-0.02.tar.gz) = qwwcMc97aU3TyaBwcJj3SDdj1GtgeZp/SW6gWIvka3s=
SIZE (File-LoadLines-0.02.tar.gz) = 4865

View File

@ -0,0 +1,6 @@
File::LoadLines provides an easy way to load the contents of a text file into
an array of lines. It is intended for relatively small files like config files
that are often produced by weird tools (and users). It automatically handles
ASCII, Latin and UTF-8 text. When the file has a BOM, it handles UTF-8, UTF-16
LE and BE, and UTF-32 LE and BE. Recognized line terminators are NL (Unix,
Linux), CRLF (DOS, Windows) and CR (Mac).

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2020/07/24 16:42:37 millert Exp $
${P5SITE}/File/
${P5SITE}/File/LoadLines.pm
@man man/man3p/File::LoadLines.3p