Skip to content

giosil/copytext

Repository files navigation

copytext

Command line tool to copy text to clipboard.

Build

  • git clone https://github.com/giosil/copytext.git
  • gcc copytext.c -o copytext

Options available

-h: help;
-l: lowercase;
-u: uppercase;
-c: capitalize;
-r: reverse;
-q: quote;
-n: extract numbers;
-e: environment variable;
-f: read file;
-s: save to file copytext.txt;
-d: append date;
-t: append time;
-v: extract value from key=value;
-w: prepend current work directory;
-i: interactive;
-z: test.

Examples

  • copytext hello (hello copied)
  • copytext -u hello (HELLO copied)
  • copytext -q hello ('hello' copied)

Contributors

Releases

No releases published

Packages

No packages published

Languages