Timeline for store and execute redirection/piped command in script
Current License: CC BY-SA 3.0
19 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 1, 2013 at 23:39 | history | edited | Gilles 'SO- stop being evil' | edited tags | |
| Mar 21, 2013 at 20:29 | history | edited | Lesmana | edited tags | |
| Dec 23, 2012 at 10:02 | history | tweeted | twitter.com/#!/StackUnix/status/282788304859041792 | ||
| Dec 23, 2012 at 1:31 | answer | added | watael | timeline score: 3 | |
| Dec 22, 2012 at 23:19 | answer | added | watael | timeline score: 2 | |
| Dec 22, 2012 at 23:12 | comment | added | Emanuel Berg | @ire_and_curses: Next time you guys have a bulletproof solution, why don't you just write a proper answer and be done with it? But, OK, I'm sure it works the way you have the solution drawn up in your head, I'm not doubting that. But, look at the guy below, that's the way to do it. | |
| Dec 22, 2012 at 23:09 | answer | added | peterph | timeline score: 4 | |
| Dec 22, 2012 at 23:08 | comment | added | ire_and_curses | Of course 'it works' with backticks. But that evaluates the expression immediately, which apparently is not what you want (although that is not at all clear from your example). The eval solution provided is the correct way to defer execution until a later date. | |
| Dec 22, 2012 at 23:05 | comment | added | Rahul Patil | @EmanuelBerg , sorry that's back-tick issue . when i use back-tick over back-tick then it's not shown as expected that why i tried it again and again. | |
| Dec 22, 2012 at 23:03 | vote | accept | Emanuel Berg | ||
| Dec 22, 2012 at 23:01 | comment | added | Emanuel Berg | @RahulPatil: I'm not reading any more of your comments, if and when you get it to work, write a proper answer. | |
| Dec 22, 2012 at 23:00 | comment | added | Emanuel Berg | @ire_and_curses: First, it doesn't work with backticks, second, I want the third (and second) line -- that's the point of the question, to store a command, and be able to either echo it, or invoke it, later. | |
| Dec 22, 2012 at 23:00 | comment | added | Rahul Patil | echo $VER_URXVT | bash | |
| Dec 22, 2012 at 22:58 | answer | added | BitsOfNix | timeline score: 1 | |
| Dec 22, 2012 at 22:56 | comment | added | ire_and_curses | You don't need the third line if you use backticks. | |
| Dec 22, 2012 at 22:49 | comment | added | Emanuel Berg | @peterph: What I can see, that doesn't work. | |
| Dec 22, 2012 at 22:48 | comment | added | Emanuel Berg | @RahulPatil: That doesn't seem to work. | |
| Dec 22, 2012 at 22:45 | comment | added | peterph | You probably meant to use backticks: ` instead of single quotes: ' - their meaning is quite different. | |
| Dec 22, 2012 at 22:28 | history | asked | Emanuel Berg | CC BY-SA 3.0 |