home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / misc / 3306 < prev    next >
Encoding:
Text File  |  1992-08-20  |  2.1 KB  |  53 lines

  1. Xref: sparky comp.unix.misc:3306 alt.religion.computers:487
  2. Newsgroups: comp.unix.misc,alt.religion.computers
  3. Path: sparky!uunet!gatech!destroyer!ncar!news.miami.edu!cybernet!pineal.sci.fau.edu!spc
  4. From: spc@pineal.sci.fau.edu (Sean 'Captain Napalm' Conner)
  5. Subject: Re: The need for an assembler (was: Favorite CPU)
  6. Message-ID: <1992Aug20.182825.20401@cybernet.cse.fau.edu>
  7. Sender: news@cybernet.cse.fau.edu
  8. Organization: Florida Atlantic University, but who cares?
  9. References: <id.2PCS._X2@ferranti.com> <1992Aug17.185447.2408@cybernet.cse.fau.edu> <1992Aug19.103347.733@acme.gen.nz>
  10. Date: Thu, 20 Aug 1992 18:28:25 GMT
  11. Lines: 40
  12.  
  13. In article <1992Aug19.103347.733@acme.gen.nz> kilroy@acme.gen.nz (earthbound misfit, I) writes:
  14. >spc@pineal.sci.fau.edu (Sean 'Captain Napalm' Conner) writes:
  15. >
  16. >> peter@ferranti.com (Peter da Silva) writes:
  17. >>
  18. >> >spc@pineal.sci.fau.edu (Sean 'Captain Napalm' Conner) writes:
  19. >> >>   -spc (Unix philosophy:
  20. >> >>     1. Write cryptic and highly customizable code.
  21. >> >
  22. >> >Write simple code. Write small modules that hang together well. Write your
  23. >> >code as generically as possible... one day you'll have to port it.
  24. >>
  25. >>   And find is simple?  dd is small?  Gee, I'd like to have your Unix system
  26. >> at work 8-) 8-) (add many many more if needed)
  27. >
  28. >All find does is apply a series of tests to all files in a given directory
  29. >branch. And you even have to specify those tests as *whole words*. Sounds
  30. >pretty simple to me.
  31. >
  32.   Yes, but it flies in the face of the syntax MOST Unix commands use by using
  33. full words as apposed to cryptic case-sensitive single letters 8-).  That really
  34. threw me the first time I had to use it.
  35.  
  36. >As for dd:
  37. >
  38. >    $ ls -l /bin/dd
  39. >    -r-x--x--x  1 bin       bin            9676 Wed Aug  5 20:41 /bin/dd
  40. >    $ 
  41. >
  42. >10k sounds small enough to me.
  43. >
  44.   Ah, but for what system?  On my SGI system (MIPS R3000 CPU) it's 20528 in size.
  45. Not that bad for this system (where a simple #include <stdio.h> main(){printf("hello world\n");}
  46. compiles to about 40K in size (using cc -o hello hello.c).
  47.  
  48.   (Of course, if I use cc -O3 -o hello hello.c -lc_s -s, then it drops down to about 8K 8-)
  49.  
  50.   -spc (Anyone want a 168 byte Unix EXECUTABLE file? 8-)
  51.  
  52.  
  53.