LXer: How to insert code snippets on the command line without executing them
Published at LXer:
You can store a code snippet in a shell alias or a function, but when you type the alias or function name in a BASH shell and press 'Enter', the shell executes (or tries to execute) the snippet. That's no good if the snippet is incomplete or needs editing. A simple workaround is to paste the snippet at the next shell prompt, as explained (in this article). Read More... |
All times are GMT -5. The time now is 04:55 PM. |