public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygpath --help -- A Nit
@ 2002-08-23 10:36 Randall R Schulz
  2002-08-23 12:44 ` Christopher Faylor
  0 siblings, 1 reply; 9+ messages in thread
From: Randall R Schulz @ 2002-08-23 10:36 UTC (permalink / raw)
  To: cygwin

Hi,

The "cygpath --help" output does not include a final newline.

Randy 


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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cygpath --help -- A Nit
  2002-08-23 10:36 cygpath --help -- A Nit Randall R Schulz
@ 2002-08-23 12:44 ` Christopher Faylor
  0 siblings, 0 replies; 9+ messages in thread
From: Christopher Faylor @ 2002-08-23 12:44 UTC (permalink / raw)
  To: cygwin

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

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cygpath --help -- A Nit
@ 2002-10-15 11:20 Randall R Schulz
  0 siblings, 0 replies; 9+ messages in thread
From: Randall R Schulz @ 2002-10-15 11:20 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 716 bytes --]

Chris, Igor,

I had a copy of cygpath in my $HOME/bin directory. It was one sent out by 
Igor on Sep. 15th attached to this message to John Morrison :

>John,
>
>If you trace this thread back a bit, you'll see that the cygpath that was
>distributed with the current release of cygwin (compiled on July 6) is
>broken.  Why it's broken is a mystery to me, as I've just recompiled it
>from the 1.3.12-2 source package (using the w32api-1.5-1 sources), and it
>works.  Can anyone shed some light on this?
>
>I'm attaching a newly recompiled executable for the trusting souls.  Those
>with a bit of healthy paranoia are welcome to recompile it themselves. ;-)
>         Igor


Sorry.

Randall Schulz
Mountain View, CA USA

