Re: New modes for cygpath that terminate path with null byte, nothing

2012-07-27 Thread Christopher Faylor
On Fri, Jul 27, 2012 at 01:08:02AM -0700, Daniel Colascione wrote: >I wrote this patch because I often write this: > >$ cygpath -aw foo > /dev/clipboard > >Today, cygpath always appends a newline to the information in the >clipboard, which is annoying when trying to paste into a program that >inter

Re: New modes for cygpath that terminate path with null byte, nothing

2012-07-27 Thread Corinna Vinschen
Hi Daniel, On Jul 27 01:08, Daniel Colascione wrote: > I wrote this patch because I often write this: > > $ cygpath -aw foo > /dev/clipboard > > Today, cygpath always appends a newline to the information in the > clipboard, which is annoying when trying to paste into a program that > interprets

New modes for cygpath that terminate path with null byte, nothing

2012-07-27 Thread Daniel Colascione
I wrote this patch because I often write this: $ cygpath -aw foo > /dev/clipboard Today, cygpath always appends a newline to the information in the clipboard, which is annoying when trying to paste into a program that interprets newlines specially. This patch implements two new options: -0/--null