Copy a whole text into clipboard
Posted: 10 Oct 2011 07:00
Hello,
I want to copy a whole text (with many lines) into clipboard.
I have succeeded to copy a 1-line text with the following batch:
This puts "my text" into the clipboard, the problem is I want a much longer text (a paragraph with many lines) to be copied to the clipboard, can you please help ?
Thank you in advance
I want to copy a whole text (with many lines) into clipboard.
I have succeeded to copy a 1-line text with the following batch:
Code: Select all
echo my text | clip
This puts "my text" into the clipboard, the problem is I want a much longer text (a paragraph with many lines) to be copied to the clipboard, can you please help ?
Thank you in advance