home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6544 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  1.0 KB

  1. Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!laakkone
  2. From: laakkone@klaava.Helsinki.FI (Tero Laakkonen)
  3. Newsgroups: comp.os.linux
  4. Subject: tlA: /bin/arch solved.
  5. Message-ID: <1992Jul23.170723.15247@klaava.Helsinki.FI>
  6. Date: 23 Jul 92 17:07:23 GMT
  7. Organization: University of Helsinki
  8. Lines: 24
  9.  
  10. thanks to everybody who e-mailed me about my /bin/arch problem. i
  11. thought it was a rather dumb question when i sent it to c.o.l., 
  12. because it is so easy to write a script to "echo i386"...
  13.  
  14. so, i want to apologise for my dumb question.
  15.  
  16. nevertheless, i thought that "echoing stuff" like that isn't a very
  17. satisfactory way of doing things (even for "hackers"). 
  18. so i just wanted some better opinions.
  19.  
  20. and i got one. somebody pointed out to me that "/usr/bin/uname -m"
  21. does exactly the same as /bin/arch does...
  22.  
  23. so here's my /bin/arch for linux:
  24.  
  25. ---cut here------cut here------cut here------cut here------cut here---
  26. # !/bin/sh
  27. /usr/bin/uname -m
  28. ---cut here------cut here------cut here------cut here------cut here---
  29.  
  30. ";-)"
  31.  
  32. -tero
  33.  
  34.