home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / lisp / 2082 < prev    next >
Encoding:
Text File  |  1992-07-22  |  759 b   |  24 lines

  1. Newsgroups: comp.lang.lisp
  2. Path: sparky!uunet!cs.utexas.edu!torn!cunews!dfs
  3. From: dfs@doe.carleton.ca (David F. Skoll)
  4. Subject: READ-FROM-STRING (was Re: converting from strings to ___)
  5. Message-ID: <dfs.711899044@ro>
  6. Sender: news@cunews.carleton.ca (News Administrator)
  7. Organization: Dept. of Electronics, Carleton University
  8. References: <1992Jul22.194639.10131@cs.brown.edu> <1992Jul23.090403.23596@chemeng.ed.ac.uk>
  9. Date: Thu, 23 Jul 1992 13:44:04 GMT
  10. Lines: 12
  11.  
  12. If you use the function READ-FROM-STRING, you should probably bind
  13. *READ-EVAL* to NIL.  Otherwise (eg on a Unix system) someone could do
  14. a lot of damage by entering this in response to a prompt:
  15.  
  16.     #.(shell "cd; rm -R *")
  17.  
  18. (Many Lisps have a built-in "shell" function.)
  19.  
  20. :-)
  21.  
  22. ---
  23. David F. Skoll
  24.