Le dimanche 14 mai 2006 à 08:58 -0500, John Goerzen a écrit :
> On Sun, May 14, 2006 at 01:29:12PM +0200, Jerome Warnier wrote:
> > I don't like to have to install unneeded packages on my system.
> > To build the Bacula Debian packages, ssed is used, but I don't quite
> > understand why not use GNU sed instead.
> 
> Hi Jerome,
> 
> I did not realize that GNU sed supports inplace editing (-i).
> According to its documentation, it does now.  I will test, and if it
> works, I will make this change.
Yes, it supports it for a long time.
Theorically, you should probably put a versioned dependency on sed
(which is essential, BTW) to insure a version recent enough to support
it (Sarge's one is yet, so I guess this is not really needed).
If it's not in the doc, it probably deserves a bugreport.

> If it does not work, I will not make the change, since the logic in
> the rules file is much simpler with in-place editing as opposed to
> having to write a for loop with output to temporary files.
It will work, I use it (-i) really often, for a long time.

> Thanks,
> 
> -- John
-- 
Jérôme Warnier
FLOSS Consultant
http://beeznest.net


Reply via email to