A Ruby script to merge lines from clipboard on Windows.
This is a simple Ruby script used to merge lines in text from clipboard on Windows (Windows 7 above). It uses Gem:win32-clipboard to interacte with the MS Windows clipboard. It's useful when you copy something from a PDF file into other editors.
It can also delete excess space between words.What's more, thanks to Gem:auto-correct, it can also add space between English word and Chinese word automatically and correct some proper noun's case.
- git clone
- bundle install
- copy text you need
- run
ruby clipboard_merger.rb
- now you get want you want in your clipboard
- just paste