ClipRead
-======-
A CLI program to display the text in any clipboard unit.
Usage: ClipRead [U=UNIT <n>] [LF=LFATEND]
- UNIT <n> - Where <n> is the clipboard unit (0-255) to read.
Defaults to PRIMARY_CLIP (currently 0).
- LFATEND - Supply a linefeed ($0A) if the string doesn't end with
one. By default, the string is printed exactly as it
exists in the clipboard (i.e. it may or may not end
with a linefeed).
ClipWrite
-=======-
A CLI program to write text to any clipboard unit.
Usage: ClipWrite [U=UNIT <n>] [NP=NOPARSE] [TEXT] <text>
- UNIT <n> - Where <n> is the clipboard unit (0-255) to write to.
Defaults to PRIMARY_CLIP (currently 0).
- NOPARSE - Ignore any format commands (see below) in the text.
- <text> - The text to store in the clipboard. The text may contain
special format commands, which begin with a backslash ("\"),
listed below.
- Text format commands:
\t A tab (ASCII 9).
\n A linefeed (LF) (ASCII 10).
\r A carriage return (CR) (ACSII 13).
\e An ESC (ASCII 27).
\q A quote mark: " (ASCII 34).
\\ A backslash: \ (ASCII 92).
\#<n> Where <n> is the number (0-255) of an ASCII character to
insert.
Examples: \#169 The copyright character: ©.
\#$A9 Still the copyright character, only this
time we specified it using a hex number.
\#%10101001 Yep, copyright again in binary.
|