This is the mail archive of the cygwin 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 -m (and -w) sometimes emits multi-line names


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

Attachment: cygpath-usage-patch.diff
Description: Binary data

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