public inbox for
 help / color / mirror / Atom feed
From: Sam Edge <>
Subject: Re: substitute for xclip?
Date: Wed, 19 Oct 2022 08:44:50 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Hi there.

In the absence of a Cygwin-native utility, how about?

x="$(powershell -command Get-Clipboard)"

You can pipe to the Windows 'clip' utility to go the other way or use
'powershell -command Set-Clipboard'.

But I agree, a Cygwin utility would be nice, unless there already is one?

Sam Edge

On 19/10/2022 07:58, Ulli Horlacher wrote:
> With Linux I am using xclip to read the X11 clipboard.
> Is there a cygwin equivalent to read the Windows clipboard?
> My use case is:
> The user copies file names to the clipboard and then starts a program
> which processes these files.

  reply	other threads:[~2022-10-19  7:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-19  6:58 Ulli Horlacher
2022-10-19  7:44 ` Sam Edge [this message]
2022-10-19  7:54   ` Sam Edge
2022-10-19  9:01 ` Backwoods BC
2022-10-19 11:56   ` Sam Edge
2022-10-19 12:58   ` Ulli Horlacher
2022-10-19 22:52     ` Oliver Schoede
2022-10-20  7:27       ` Sam Edge
2022-10-20  8:12         ` Backwoods BC
2022-10-20  3:23   ` Thomas Wolff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).