[dev] Simple sed filter file and README

Marc G. Fournier scrappy at hub.org
Thu Sep 2 13:03:40 PDT 2004


Is there any way of the following two files being added to the config 
directory?

README.FreeBSD:
===============
freebsd_paths.sed is a simple sed script to convert
from Linux default paths to the FreeBSD equivalent.

To run, just type:

   sed -i.bak -f freebsd_paths.sed mime_drivers.php.dist

before editing the mime_drivers.php file.
===============

freebsd_paths.sed:
==================
s/C:\\Program Files\\Jeffrey Bakker\\webcpp\\webcpp.exe/\/usr\/local\/bin\/webcpp/
s/C:\\Program Files\\src-highlite\\bin\\source-highlight.exe/\/usr\/local\/bin\/source-highlight/
s/\/usr\/bin\/enscript/\/usr\/local\/bin\/enscript/
s/\/usr\/bin\/wvHtml/\/usr\/local\/bin\/wvHtml/
s/\/usr\/bin\/rpm/\/usr\/local\/bin\/rpm/
s/\/usr\/bin\/dpkg/\/usr\/local\/bin\/dpkg/
==================


----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy at hub.org           Yahoo!: yscrappy              ICQ: 7615664


More information about the dev mailing list