Add option --in-place like in GNU sed
Brought to you by:
tjsa
C.f. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432121
From: "Trent Buck" <trentbuck@gmail.com>
Subject: --in-place switch
Date: Sun, 08 Jul 2007 04:00:16 +1000
Package: bbe
Version: 0.1.9-1
Severity: wishlist
GNU sed has the immensely useful --in-place switch:
sed -i -e x y
is roughly equivalent to
sed -e x y >y~ &&
mv y~ y
It would be convenient if bbe(1) had the same functionality.
It would also be very great if bbe could (optionally) perform block changes directly in source file, without creating temporary file first. At least for changes, which doesn't increase block's size.