DPS Initial Ideas

Mike Meyer mwm-keyword-freebsdhackers2.e313df at mired.org
Sat May 12 02:02:21 UTC 2007


In <20070512004209.GA12218 at lpthe.jussieu.fr>, Michel Talon <talon at lpthe.jussieu.fr> typed:
> One of the most obvious being that the sqlite database can be edited
> as easily as a pure textfile using the sqlite3 program

Huh? They can? With a pure textfile, if vi is busted, I can use ed. If
ed is also busted, I can use sed. What do I use on an sqlite database
if sqlite3 is busted?

I'm currently reinstalling all the ports on my system, changing
LOCALBASE from /usr/opt to /usr, just to see if this breaks
anything. Adjusting all those pure textfile configs for this is
trivial:

find /etc /usr/etc /usr/X11R6/etc -type f | xargs sed -e 's;/opt;;g' -i .opt 

How can I do this "as easily" if I were using sqlite database(s)?

	<mike
-- 
Mike Meyer <mwm at mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


More information about the freebsd-hackers mailing list