home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / sgi / 18436 < prev    next >
Encoding:
Internet Message Format  |  1993-01-03  |  1014 b 

  1. Path: sparky!uunet!stanford.edu!rutgers!cmcl2!adm!news
  2. From: karron@karron.med.nyu.edu (Dan Karron (karron@nyu.edu))
  3. Newsgroups: comp.sys.sgi
  4. Subject: sh/csh/tcsh and TMPDIR
  5. Message-ID: <34854@adm.brl.mil>
  6. Date: 3 Jan 93 23:08:21 GMT
  7. Sender: news@adm.brl.mil
  8. Lines: 26
  9.  
  10.  
  11. How can I get the various shell commands to respect the value
  12. in TMPDIR ?
  13.  
  14. sh keeps clogging up /tmp/ with
  15. sh$PID temp files.
  16.  
  17. I prefer to use a private temp disk.
  18.  
  19. I have some scripts that sweep out the tmp dir's.
  20.  
  21. It would be nicer if sh <<heredoc
  22. theredoc
  23. heredoc
  24.  
  25. would put tmp files where I would expect it.
  26.  
  27. What about the tmpname (spelling?) system call ?
  28. Cheers!
  29.  
  30. Dan.
  31. | karron@nyu.edu (e-mail alias )         Dan Karron, Ph.D.,Research Associate|
  32. | Phone: 212 263 5210 Fax: 212 263 7190  New York University Medical Center  |
  33. | 560 First Avenue                       Digital Pager  <1>  212 397 9330    |
  34. | New York, New York 10016               <2> 10896   <3> <your-number-here>  |
  35. ``ALMOST Done writing, back to doing it again!.''
  36.