From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by sourceware.org (Postfix) with ESMTPS id 93A5E3858D39 for ; Wed, 19 Oct 2022 07:54:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 93A5E3858D39 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmx.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmx.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1666166048; bh=VMnhbv9+EKvnqbrZ6Hf54lnTZiWMtSqAC3XAwdj9nck=; h=X-UI-Sender-Class:Date:Subject:To:References:Reply-To:From: In-Reply-To; b=O/98WY1ciNao3006sEpiGoClbwCNLdz6L5guQ9/25XGvouziDqhD5XcUgj7fE84Ve aUynTQgx9OYwMcOinADTAS0QJDt0MAZnWSvInVjM1ilPfmzuiVOpFqHCeg0CEzZafr g9jurEjTJNRyWOhUi7wVvsSFp/SO59Fp9ix/PWBE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.15.119] ([88.97.26.74]) by mail.gmx.net (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MybGh-1p3QAn0jsL-00ywMz for ; Wed, 19 Oct 2022 09:54:08 +0200 Message-ID: Date: Wed, 19 Oct 2022 08:54:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: Re: substitute for xclip? Content-Language: en-GB To: cygwin@cygwin.com References: <20221019065805.GA17124@tik.uni-stuttgart.de> <8819f31f-3e53-001a-e16a-03ae500e2f70@gmx.com> Reply-To: cygwin@cygwin.com From: Sam Edge In-Reply-To: <8819f31f-3e53-001a-e16a-03ae500e2f70@gmx.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-print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cQzoNFjB9/CnyIPwphmj7Wm9ss 15ZrAZGxdzHXzthC0sha41cboCuuS3mtu0DdU0P/rje5erKO/WAPMJvfGvE/SlZRrzTvyuJVI DXnH9Rj+Faav4xJxEFp/IVV3KkdfmgAo2HQgw4n8opj5mjmi9K+GJ1PL1v2nr+r5SHPaWGzfh RwFKq5z5/dnbztt4vjcUwHHhjiChHF5iKZ2UeSqhmTtBj9xHNdeX2O3Tc3dYc9EGwAYV6TyTc 9TF1Ch4ZtPqPCNuKJGxnOsjlLjA1W60oA18t2s3v/KZjwCINDU66jL2a6VNK4GDCaAcRqqSqd /MjLTtjfiHeu5i0+0IHe6TVW23679SpGGCGbY6TGH6GQKVvsbramCeCR1iv0YY11oD655vgQu 8y5aArDTzJpxRDx0ntg4ubEbQfPFC1M3TPlQnb9dVOp7Q2/qkmc3irqcraGYgeyS7ozYPdRsr bczEAQBe9h8xbOk03MHgSXEITOigOqkk54n4qjfcroWDSyMjBvXcUgqyv1OsHoJmOwB4atF3U bdl9AGMDJguP923NDufCoLUEqcCmMqbJR4Ny8Y7rA3spIvlcIe1iPOJwOI8Hkhr/Ip/Bn8Nez SRdEMLzxW0RFY7b3JqTS6ND1gGNNVYeKtmVDS5Tz3ho7HJGHasxyOQkA0uTpoVUjcDhoBPkJp PR9oPPuIjYjjTkWwr5k4DsgachV3hfV3gOZJnelpme0pBan6YoGYfZwq0rQq4PVHVqtXcNkoR cu/u6C7Ws9GTSmJ73CdHHrRT5u8dg9sXUqP8rp5FkbQtW X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: H again. Or you can use:- #!/bin/bash shopt -s lastpipe powershell -command Get-Clipboard | mapfile array_variable for multiline. =2D- Sam Edge On 19/10/2022 08:44, Sam Edge wrote: > Hi there. > > In the absence of a Cygwin-native utility, how about? > > x=3D"$(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. >> >> >