Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2007 22:01:46 -0400
From:      Mike Meyer <mwm-keyword-freebsdhackers2.e313df@mired.org>
To:        Michel Talon <talon@lpthe.jussieu.fr>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: DPS Initial Ideas
Message-ID:  <17989.8202.624522.136573@bhuda.mired.org>
In-Reply-To: <20070512004209.GA12218@lpthe.jussieu.fr>
References:  <20070512004209.GA12218@lpthe.jussieu.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
In <20070512004209.GA12218@lpthe.jussieu.fr>, Michel Talon <talon@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@mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17989.8202.624522.136573>