From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <45219fb00605100139h6914bf05n@mail.gmail.com> Date: Wed, 10 May 2006 10:39:57 +0200 From: "=?ISO-8859-1?Q?Llu=EDs_Batlle?=" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] impressive In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2484_17777915.1147250397376" References: <13740.1147211763@piper.nectar.cs.cmu.edu> Topicbox-Message-UUID: 4fcc3d5e-ead1-11e9-9d60-3106f5b1d025 ------=_Part_2484_17777915.1147250397376 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline It helps a bit the fact that the 'configure' script usually hasn't any sh function definition; they're simply lots of instructions written and run in order. So, if a program stops at one point, whenever you find the point, yo= u know (easier than with code with function) which code lines were run and when. 2006/5/10, geoff@collyer.net : > > 5,000 lines is actually a rather small configure script. These are > the configure scripts I have lying around (just on Plan 9, I haven't > even looked at my Mac or OpenBSD firewall) that exceed 5,000 lines: > > 5520 /n/other/scr/src/gs/hpijs-1.5/configure > 5621 /sys/src/libdb/dist/configure > 5962 /sys/src/cmd/uucp.taylor/configure > 5962 /n/other/frommac/src/cmd/uucp/configure > 6722 /sys/src/cmd/links/configure > 6722 /n/other/scr/links/links.native/configure > 6722 /n/other/scr/links/links.varfont/configure > 7352 /n/other/scr/src/gs/jbig2dec/configure > 7751 /usr/geoff/src/cmd/unix/rc.byron/configure > 8000 /n/other/frommac/desk/gilmore/udftools-1.0.0b2/configure > 8250 /n/other/frommac/desk/src/flex/flex-2.5.31/configure > 9756 /n/other/scr/src/gs/configure > 11460 /n/other/frommac/desk/src/raid.evms/configure > 12676 /usr/geoff/src/cmd/grip/grip/configure > 13698 /n/other/scr/src/mp3enc.lame/configure > 16489 /usr/geoff/src/cmd/imagemagick/ltdl/configure > 16489 /n/other/dist/image.magick/im/ltdl/configure > 23719 /usr/geoff/src/cmd/imagemagick/configure > 23851 /n/other/frommac/src/cmd/bochs/configure > 25527 /n/other/dist/image.magick/im/configure > 25877 /n/other/scr/src/index/swishe/swish-e-2.4.2/configure > > Trying to debug a machine-generated 25,000-line script is really fun. > > ------=_Part_2484_17777915.1147250397376 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline It helps a bit the fact that the 'configure' script usually hasn't any sh function definition; they're simply lots of instructions written and run in order. So, if a program stops at one point, whenever you find the point, you know (easier than with code with function) which code lines were run and when.

2006/5/10,= geoff@collyer.net <geoff@collyer.net>:
5,000 lines is actually a rather small configure script.  These a= re
the configure scripts I have lying around (just on Plan 9, I haven't<= br>even looked at my Mac or OpenBSD firewall) that exceed 5,000 lines:
<= br>   5520 /n/other/scr/src/gs/hpijs- 1.5/configure
   5621 /sys/src/libdb/dist/configure
 &= nbsp; 5962 /sys/src/cmd/uucp.taylor/configure
   5962 /n/other= /frommac/src/cmd/uucp/configure
   6722 /sys/src/cmd/links/con= figure
   6722 /n/other/scr/links/links.native/configure
   6722 /n/other/scr/links/links.varfont/configure
 &= nbsp; 7352 /n/other/scr/src/gs/jbig2dec/configure
   7751 /usr= /geoff/src/cmd/unix/rc.byron/configure
   8000 /n/other/fromma= c/desk/gilmore/udftools-1.0.0b2/configure
   8250 /n/other/frommac/desk/src/flex/flex-2.5.31/configure<= br>   9756 /n/other/scr/src/gs/configure
  11460 /n/= other/frommac/desk/src/raid.evms/configure
  12676 /usr/geoff/= src/cmd/grip/grip/configure
  13698 /n/other/scr/src/mp3enc.la= me/configure
  16489 /usr/geoff/src/cmd/imagemagick/ltdl/configure
&nbs= p; 16489 /n/other/dist/image.magick/im/ltdl/configure
  2= 3719 /usr/geoff/src/cmd/imagemagick/configure
  23851 /n/other= /frommac/src/cmd/bochs/configure
  25527 /n/other/dist/image.magick/im/configure
  25= 877 /n/other/scr/src/index/swishe/swish-e-2.4.2/configure

Trying to = debug a machine-generated 25,000-line script is really fun.


------=_Part_2484_17777915.1147250397376--