This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Find: missing alphabetically last dirtree


> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
> Of Hannu E K Nevalainen (garbage mail)

> >                   "cygwin1.dll" v0.0 ts=2003/9/8 6:40
> >         DLL identifier: cygwin1      ================
> >         Shared id: cygwin1S3
>
>                                        ^^^^^^^^^^^^^^^^
> Hrm? Seems I were too eager on this?
> I'll check again tomorrow.


cmd.exe:
	C:\Program\Cygwin\home\Hannu>dir /s /b /a-d P: >MSDN1.dir
bash:
$ cygcheck -svr >c_svr-snap.txt
$ grep -i cygwin1 c_svr-snap.txt
  945k 2003/09/01 C:\Program\cygwin\bin\cygwin1-STD.dll - os=4.0 img=1.0
sys=4.0
                  "cygwin1.dll" v0.0 ts=2003/9/1 19:15
  948k 2003/09/11 C:\Program\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2003/9/11 5:01
        DLL identifier: cygwin1
        Shared id: cygwin1S3
$ find /cygdrive/p -type f >MSDN1
$ wc -l MSDN1
   1358 MSDN1
$ wc -l MSDN1.dir
   7915 MSDN1.dir

Looks as an improvement, but not yet all the way to "the holy graal".

$ cat MSDN1 | ( read line; while [ ! -z "$line" ]; \
do cygpath -w "$line"; read line; done) >MSDN1.find-w
$ sort MSDN1.dir >MSDN1.sort-dir
Administrator@P450 ~ bash (P)PID=(2000)2332, s=0
$ sort MSDN1.find-w >MSDN1.sort
$ diff -up MSDN1.sort MSDN1.sort-dir >MSDN1.diff-up
$ wc -l MSDN1.diff-up
   9276 MSDN1.diff-up
$ command ls -ln /cygdrive/p/
total 16450
dr-xr-xr-x    2 500      513             0 Nov 21  2002 IE60
-r-xr-xr-x    1 500      513       1707856 Oct 15  2001 InstMSIA.exe
-r-xr-xr-x    1 500      513       1821008 Sep 24  2001 InstMSIW.exe
dr-xr-xr-x    2 500      513             0 Nov 21  2002 NT4SP
dr-xr-xr-x    4 500      513             0 Nov 21  2002 Program Files
dr-xr-xr-x    4 500      513             0 Nov 21  2002 Samples
-r-xr-xr-x    1 500      513         45126 Sep 28  2002 autorun.exe
-r--r--r--    1 500      513            29 Oct 17  2001 autorun.inf
-r--r--r--    1 500      513      13181440 Nov 21  2002 msdn.msi
-r--r--r--    1 500      513          3584 Mar  1  2002 msdnadvt.mst
-r--r--r--    1 500      513         23245 Nov 16  2002 readme.htm
-r-xr-xr-x    1 500      513         57409 May 10  2002 setup.exe

After having examined the output of...

$ diff -y MSDN1.sort MSDN1.sort-dir | d2u | less

..I can see that the "Samples" dir is till not there.
Before the 2003-09-11-snapshot the "Program Files" also was excluded.

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E


   !     Sweden's Minister for Foreign Affairs
 --+--   Anna Lindh, 1957 - Sep 11, 2003 at 05:49
   !
   !     Stabbed at a shopping center in Stockholm,
   !     in the evening of Sep 10, 2003


 -> http://svt.se - Swedish public service TV

--END OF MESSAGE--


--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]