Clip is a command line text cut and paste program.
Dip takes the contents of the clipboard, runs it through a specified argument and returns the output back to the clipboard all in one go.
These are both pretty unpolished. I use them under Cygwin on Windows, so they may have goofy path/dll issues if used elsewhere. Moreover, I almost only use dip with no so it may additionally have issues with escape keys or piping or who knows what else.
To put text on the clipboard... > cat myfile.txt | clip To output the clipboard to stdout... > clip > clip | blahblah > clip > output.txt ... etc To take the clipboard, run it through a program, and drop it back on the clipboard > echo MoooOoooOOooo.... MoooOoooOOooo.... > echo MoooOoooOOooo.... | clip > dip no > clip no MoooOoooOOooo....
Listing directory https://download.elifulkerson.com/files/clip-and-dip/0.1: clip-and-dip-src.zip June 08 2018 22:55:24 21615 Zip archive data, at least v2.0 to extract clip-and-dip-src.zip.asc June 08 2018 22:56:22 801 GnuPG signature clip-and-dip-src.zip.md5 June 08 2018 22:56:22 55 MD5 checksum clip-and-dip-src.zip.sha1 June 08 2018 22:56:22 63 SHA1 checksum clip-and-dip-src.zip.sha256 June 08 2018 22:56:22 87 SHA256 checksum clip-and-dip-src.zip.sha512 June 08 2018 22:56:22 151 SHA512 checksum clip.exe June 08 2018 22:53:15 13824 PE32 executable (console) Intel 80386 Mono/.Net assembly, for MS Windows clip.exe.asc June 08 2018 22:56:04 801 GnuPG signature clip.exe.md5 June 08 2018 22:56:04 43 MD5 checksum clip.exe.sha1 June 08 2018 22:56:04 51 SHA1 checksum clip.exe.sha256 June 08 2018 22:56:04 75 SHA256 checksum clip.exe.sha512 June 08 2018 22:56:04 139 SHA512 checksum dip.exe June 08 2018 22:53:15 5632 PE32 executable (console) Intel 80386 Mono/.Net assembly, for MS Windows dip.exe.asc June 08 2018 22:56:13 801 GnuPG signature dip.exe.md5 June 08 2018 22:56:13 42 MD5 checksum dip.exe.sha1 June 08 2018 22:56:13 50 SHA1 checksum dip.exe.sha256 June 08 2018 22:56:13 74 SHA256 checksum dip.exe.sha512 June 08 2018 22:56:13 138 SHA512 checksum ↩ Browse the download server