home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / question / 10088 < prev    next >
Encoding:
Text File  |  1992-08-14  |  897 b   |  23 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!mips!sdd.hp.com!usc!sol.ctr.columbia.edu!destroyer!ubc-cs!unixg.ubc.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!iwsbarke
  3. From: iwsbarke@acs.ucalgary.ca (I W Scott Barker)
  4. Subject: why use eval?
  5. Sender: news@acs.ucalgary.ca (USENET News System)
  6. Message-ID: <92Aug14.195242.10973@acs.ucalgary.ca>
  7. Date: Fri, 14 Aug 92 19:52:42 GMT
  8. Nntp-Posting-Host: acs5.acs.ucalgary.ca
  9. Organization: The University of Calgary, Alberta, Canada
  10. X-Newsreader: Tin 1.1 PL5
  11. Lines: 10
  12.  
  13. What is the significance of using eval `[command]`? The man pages state that
  14. this runs the command [command] in the shell. Does not simply typing the
  15. command alone accomplish the same thing?
  16.  
  17. --
  18. Scott Barker
  19. barker@enel.ucalgary.ca
  20.  
  21. "Remember, wherever you go, there you are."
  22.    - Peter Weller, The Adventures of Buckaroo Banzai Across the 8th Dimension!
  23.