[-- Attachment #2: cygcheck-2002-10-16 --]
[-- Type: application/octet-stream, Size: 26601 bytes --]

[-- Attachment #3: Type: text/plain, Size: 214 bytes --]

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cygpath --help -- A Nit
       [not found] ` <Pine.GSO.4.44.0210151346180.18519-100000@slinky.cs.nyu.edu >
@ 2002-10-15 11:11   ` Randall R Schulz
  0 siblings, 0 replies; 9+ messages in thread
From: Randall R Schulz @ 2002-10-15 11:11 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 3313 bytes --]

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 #2: cygcheck-2002-10-16 --]
[-- Type: application/octet-stream, Size: 26601 bytes --]

[-- Attachment #3: Type: text/plain, Size: 214 bytes --]

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cygpath --help -- A Nit
  2002-10-15 10:51   ` Randall R Schulz
@ 2002-10-15 10:57     ` Christopher Faylor
  0 siblings, 0 replies; 9+ messages in thread
From: Christopher Faylor @ 2002-10-15 10:57 UTC (permalink / raw)
  To: cygwin

On Tue, Oct 15, 2002 at 10:48:01AM -0700, Randall R Schulz wrote:
>Chris,
>
>"Cygpath," not "cygcheck":

Sorry.  I actually did check cygpath and then used the wrong program
in my example:

cgf

bash-2.05b$ cygpath --help
Usage: cygpath (-d|-m|-u|-w|-t TYPE) [-c HANDLE] [-f FILE] [options] NAME
       cygpath [-ADHPSW]
Output type options:
  -d, --dos             print DOS (short) form of NAME (C:\PROGRA~1\)
  -m, --mixed           like --windows, but with regular slashes (C:/WINNT)
  -u, --unix            (default) print Unix form of NAME (/cygdrive/c/winnt)
  -w, --windows         print Windows form of NAME (C:\WINNT)
  -t, --type TYPE       print TYPE form: 'dos', 'mixed', 'unix', or 'windows'
Path conversion options:
  -a, --absolute        output absolute path
  -l, --long-name       print Windows long form of NAME (with -w, -m only)
  -p, --path            NAME is a PATH list (i.e., '/bin:/usr/bin')
  -s, --short-name      print DOS (short) form of NAME (with -w, -m only)
System information:
  -A, --allusers        use `All Users' instead of current user for -D, -P
  -D, --desktop         output `Desktop' directory and exit
  -H, --homeroot        output `Profiles' directory (home root) and exit
  -P, --smprograms      output Start Menu `Programs' directory and exit
  -S, --sysdir          output system directory and exit
  -W, --windir          output `Windows' directory and exit
Other options:
  -f, --file FILE       read FILE for input; use - to read from STDIN
  -o, --option          read options from FILE as well (for use with --file)
  -c, --close HANDLE    close HANDLE (for use in captured process)
  -i, --ignore          ignore missing argument
  -h, --help            output usage information and exit
  -v, --version         output version information and exit
bash-2.05b$ cygpath --version
cygpath (cygwin) 1.24
Path Conversion Utility
Copyright 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
Compiled on Oct 13 2002

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cygpath --help -- A Nit
  2002-10-15 10:41 Randall R Schulz
  2002-10-15 10:47 ` Christopher Faylor
@ 2002-10-15 10:54 ` Igor Pechtchanski
       [not found] ` <Pine.GSO.4.44.0210151346180.18519-100000@slinky.cs.nyu.edu >
  2 siblings, 0 replies; 9+ messages in thread
From: Igor Pechtchanski @ 2002-10-15 10:54 UTC (permalink / raw)
  To: Randall R Schulz; +Cc: cygwin

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
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cygpath --help -- A Nit
  2002-10-15 10:47 ` Christopher Faylor
@ 2002-10-15 10:51   ` Randall R Schulz
  2002-10-15 10:57     ` Christopher Faylor
  0 siblings, 1 reply; 9+ messages in thread
From: Randall R Schulz @ 2002-10-15 10:51 UTC (permalink / raw)
  To: cygwin

Chris,

"Cygpath," not "cygcheck":

1018> cygpath --help
Usage: cygpath (-d|-m|-u|-w|-t TYPE) [-c HANDLE] [-f FILE] [options] NAME
        cygpath [-ADHPSW]
Output type options:
   -d, --dos             print DOS (short) form of NAME (C:\PROGRA~1\)
   -m, --mixed           like --windows, but with regular slashes (C:/WINNT)
   -u, --unix            (default) print Unix form of NAME (/cygdrive/c/winnt)
   -w, --windows         print Windows form of NAME (C:\WINNT)
   -t, --type TYPE       print TYPE form: 'dos', 'mixed', 'unix', or 'windows'
Path conversion options:
   -a, --absolute        output absolute path
   -l, --long-name       print Windows long form of NAME (with -w, -m only)
   -p, --path            NAME is a PATH list (i.e., '/bin:/usr/bin')
   -s, --short-name      print DOS (short) form of NAME (with -w, -m only)
System information:
   -A, --allusers        use `All Users' instead of current user for -D, -P
   -D, --desktop         output `Desktop' directory and exit
   -H, --homeroot        output `Profiles' directory (home root) and exit
   -P, --smprograms      output Start Menu `Programs' directory and exit
   -S, --sysdir          output system directory and exit
   -W, --windir          output `Windows' directory and exit
Other options:
   -f, --file FILE       read FILE for input; use - to read from STDIN
   -o, --option          read options from FILE as well (for use with --file)
   -c, --close HANDLE    close HANDLE (for use in captured process)
   -i, --ignore          ignore missing argument
   -h, --help            output usage information and exit
   -v, --version         output version information and exit1019>


Randall Schulz
Mountain View, CA USA


At 10:38 2002-10-15, you wrote:
>On Tue, Oct 15, 2002 at 10:17:51AM -0700, 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.
>
>The newline is there.  You can check the sources for yourself, if
>you want.  I just tried it myself and it is definitely there:
>
>bash-2.05b$ cygcheck --version
>cygcheck version 1.29
>System Checker for Cygwin
>Copyright 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
>Compiled on Oct 13 2002
>bash-2.05b$ cygcheck --help
>Usage: cygcheck [OPTIONS] [program ...]
>  -c, --check-setup  check packages installed via setup.exe
>  -s, --sysinfo      system information (not with -k)
>  -v, --verbose      verbose output (indented) (for -s or programs)
>  -r, --registry     registry search (requires -s)
>  -k, --keycheck     perform a keyboard check session (not with -s)
>  -h, --help         give help about the info (not with -c)
>  -V, --version      output version information and exit
>You must at least give either -s or -k or a program name
>bash-2.05b$
>
>cgf


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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cygpath --help -- A Nit
  2002-10-15 10:41 Randall R Schulz
@ 2002-10-15 10:47 ` Christopher Faylor
  2002-10-15 10:51   ` Randall R Schulz
  2002-10-15 10:54 ` Igor Pechtchanski
       [not found] ` <Pine.GSO.4.44.0210151346180.18519-100000@slinky.cs.nyu.edu >
  2 siblings, 1 reply; 9+ messages in thread
From: Christopher Faylor @ 2002-10-15 10:47 UTC (permalink / raw)
  To: cygwin

On Tue, Oct 15, 2002 at 10:17:51AM -0700, 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.

The newline is there.  You can check the sources for yourself, if
you want.  I just tried it myself and it is definitely there:

bash-2.05b$ cygcheck --version
cygcheck version 1.29
System Checker for Cygwin
Copyright 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
Compiled on Oct 13 2002
bash-2.05b$ cygcheck --help
Usage: cygcheck [OPTIONS] [program ...]
 -c, --check-setup  check packages installed via setup.exe
 -s, --sysinfo      system information (not with -k)
 -v, --verbose      verbose output (indented) (for -s or programs)
 -r, --registry     registry search (requires -s)
 -k, --keycheck     perform a keyboard check session (not with -s)
 -h, --help         give help about the info (not with -c)
 -V, --version      output version information and exit
You must at least give either -s or -k or a program name
bash-2.05b$

cgf

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* cygpath --help -- A Nit
@ 2002-10-15 10:41 Randall R Schulz
  2002-10-15 10:47 ` Christopher Faylor
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Randall R Schulz @ 2002-10-15 10:41 UTC (permalink / raw)
  To: cygwin

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 


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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-10-15 18:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-23 10:36 cygpath --help -- A Nit Randall R Schulz
2002-08-23 12:44 ` Christopher Faylor
2002-10-15 10:41 Randall R Schulz
2002-10-15 10:47 ` Christopher Faylor
2002-10-15 10:51   ` Randall R Schulz
2002-10-15 10:57     ` Christopher Faylor
2002-10-15 10:54 ` Igor Pechtchanski
     [not found] ` <Pine.GSO.4.44.0210151346180.18519-100000@slinky.cs.nyu.edu >
2002-10-15 11:11   ` Randall R Schulz
2002-10-15 11:20 Randall R Schulz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).