9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "David Leimbach" <leimy2k@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: [9fans] pbcopy/pbpaste like functionality for snarf/paste buffers
Date: Wed,  5 Jul 2006 16:13:20 -0700	[thread overview]
Message-ID: <3e1162e60607051613x1d979ec8t79fe0a4fff179441@mail.gmail.com> (raw)

One of my favorite things about Mac OS X is that the clipboard buffer
can be accessed in two ways from the command line.

For example I use an application for taking meeting notes that just
lets me plot out an outline then export it in an XML format.  I throw
it through a sed/awk script (because who the hell wants to mess with
XSLT unless they have to?) which dumps out a simplified wiki syntax
version for posting meeting minutes to an internal page.

I can just do "notes-to-wiki.sh somefile.xml | pbcopy"

Likewise I've been known to grab stuff off of a page and then pass it
through some filters.

Copy stuff to the clipboard buffer then do.

"pbpaste | filter-scripts"

Etc.

Is there equivalent technology for Plan 9/Rio?  How hard would this be to add.

Is it already somewhere in my Rio fileystem.  Don't have access to my
plan 9 box at the moment.

I hope it's not terribly simple :-)


             reply	other threads:[~2006-07-05 23:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-05 23:13 David Leimbach [this message]
2006-07-05 23:25 ` Tim Wiess
2006-07-05 23:26 ` Steve Simon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3e1162e60607051613x1d979ec8t79fe0a4fff179441@mail.gmail.com \
    --to=leimy2k@gmail.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).