home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / shell / 5201 < prev    next >
Encoding:
Text File  |  1992-12-31  |  1.2 KB  |  29 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!umn.edu!csus.edu!netcom.com!gary
  3. From: gary@netcom.com (Gary Messenbrink)
  4. Subject: How do you determine what shell is in use from a program?
  5. Message-ID: <1992Dec31.062648.8508@netcom.com>
  6. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  7. Distribution: us
  8. Date: Thu, 31 Dec 1992 06:26:48 GMT
  9. Lines: 18
  10.  
  11. Hi,
  12. I need to determine the shell that would be used to execute
  13. a line that is produced from within a program.  An example is
  14.     eval 'some-program'
  15. where some-program returns a shell command to be executed.
  16. The program needs to know what shell will be used so it
  17. can generate a compatible command.  I hope this explanation
  18. is reasonable.  Please respond if possible via email to
  19. gary@netcom.com since I don't always get a chance to read
  20. this group.  I have looked through some of the FAQ's but
  21. haven't located anything on this subject.
  22.  
  23. Thanks in advance,
  24. Gary
  25. -- 
  26. ========================================================================
  27. |   Gary Messenbrink                 gary@netcom.com [192.100.81.100]  |
  28. ========================================================================
  29.