cvs commit: perlfaq perlfaq5.pod

[email protected]
Newsgroups perl.cvs.perlfaq
Message-ID <[email protected]>
cvsuser     02/02/11 11:30:21

  Modified:    .        perlfaq5.pod
  Log:
  remove some unix bias
  
  Revision  Changes    Path
  1.9       +7 -13     perlfaq/perlfaq5.pod
  
  Index: perlfaq5.pod
  ===================================================================
  RCS file: /home/perlcvs/perlfaq/perlfaq5.pod,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -w -r1.8 -r1.9
  --- perlfaq5.pod	28 Jan 2002 04:17:26 -0000	1.8
  +++ perlfaq5.pod	11 Feb 2002 19:30:21 -0000	1.9
  @@ -1,6 +1,6 @@
   =head1 NAME
   
  -perlfaq5 - Files and Formats ($Revision: 1.8 $, $Date: 2002/01/28 04:17:26 $)
  +perlfaq5 - Files and Formats ($Revision: 1.9 $, $Date: 2002/02/11 19:30:21 $)
   
   =head1 DESCRIPTION
   
  @@ -607,24 +607,18 @@
   
   =head2 How can I reliably rename a file?
   
  -Well, usually you just use Perl's rename() function.  That may not
  -work everywhere, though, particularly when renaming files across file systems.
  -Some sub-Unix systems have broken ports that corrupt the semantics of
  -rename()--for example, WinNT does this right, but Win95 and Win98
  -are broken.  (The last two parts are not surprising, but the first is. :-)
  -
  -If your operating system supports a proper mv(1) program or its moral
  +If your operating system supports a proper mv(1) utility or its functional
   equivalent, this works:
   
       rename($old, $new) or system("mv", $old, $new);
   
  -It may be more compelling to use the File::Copy module instead.  You
  -just copy to the new file to the new name (checking return values),
  -then delete the old one.  This isn't really the same semantically as a
  -real rename(), though, which preserves metainformation like
  +It may be more portable to use the File::Copy module instead.
  +You just copy to the new file to the new name (checking return
  +values), then delete the old one.  This isn't really the same
  +semantically as a rename(), which preserves meta-information like
   permissions, timestamps, inode info, etc.
   
  -Newer versions of File::Copy exports a move() function.
  +Newer versions of File::Copy export a move() function.
   
   =head2 How can I lock a file?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.