Ryan King > Clipboard > clipfilter

Download:
Clipboard-0.13.tar.gz

Annotate this POD

CPAN RT

New  3
Open  4
View/Report Bugs
Source  

NAME ^

clipfilter - Run various conversions for your clipboard data.

USAGE ^

    # (copy some stuff)
    $ clipfilter -html
    # (paste, with html entities substituted in)
    
    # or URI-escaping:
    $ clipfilter -uri

    # or pipe through an arbitrary program, like `tac`, the backwards cat:
    $ clipfilter tac
    # Note: currently, this just dumps everything to open2() and reads
    # everything back. It could possibly create a deadlock, but I haven't
    # found the case that causes this, yet.

MOTIVATION ^

A very frequent user pattern is to copy something, edit it in some rote way, and then paste it back. Writing your own filter scripts will make it even more useful.

BUGS ^

Current weirdness when piping this to some programs, like 'wc' and 'tail'. I will work on this.

AUTHOR ^

Ryan King <rking@panoptic.com>

COPYRIGHT ^

Copyright (c) 2010. Ryan King. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html

syntax highlighting: