-   Programming (
-   -   [bash / readline] Access / output content of yank buffer? (

FnordPerfect 01-18-2007 10:33 PM

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

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.)


(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 10: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 10:46 AM.