This is the mail archive of the cygwin-patches 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] |
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 and -n/--no-newline. The former separates all paths output by cygpath with a null byte; the latter separates them with nothing at all. With -n, my example above works more smoothly and pastes don't include a newline.
Attachment:
cygpath-n0.patch
Description: Text document
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |