home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.24 / text0043.txt < prev    next >
Encoding:
Text File  |  1991-09-03  |  1.2 KB  |  27 lines

  1. Submitted-by: fred@mindcraft.com (Fred Zlotnick)
  2.  
  3. In article <1991Jul6.011750.8351@uunet.uu.net> karish@mindcraft.com (Chuck Karish) writes:
  4.     [All ommitted except comments of the moderator]
  5. >
  6. >[ .2 has some interest in directory layout... where are sed, cat, etc.
  7. >  in the filesystem?  Can a portable script (or program that uses system()
  8. >  really rely on the invoker not having a different utility of the same
  9. >  name in execution path?  Just a couple of thoughts -- mod ]
  10.  
  11. Dot 2 has considered this issue, and the related issue of having a shell
  12. function of the same name as the desired utility.  The "command" utility
  13. (which was proposed as a shell built-in in earlier drafts, but is a
  14. stand-alone utility in 1003.2 Draft 11) solves at least part of the problem,
  15. with no explicit knowledge of directory structure.  It relies on the
  16. existence of a path that is known to make all system utilities (i.e.
  17. all the utilities specified in Dot 2) accessible.  This path is not
  18. itself specified by Dot 2.
  19. -- 
  20. Fred Zlotnick                       |    #include <std.disclaimer>
  21. fred@mindcraft.com                  |    #include <brilliant.quote>
  22. ...!{decwrl,ames,hpda}!mindcrf!fred |
  23.  
  24.  
  25. Volume-Number: Volume 24, Number 44
  26.  
  27.