home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / shell / 3939 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  982 b 

  1. Path: sparky!uunet!mcsun!Germany.EU.net!rbiffm!math.uni-frankfurt.de!kurz
  2. From: kurz@math.uni-frankfurt.de (Volker Kurz)
  3. Newsgroups: comp.unix.shell
  4. Subject: Re: How to empty a file
  5. Message-ID: <4018@rbiffm.informatik.uni-frankfurt.de>
  6. Date: 14 Sep 92 13:43:19 GMT
  7. References: <BtLLps.But@cs.dal.ca> <1992Aug28.051548.16935@ddsw1.mcs.com> <ahn.714982174@ac> <1992Aug31.154104.14250@druid.uucp>
  8. Sender: news@rbiffm.informatik.uni-frankfurt.de
  9. Distribution: world
  10. Organization: University of Frankfurt/Main, Dept. of Mathematics
  11. Lines: 13
  12. Nntp-Posting-Host: gauss.math.uni-frankfurt.de
  13.  
  14. How about:
  15.  
  16.     $ cat /dev/null >logfile
  17.  
  18. On my system (rs6k/AIX) this doesn't seem to change the inode number.
  19. What more can you ask for?
  20.  
  21. --
  22.     Dr. Volker Kurz              |      J. W. Goethe-Universitaet
  23.     kurz@math.uni-frankfurt.de   |      Fachbereich Mathematik
  24.     Fax: ++49 (69) 798 8444      |      Postfach 11 19 32
  25.     (GERMANY)                    | D -- 6000 Frankfurt am Main 11
  26.  
  27.