LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   [bash / readline] Access / output content of yank buffer? (http://www.linuxquestions.org/questions/programming-9/%5Bbash-readline%5D-access-output-content-of-yank-buffer-520740/)

FnordPerfect 01-18-2007 11:33 PM

[bash / readline] Access / output content of yank buffer?
 
Hi,

I am looking for a way (a tool / a built-in shell command / a variable / a hack I'm not capable of) to output the content of what is currently in the yank buffer.

So, after I deleted words at the prompt with C-w, C-u or C-k, I'd like to output what I would get with C-y, but using some tool.

Does anyone have an idea?

Would that be possible at all?
(If you know that it is not, please tell me that, and don't leave this post at zero-replies forever.)

~fab

(PS: Sorry, but I can't tell apart yank buffer and kill ring...)

{ GNU bash, version 3.1.17 and libreadline 5.2 }

unSpawn 01-19-2007 11:54 AM

Haven't seen any app or wrapper capable of doing that. Maybe check Freshmeat / Sourceforge?


All times are GMT -5. The time now is 05:38 PM.