Quantcast
Browsing latest articles
Browse All 4 View Live

Answer by Gilles 'SO- stop being evil' for Can the Bash shell "Ignore" Excess...

Instead of pasting into the terminal, have the command read from the clipboard. You can use xclip or xsel to print the clipboard content (or conversely write their input to the clipboard). xsel | perl...

View Article


Answer by Prem for Can the Bash shell "Ignore" Excess copy-paste text?

In addition to the "solution/work-around" by Jeff Schaller , the proper solution seems to be to make the environment aware of copy-paste, both from sender side and from receiver side, which is known as...

View Article


Answer by Jeff Schaller for Can the Bash shell "Ignore" Excess copy-paste text?

This is not an answer, but maybe it's an acceptable work-around: alias p='perl; echo hit control-d again; cat > /dev/null' Then, if your perl script exits prematurely, you'll harmlessly paste the...

View Article

Can the Bash shell "Ignore" Excess copy-paste text?

Say, I have a "Quick&Dirty" Perl script in a gui text editor, and I start the Perl interpreter in a terminal window which is running Bash. I can copy-paste the Perl script to the terminal &...

View Article
Browsing latest articles
Browse All 4 View Live