Re: version 0.8 of libc5 to libc6 auto-upgrade script
On Tue, 13 Jan 1998, Craig Sanders wrote:
> > You've done a great job rewriting the script. I just didn't have time
> > + was too lazy to do it :)
>
> laziness is a virtue. read perl's camel book to find out why :-)
btw, the script is proof that you can do perlish things in sh & sed
(after all, sed existed for a long time before perl appeared). it's just
harder and slower and uglier to read.
also btw, the PKGS_ variables could have been done as a bash array
variable (which would have simplified the script considerably (and made
it easier to add extra packages which needed to be installed/upgraded)
but at the high price of reducing the readability of the script.
i think it's important for a moderately skilled user to be able to read
the script and figure out what it's going to do before they run it.
craig
--
craig sanders
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: