This repo contains code inspired by the original source code from Joel 'Jaykul' Bennett's post on huddledmasses.org
ctrl-x.exe
is (almost) the same asclip.exe
(available in Windows) : paste piped text (and/or the parameters) to the clipboardctrl-c.exe
(missing in Windows) is same asctrl-x.exe
but also print to the standard output the piped textctrl-v.exe
(missing in Windows, except in PowerShell) paste the clipboard to the console
csc ctrl-x.cs
csc ctrl-c.cs
csc ctrl-v.cs
The C# compiler is available in the .Net Framework. For example for the version 3.5
its default path is C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe
If you use PowerShell this program will be probably useless for you as there are Get-Clipboard
and Set-Clipboard
that are more powerful than ctrl-v
and ctrl-x
.
If you need to use cmd
, GitBash
or some other shell, than it can be useful to have them.
paste
read and write lines, so there is always\n
at the end of the text, and all the line endings are Windows standardizedctrl-v
read the entire clipboard and write it as it is