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: cygpath --help -- A Nit


Igor,

1021> cygpath --help | tail -1 | od -t x1 -c
0000000 20 20 2d 76 2c 20 2d 2d 76 65 72 73 69 6f 6e 09
- v , - - v e r s i o n \t
0000020 09 6f 75 74 70 75 74 20 76 65 72 73 69 6f 6e 20
\t o u t p u t v e r s i o n
0000040 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 61 6e 64 20
i n f o r m a t i o n a n d
0000060 65 78 69 74
e x i t
0000064


1022> cygpath --version
cygpath (cygwin) 1.21
Path Conversion Utility
Copyright 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
Compiled on Sep 15 20021023>

(Yeah, the newline is missing there, too)


1023> uname -a
CYGWIN_NT-5.0 CLEMENS 1.3.13(0.62/3/2) 2002-10-13 23:15 i686 unknown


I waited for Cygwin 1.3.13-2 to appear on my mirror yesterday and then installed it. I just re-ran Setup.exe and confirmed that my installation is up-to-date, at least w.r.t. to the packages available at "mirror.mcs.anl.gov".

Cygcheck -s -v output is attached.

According to the package search utility at <http://cygwin.com/packages/>, "cygpath" is a part of the "cygwin" package.

I wonder why I don't have the latest "cygpath?" (Igor has 1.24, I have 1.21) It's also curious that Chris reported that he checked in the fix the same day I reported the problem (August 23rd) and the compile date reported by the "cygpath" on my system is Sep. 15, so why doesn't it include the fix?

Could this be an example of there being a program duplicated in multiple packages?

Randall Schulz
Mountain View, CA USA


At 10:48 2002-10-15, you wrote:
On Tue, 15 Oct 2002, Randall R Schulz wrote:

> Hello, Chris,
>
> Back in August, I sent this message:
>
> -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
> Hi,
>
> The "cygpath --help" output does not include a final newline.
> -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
>
>
> To which you (Chris) replied:
>
> -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
> On Fri, Aug 23, 2002 at 07:59:37AM -0700, Randall R Schulz wrote:
>  >The "cygpath --help" output does not include a final newline.
>
> You're right.  I've checked in a fix.  Thanks for the heads up.
>
> cgf
> -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
>
>
> I was expecting the 1.13 release of Cygwin to include the fix you
> mentioned, but the output is still missing that final newline. Of course,
> this is no big deal, but I thought I'd remind you.
>
> Randall Schulz
> Mountain View, CA USA

Randy,

Works for me:
[pechtcha:~] cygpath --help | tail -1 | od -t x1 -c
0000000 20 20 2d 76 2c 20 2d 2d 76 65 72 73 69 6f 6e 09
                  -   v   ,       -   -   v   e   r   s   i   o   n  \t
0000020 09 6f 75 74 70 75 74 20 76 65 72 73 69 6f 6e 20
         \t   o   u   t   p   u   t       v   e   r   s   i   o   n
0000040 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 61 6e 64 20
          i   n   f   o   r   m   a   t   i   o   n       a   n   d
0000060 65 78 69 74 0a
          e   x   i   t  \n
0000065
[pechtcha:~] cygpath --version
cygpath (cygwin) 1.24
Path Conversion Utility
Copyright 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
Compiled on Oct 13 2002
[pechtcha:~]

        Igor

Attachment: cygcheck-2002-10-16
Description: Binary data

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]