On Thu, 9 Oct 1997, Will Lowe wrote:
> On Wed, 8 Oct 1997, Marcus Brinkmann wrote:
> > IIRC, you have first to upgrade xlib6 to a new version (3.3-6 e.g), and then
> > you can installing the new xlib6g (for libc6).
> > It will break a few of your x programs (e.g. fvwm2 and its modules), so you
> > will want to run a script on them more than once published on debian-user
> > and/or debian-devel.
> searching through the mail archives, I found this
> #!/bin/sed -f
> and I put it in a script called "fixit" -- then if I run
> fixit /usr/lib/netscape/netscape
> fixit /usr/X11R6/bin/fvwm95-2
> I get "sed -- bad argument to s".
This is a perl script, originally posted on debian-devel by Philippe
Troin. It does work for me.
Note: You should get one and only one replacement, otherwise it
indicates something's gone wrong.
--- begin script ---
# Open file
open IN, "$ARGV" or die "can't find $ARGV: $!";
# Read it in one slurp
# Remove this string
print "Replaced: $count occurences in $ARGV\n";
# Write the file
open OUT, ">$ARGV.out" or die "can't write $ARGV.out: $!";
print OUT $file;
--- end script ---
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .