Date: Thu, 9 Nov 2006 10:16:56 +0900 (YAKT) From: Alexander Logvinov <ports@logvinov.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/105314: [new port] textproc/bbe Message-ID: <200611090116.kA91GurF002245@blg.akavia.ru> Resent-Message-ID: <200611090120.kA91KOOM078328@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 105314 >Category: ports >Synopsis: [new port] textproc/bbe >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: Thu Nov 09 01:20:23 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Alexander Logvinov >Release: FreeBSD 6.1-RELEASE-p3 i386 >Organization: >Environment: >Description: A sed-like editor for binary files >How-To-Repeat: >Fix: # 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: # # bbe # bbe/Makefile # bbe/distinfo # bbe/pkg-descr # echo c - bbe mkdir -p bbe > /dev/null 2>&1 echo x - bbe/Makefile sed 's/^X//' >bbe/Makefile << 'END-of-bbe/Makefile' X# New ports collection makefile for: bbe X# Date created: 8 November 2006 X# Whom: Alexander Logvinov <ports@logvinov.com> X# X# $FreeBSD$ X# X XPORTNAME= bbe XPORTVERSION= 0.2.2 XCATEGORIES= textproc XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR=${PORTNAME}- X XMAINTAINER= ports@logvinov.com XCOMMENT= A sed-like editor for binary files X XHAS_CONFIGURE= yes X XMAN1= ${PORTNAME}.1 XPLIST_FILES= bin/${PORTNAME} XDOCS= AUTHORS ChangeLog README XPORTDOCS= bbe.html ${DOCS} X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin X ${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MAN1PREFIX}/man/man1 X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/doc/bbe.html ${DOCSDIR} X.for i in ${DOCS} X ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} X.endfor X.endif X X.include <bsd.port.mk> END-of-bbe/Makefile echo x - bbe/distinfo sed 's/^X//' >bbe/distinfo << 'END-of-bbe/distinfo' XMD5 (bbe-0.2.2.tar.gz) = b056d0bfd852384aced73d4533887d4b XSHA256 (bbe-0.2.2.tar.gz) = baaeaf5775a6d9bceb594ea100c8f45a677a0a7d07529fa573ba0842226edddb XSIZE (bbe-0.2.2.tar.gz) = 211590 END-of-bbe/distinfo echo x - bbe/pkg-descr sed 's/^X//' >bbe/pkg-descr << 'END-of-bbe/pkg-descr' XInstead of reading input in lines as sed, bbe reads Xarbitrary blocks from an input stream and performs Xbyte-related transformations on found blocks. Blocks Xcan be defined using start/stop strings, stream offset Xand block length, or a combination. Basic editing commands Xinclude delete, replace, search/replace, binary operations X(and, or, etc.), append, and bcd/ASCII conversion. For Xexamining the input stream, it contains some grep-like Xfeatures like printing the input file name, stream offset, Xand block number of found blocks. Block contents can also Xbe printed in different formats like hex, octal, ASCII, and Xbinary. X XWWW: http://sourceforge.net/projects/bbe-/ END-of-bbe/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611090116.kA91GurF002245>