delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/03/18:20:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <42506C1C.4010704@iopan.gda.pl>
Date: Mon, 04 Apr 2005 00:20:12 +0200
From: Jacek Piskozub <piskozub AT iopan DOT gda DOT pl>
User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.7.7) Gecko/20050403
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: file times still not quite right with 1.5.14 on Windows 98

Hi,

OK. I try again using ">>" with the same file.


C:\Download\test>echo >> test.txt
C:\Download\test>ls -l test.txt
-rw-r--r--  1 piskozub mkgroup 14 Apr  4 00:14 test.txt
C:\Download\test>ls -l --time=ctime test.txt
-rw-r--r--  1 piskozub mkgroup 14 Apr  3 23:20 test.txt

The result is identical as with ">". Now time for bash:

C:\Download\test>bash
BASH-2.05b$ echo >> test.txt
BASH-2.05b$ ls -l
total 1
-rw-r--r--  1 piskozub mkgroup 16 Apr  4 00:14 test.txt
BASH-2.05b$ ls -l --time=ctime test.txt
-rw-r--r--  1 piskozub mkgroup 16 Apr  4 00:15 test.txt

Again, same as with ">".

So maybe it's not a problem with appending? At least in case of Windows ME.

Regards,

Jacek

-- 
"He will be succeeded, but he will never be replaced."
       Bishop Robert Brom of the Roman Catholic Diocese of San Diego



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019