Date: Sun, 22 Jan 2006 14:12:54 -0500 (EST) From: "Jeffrey H. Johnson" <CPE1704TKS@bellsouth.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: CPE1704TKS@bellsouth.net Subject: ports/92167: [NEW PORT] misc/vils: Use your favorite editor to rename files Message-ID: <20060122191254.D48CA39833@offworld.cqasys.com> Resent-Message-ID: <200601221920.k0MJK7TA023122@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 92167 >Category: ports >Synopsis: [NEW PORT] misc/vils: Use your favorite editor to rename files >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: Sun Jan 22 19:20:07 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Jeffrey H. Johnson >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: System: FreeBSD offworld.cqasys.com 6.0-STABLE FreeBSD 6.0-STABLE #21: Wed Jan 18 22:35:45 EST 2006 >Description: This is the last of the little stuff that I use everyday that I thought might be useful to have a port. If this is of too little significance, I apologize bother the ports guys. I know of a few people that use it, at least. I found this implementation on the 'net. It is a cleaner zsh reimplementation of an sh script of the same name that was around in the late 80's and early 90's. I can't recall who it was that shipped it originally. -x- This little script enables you to ``edit an ls'', i.e. it will load a list of filenames into your favourite editor (presumably vi). Any changes to the filenames will result in renaming the respective files. Read the comments in the script for details. AUTHOR: Oliver Fromme <olli@fromme.com> BSD-style copyright and standard disclaimer applies. -x- Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- vils-20020228.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: # # vils # vils/Makefile # vils/distinfo # vils/pkg-descr # echo c - vils mkdir -p vils > /dev/null 2>&1 echo x - vils/Makefile sed 's/^X//' >vils/Makefile << 'END-of-vils/Makefile' X# New ports collection makefile for: vils X# Date created: 22 January 2006 X# Whom: Jeffrey H. Johnson <CPE1704TKS@bellsouth.net> X# X# $FreeBSD: ports/misc/vils/Makefile,v 1.00 2006/01/22 13:23:42 trn Exp $ X# X XPORTNAME= vils XPORTVERSION= 20020228 XCATEGORIES= misc XMASTER_SITES= http://www.secnetix.de/~olli/scripts/ XDISTFILES= vils X#EXTRACT_ONLY= X XMAINTAINER= CPE1704TKS@bellsouth.net XCOMMENT= Use your favorite editor to rename files X XBUILD_DEPENDS= zsh:${PORTSDIR}/shells/zsh XRUN_DEPENDS= ${BUILD_DEPENDS} X XPLIST_FILES= bin/vils X Xdo-extract: X ${MKDIR} ${WRKDIR} X ${CP} ${DISTDIR}/vils ${WRKDIR}/vils X Xdo-build: X @${REINPLACE_CMD} -e 's/\/bin\/zsh/\/usr\/local\/bin\/zsh/' ${WRKDIR}/vils X Xdo-install: X ${INSTALL_SCRIPT} -m 755 ${WRKDIR}/vils ${PREFIX}/bin X X.include <bsd.port.mk> END-of-vils/Makefile echo x - vils/distinfo sed 's/^X//' >vils/distinfo << 'END-of-vils/distinfo' XMD5 (vils) = cad9cd336a31154765bba8a55aecebf1 XSHA256 (vils) = b8f7e73a29e3a53b38d22d0be0cc3752a98da853bd4d9bb85538b62491b87dbe XSIZE (vils) = 2076 END-of-vils/distinfo echo x - vils/pkg-descr sed 's/^X//' >vils/pkg-descr << 'END-of-vils/pkg-descr' XThis little script enables you to ``edit an ls'', Xi.e. it will load a list of filenames into your Xfavourite editor (presumably vi). Any changes to Xthe filenames will result in renaming the respective Xfiles. Read the comments in the script for details. X XAUTHOR: Oliver Fromme <olli@fromme.com> X XBSD-style copyright and standard disclaimer applies. END-of-vils/pkg-descr exit --- vils-20020228.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060122191254.D48CA39833>