delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/03/07/19:23:30

From: morph AT Softhome DOT net (Morph)
Subject: earnie's install script
7 Mar 1998 19:23:30 -0800 :
Message-ID: <006901bd47b4$466ee500$514fa698.cygnus.gnu-win32@jewell>
Mime-Version: 1.0
To: "Gnu-win32" <gnu-win32 AT cygnus DOT com>
Cc: <earnie AT hotmail DOT com>

This is a multi-part message in MIME format.

------=_NextPart_000_0063_01BD47B3.7A0C81C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi

I can't remember where I got the attached install script (probably from this
list), but I found I had problems getting it to run under bash in b19.
After a bit of fiddling about, I managed to get it working, so I've attached
it in case anyone finds it useful.

I don't (didn't) know much about the shell commands while and test, but is
it a bug if bash can't parse -

while test $# -gt 0 ;

I also found I had to remove the backslashes (\) at the end of  various
lines, as bash didn't like those either.  Anyone know why they would have
been there in the first place?

Morph

------=_NextPart_000_0063_01BD47B3.7A0C81C0
Content-Type: application/octet-stream;
	name="install"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="install"

IyEvYmluL2Jhc2gKIyBmaWxlOiBpbnN0YWxsCiMgYXV0aG9yOiBlYXJuaWUgZW1haWw6IEBob3Rt
YWlsLmNvbQojIGNoYW5nZWQgYnk6IE1vcnBoIGVtYWlsOiBAc29mdGhvbWUubmV0CiMgSW5zdGFs
bCBQcmVwcm9jZXNzb3IgZm9yIHRoZSBnbnUtd2luMzIgIm1ha2UgaW5zdGFsbCIgY29tbWFuZC4K
IyAKIyBUbyB1c2U6CiMgbXYgL2Jpbi9pbnN0YWxsLmV4ZSAvYmluL2dpbnN0YWxsCiMgY29weSB0
aGlzIGZpbGUgdG8gL2Jpbi9pbnN0YWxsCiMKIyBOb3RlOgojIE5vIHdhcnJhbnR5IGltcGxpY2l0
IG9yIGV4cGxpY2l0IGlzIGdpdmVuLgojIFlvdSBtYXkgY29weSwgZGlzdHJpYnV0ZSBhbmQgdXNl
IGFzIHlvdSBzZWUgZml0LgojIFVTRSBBVCBZT1UgT1dOIFJJU0suCiMKIyBjaGFuZ2VzIG1hZGUg
YnkgTW9ycGggc28gdGhhdCBpbnN0YWxsIHdvcmtzIHdpdGggY3lnd2luMzIgYjE5IG9uCiMgd2lu
ZG93czk1Cgp0c3RyPSIiCiMgZm9sbG93aW5nIGxpbmUgYWRkZWQgYnkgTW9ycGgKbm9hcmdzPSQj
CgojIGZvbGxvd2luZyBsaW5lICQjIHJlcGxhY2VkIHdpdGggJG5vYXJncyBieSBNb3JwaAp3aGls
ZSB0ZXN0ICRub2FyZ3MgLWd0IDAgOyAgCmRvIAplY2hvICdJbiB3aGlsZSBkbyBsb29wJyAKaWYg
dGVzdCAtZSAkMS5leGU7IAp0aGVuIAp0c3RyPSIkdHN0ciQxLmV4ZSAkMi5leGUiOyAKc2hpZnQ7
CiMgZm9sbG93aW5nIGxpbmUgYWRkZWQgYnkgTW9ycGgKbm9hcmdzPSQjOyAKZWxzZSAKdHN0cj0i
JHRzdHIkMSAiOyAKZmk7IApzaGlmdDsKIyBmb2xsb3dpbmcgbGluZSBhZGRlZCBieSBNb3JwaApu
b2FyZ3M9JCM7IApkb25lIAplY2hvICIvYmluL2dpbnN0YWxsICR0c3RyIiAKZXZhbCAiL2Jpbi9n
aW5zdGFsbCAkdHN0ciI7ICAKZXhpdAo=

------=_NextPart_000_0063_01BD47B3.7A0C81C0--

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019