Mail Archives: cygwin/2005/02/22/10:42:58
------=_NextPart_000_0029_01C518F5.279382C0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
----Original Message----
>From: cygwin-owner On Behalf Of Raul Miller
>Sent: 21 February 2005 23:58
> On Sun, Feb 20, 2005 at 03:21:35PM -0500, I wrote:
>> My mistake. Sorry.
>
> On second thought:
>
> Both the man page and the usage information on cygpath indicate
> that it only accepts a single file name argument. These should
> probably be updated.
A fair point. Attached :)
Hmm. Anyone out there know about utils.sgml better than me? I have two
questions:
1) Does it matter that the usage line is now longer than 80 chars?
2) What's with the CDATA section ?
<example><title>Example <command>cygpath</command> usage</title>
<screen>
<![CDATA[
#!/bin/sh
if [ "${1}" = "" ];
then
XPATH=".";
else
XPATH="$(cygpath -w "${1}")";
fi
explorer $XPATH &
]]>
</screen>
</example>
When I look at the generated manpage in info or man, the opening <![CDATA[
tag is displayed, but the closing ]]> tag has disapperared. I think it's
probably not meant to be this way?
cheers,
DaveK
--
Can't think of a witty .sigline today....
------=_NextPart_000_0029_01C518F5.279382C0
Content-Type: application/octet-stream;
name="cygpath-usage-patch.diff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="cygpath-usage-patch.diff"
? cygpath-usage-patch.diff
Index: cygpath.cc
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvs/src/src/winsup/utils/cygpath.cc,v
retrieving revision 1.36
diff -p -u -r1.36 cygpath.cc
--- cygpath.cc 15 Mar 2004 21:34:12 -0000 1.36
+++ cygpath.cc 22 Feb 2005 12:36:25 -0000
@@ -65,7 +65,7 @@ usage (FILE * stream, int status)
{
if (!ignore_flag || !status)
fprintf (stream, "\
-Usage: %s (-d|-m|-u|-w|-t TYPE) [-c HANDLE] [-f FILE] [options] NAME\n\
+Usage: %s (-d|-m|-u|-w|-t TYPE) [-c HANDLE] [-f FILE] [options] NAME [NAME=
...]\n\
%s [-ADHPSW] \n\
Convert Unix and Windows format paths, or output system path information\n\
\n\
Index: utils.sgml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvs/src/src/winsup/utils/utils.sgml,v
retrieving revision 1.50
diff -p -u -r1.50 utils.sgml
--- utils.sgml 24 Dec 2004 21:58:38 -0000 1.50
+++ utils.sgml 22 Feb 2005 12:36:25 -0000
@@ -112,7 +112,7 @@ for example:</para>
<sect2 id=3D"cygpath"><title>cygpath</title>
=20
<screen>
-Usage: cygpath (-d|-m|-u|-w|-t TYPE) [-c HANDLE] [-f FILE] [options] NAME
+Usage: cygpath (-d|-m|-u|-w|-t TYPE) [-c HANDLE] [-f FILE] [options] NAME =
[NAME ...]
cygpath [-ADHPSW]=20
Convert Unix and Windows format paths, or output system path information
=20
------=_NextPart_000_0029_01C518F5.279382C0
Content-Type: text/plain; charset=us-ascii
--
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/
------=_NextPart_000_0029_01C518F5.279382C0--
- Raw text -