Man pages sections > man1 > clipfilter

clipfilter - Run various conversions for your clipboard data.

CLIPFILTER(1p) User Contributed Perl Documentation CLIPFILTER(1p)

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 (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>
2016-08-14 perl v5.22.2