Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Copy-paste from terminal

Name: Anonymous 2010-11-02 11:44

Hi /prog/

Is there a command line tool (for bash) which allows me to do something like

echo "Hi there" | copypaste

and subsequently paste "Hi there" into a graphical window (say a text editor) by CTRL+V?

Name: Anonymous 2010-11-02 11:51

ok, found. xclip

Name: Anonymous 2010-11-02 11:56

use strict;
use warnings;

Name: VIPPER 2010-11-02 12:04

>>3
U mena #!/usr/bin/perl -W

Name: Anonymous 2010-11-02 12:39

>>4
U MENA -wT

Name: Anonymous 2010-11-02 13:03

>>4
You mean #!/usr/bin/env perl YOU GODDAMN SICK ASS EATING DONKEY RAPING MOTHERFUCKER WHY DO YOU IDIOTS NEVER FUCKING LEARN

Name: Anonymous 2010-11-02 13:54

>>6
If you had your PATHs set properly you wouldn't need to use such dirty hack.

Name: Anonymous 2010-11-02 14:47

>>7
I don't think you know what are you talking about.

Name: Anonymous 2010-11-02 15:05

0/10 Troll: failure

Name: Anonymous 2010-11-02 16:16

Name: Anonymous 2010-11-03 7:18

It's a legitimate question, I want a legitimate answer.

(Note: I'm not OP, and I'm not The Sussman, so OP must be the guy who can't program at all or The Sussman Himself).

Name: Anonymous 2010-11-03 7:19

>>11
Oh, I forgot to add this to my note: I'm not The Sussman, neither are you, so if you're not OP, OP is The Sussman. Keep that in mind when replying, and help him.

Name: Anonymous 2010-11-03 7:20

>>11
Hey, I'm OP and >>2, and in my second post I just gave you the answer of my own question.

Just install xclip, then you can do something like

echo 'hello' | xclip -selection clipboard

and you are done. You can CTRL+V where you need.

Name: Anonymous 2010-12-06 9:21

Back to /b/, ``GNAA Faggot''

Name: Anonymous 2010-12-21 23:05

Name: Anonymous 2011-02-04 11:52


Don't change these.
Name: Email:
Entire Thread Thread List