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

2005-02-23 Thread Joshua Daniel Franklin
On Tue, 22 Feb 2005 15:42:45 -, Dave Korn wrote: Original Message From: cygwin-owner On Behalf Of Raul Miller 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.

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

2005-02-23 Thread Dave Korn
Original Message From: cygwin-owner On Behalf Of Joshua Daniel Franklin Sent: 23 February 2005 14:25 2) What's with the CDATA section ? A CDATA section is for enclosing text that might otherwise be interpreted Yeh, I knew that! I meant How come it appears in the man page?

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

2005-02-22 Thread Dave Korn
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

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

2005-02-21 Thread Raul Miller
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. Expecting behavior similar to windows' cd is plausible

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

2005-02-20 Thread Raul Miller
Manipluating the result of cygpath -m with shell tools is needlessly difficult. $ pwd /cygdrive/c/Program Files/Mozilla Firefox/defaults/profile $ cygpath -m `pwd`/bookmarks.htm | sed 's} }%20}g; s}^}file:///}' file:///c:/Program file:///Files/Mozilla

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

2005-02-20 Thread Larry Hall
At 02:17 PM 2/20/2005, you wrote: Manipluating the result of cygpath -m with shell tools is needlessly difficult. $ pwd /cygdrive/c/Program Files/Mozilla Firefox/defaults/profile $ cygpath -m `pwd`/bookmarks.htm | sed 's} }%20}g; s}^}file:///}' file:///c:/Program file:///Files/Mozilla

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

2005-02-20 Thread Dave Korn
-Original Message- From: cygwin-owner On Behalf Of Raul Miller Sent: 20 February 2005 19:17 Manipluating the result of cygpath -m with shell tools is needlessly difficult. $ pwd /cygdrive/c/Program Files/Mozilla Firefox/defaults/profile $ cygpath -m `pwd`/bookmarks.htm | sed 's}

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

2005-02-20 Thread Dave Korn
-Original Message- From: cygwin-owner On Behalf Of Dave Korn Sent: 20 February 2005 20:02 ? OK, then, so what kind of output would you expect from the command D'oh. Modulo line-wrapping by my mailer, of course, though at least it serves to nicely highlight the presence of spaces

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

2005-02-20 Thread Raul Miller
On Sun, Feb 20, 2005 at 02:52:47PM -0500, Larry Hall wrote: cygpath -m `pwd`/bookmarks.htm | sed 's} }%20}g; s}^}file:///}' Doh. My mistake. Sorry. Too bad I can't retract my post. Thanks, -- Raul -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: