[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: preflight.sh: please review <VirusChecked>
From: |
Lars Sonchocky-Helldorf |
Subject: |
Re: preflight.sh: please review <VirusChecked> |
Date: |
Mon, 11 Mar 2002 22:15:58 +0100 |
> > From: "Lars Sonchocky-Helldorf"
<Lars.Sonchocky-Helldorf@bbdo-interone.de>
> > Date: Sun, 10 Mar 2002 02:46:53 +0100
> >
> > Hi everybody,
> >
> > looking forward the GNUstep article in the german C't magazine and the
> > echo it might have (lot's of newbees showing interest in GNUstep
> > hopefully) I decided to sit down and write (or better: compile) a
> > standalone script which checks your system for all the stuff required
by
> > GNUstep.
> >
> > [...]
> >
> > I called this script preflight.sh
>
> Very nice. Thanks.
>
>
> > Don't be afraid of the script. It doesn't write anything to your hard
> > disk.
>
> Why should we take your word? Plain wrong. It does write a lot of
> temporary files on my hard disk! If you lied in this second sentence,
> perhaps you lied on the first and we should be very afraid of it!
>
Bollocks! You even discovered my sinister plan to blow up the whole
GNUstep Community!
but seriously:
Yes, my fault. The script indeed writes some files (conftest.c several
times) to your hard disk (and deletes them afterwards). I'd better said:
the script leaves no files on your hard disk.man diff
I'd like everybody who can to check the script for bugs or misconceptions.
Shell script (or wathever this language is called) is not that
complicated, I infact had no much knowlegde of sh prior writing this
script. Well, sh is a little cryptic, but if I can understand it you
shurely will too.
If you are curious which parts I actually changed do a diff -b from the
various configure files (of make, base gui, xgps, xdps) to preflight.sh.
-b means "Ignore changes in amount of white space" and is there because I
reformated the whole script (for better reading).
>
>
> > Content-Type: text/html; name="preflight.sh.tgz"
> > Content-Disposition: attachment; filename="preflight.sh.tgz"
> > Content-Transfer-Encoding: quoted-printable
> >
> >
=1F=8B=08=00=00=00=00=00=00=03=EC\{W=1B9=B2=9F=7F=DD=9FB=D3x=C6=90=C16=AF$g=
> >
`=9C]=E2=90=84=BB=0481;=C9=9C=E5=8Eiw=CBv'=EDno=AB=1B=F0$|=F7[U=92=FA=E5=B6=
>
> Quoted-printable is not very nice. It transmits three bytes per byte
> (3/1) for all non printable bytes. It would be much better to transmit
> in base64 (8/5). This is not a text/html, so why do you specify a:
>
> Content-Type: text/html
>
> It would be better to specify:
>
> Content-Type: application/x-tar-gz"
>
>
> original size: 19936 Mar 10 06:26 preflight.sh.tar.gz
> base64 encoded: 26954 Mar 10 06:34 preflight.sh.tar.gz.mm
> quoted-printable encoded: 46280 Mar 10 06:25 preflight.sh.tar.gz.qp
>
This is my everybody annoying mailer: Lotus Notes (tataa, tataa,
Applause!). Not that I am using it because I like it. My employer forces
me to use it.
I can't do much about those attachement handling. If I create an
attachement I have only one option: A checkbox that says "compress". Since
I don't know which compression it applies and since I had some troubles
with this in the past, I never check it. So, as sadly this may sound,
please take my attachements as they are. I can't change anything about
them.
Greetings, Lars