home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / next / sysadmin / 5123 < prev    next >
Encoding:
Internet Message Format  |  1992-09-10  |  1.8 KB

  1. Path: sparky!uunet!olivea!spool.mu.edu!wupost!gumby!destroyer!ubc-cs!unixg.ubc.ca!kakwa.ucs.ualberta.ca!news
  2. From: sherwood@fenris.space.ualberta.ca (Sherwood Botsford)
  3. Newsgroups: comp.sys.next.sysadmin
  4. Subject: Re: Vendors Considered Evil (Re: Perl use over NFS)
  5. Message-ID: <1992Sep11.000424.8941@kakwa.ucs.ualberta.ca>
  6. Date: 11 Sep 92 00:04:24 GMT
  7. References: <1992Sep1.231353.4388@news.eng.convex.com>
  8. Sender: news@kakwa.ucs.ualberta.ca
  9. Organization: University Of Alberta, Edmonton Canada
  10. Lines: 34
  11. Nntp-Posting-Host: fenris.space.ualberta.ca
  12.  
  13. Tom Christiansen <tchrist@convex.COM> writes
  14. > From the keyboard of jbotz@mtholyoke.edu (Jurgen Botz):
  15. > :>I'm not sure, though, that I would characterize this as  
  16. "*much*
  17. > :>easer".  It isn't that hard to edit a file or sed a  
  18. collection of
  19. > :>files.
  20. > :
  21. > :Especially since the Camel book (the standard Perl  
  22. reference) contains
  23. > :a nice little Perl program to fix all the #! lines of  
  24. scripts for your
  25. > :system.
  26. > Imagine a /common/scripts/ directory that's mounted on a  
  27. bunch
  28. > of different machines of varying architectures.  You'd  
  29. want the
  30. > #! line to match everywhere.
  31.  
  32. Right.  But the interpreter for each architecture had  
  33. better be in a different place or you will get an awful lot  
  34. of 'bad magic number' errors.
  35.  
  36. I follow Dave Ross's notion.  Perl goes in /usr/local/bin  
  37. which points to a different physical directory depending on  
  38. architecture.  /usr/local/scripts may well be common, may  
  39. be default on everyone's path, but again doesn't go in the  
  40. stuff the vendor distributes.  I've had too many cases  
  41. where the way to perform an upgrade is to reformat the hard  
  42. disk.  No thanks.  What I install is kept on a different  
  43. partition.  I've even started entending that notion to  
  44. putting the volitile files in /etc on another partition,  
  45. and replacing them with links.
  46.