ports/82863: [NEW PORT] textproc/flip: Convert text file line endings between Unix and DOS formats

Radim Kolar hsn at netmag.cz
Fri Jul 1 15:20:20 UTC 2005


>Number:         82863
>Category:       ports
>Synopsis:       [NEW PORT] textproc/flip: Convert text file line endings between Unix and DOS formats
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 01 15:20:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Radim Kolar
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
Sanatana Dharma
>Environment:
System: FreeBSD sanatana.dharma 5.4-STABLE FreeBSD 5.4-STABLE #12: Fri Jun 24 18:15:43 CEST 2005
>Description:
This program converts line endings of text files between MS-DOS and **IX
formats. It detects binary files in a nearly foolproof way and leaves them
alone unless you override this. It will also leave files alone that are already
in the right format and preserves file timestamps. User interrupts are handled
gracefully and no garbage or corrupted files left behind. 'flip' does not
convert files to a different character set, and it can not handle Apple
Macintosh line endings (CR only). For that (and more), you can use the 'recode'
program (package 'recode').

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- flip-1.19.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	flip
#	flip/pkg-descr
#	flip/Makefile
#	flip/distinfo
#
echo c - flip
mkdir -p flip > /dev/null 2>&1
echo x - flip/pkg-descr
sed 's/^X//' >flip/pkg-descr << 'END-of-flip/pkg-descr'
XThis program converts line endings of text files between MS-DOS and **IX
Xformats. It detects binary files in a nearly foolproof way and leaves them
Xalone unless you override this. It will also leave files alone that are already
Xin the right format and preserves file timestamps. User interrupts are handled
Xgracefully and no garbage or corrupted files left behind. 'flip' does not
Xconvert files to a different character set, and it can not handle Apple
XMacintosh line endings (CR only). For that (and more), you can use the 'recode'
Xprogram (package 'recode').
END-of-flip/pkg-descr
echo x - flip/Makefile
sed 's/^X//' >flip/Makefile << 'END-of-flip/Makefile'
X# New ports collection makefile for:	flip
X# Date created:		2005-07-01
X# Whom:			Radim Kolar <hsn at sanatana.dharma>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	flip
XPORTVERSION=	1.19
XCATEGORIES=	textproc
XMASTER_SITES=	http://ftp.sayclub.co.kr/pub/packages/aixpdslib/flip/RISC/4.3/src/
XDISTNAME=	${PORTNAME}.${PORTVERSION}
XEXTRACT_SUFX=	.tar.Z
X
XMAINTAINER=	ports at freebsd.org
XCOMMENT=	Convert text file line endings between Unix and DOS formats
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
XALL_TARGET=	bsd
XPLIST_FILES=	bin/flip
XMAN1=		flip.1
X
Xdo-install:
X		${INSTALL_PROGRAM} ${WRKSRC}/flip ${PREFIX}/bin
X		${INSTALL_MAN} ${WRKSRC}/flip.1 ${MAN1PREFIX}/man/man1
X
X.include <bsd.port.mk>
END-of-flip/Makefile
echo x - flip/distinfo
sed 's/^X//' >flip/distinfo << 'END-of-flip/distinfo'
XMD5 (flip.1.19.tar.Z) = 8441e44212b1c3d2bfa1323afa84aab2
XSIZE (flip.1.19.tar.Z) = 42208
END-of-flip/distinfo
exit
--- flip-1.19.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list