cygpath -m (and -w) sometimes emits multi-line names

Dave Korn dave.korn@artimi.com
Tue Feb 22 21:57:00 GMT 2005


----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....
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygpath-usage-patch.diff
Type: application/octet-stream
Size: 1320 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050222/2b8b454a/attachment.obj>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list