From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <19e9a97cd5f5907eb12ccc8eb2fc2102@akira.nop.cx> To: 9fans@cse.psu.edu Subject: Re: [9fans] pbcopy/pbpaste like functionality for snarf/paste buffers From: Tim Wiess Date: Wed, 5 Jul 2006 16:25:14 -0700 In-Reply-To: <3e1162e60607051613x1d979ec8t79fe0a4fff179441@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 736ec4a2-ead1-11e9-9d60-3106f5b1d025 cat /dev/snarf > 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 :-)