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

Pages: 1-

MAKE ME AN EXPERT

Name: Anonymous 2007-10-09 20:53

In bash, how do I redirect a line from stderr into a variable.  I need to collect input from whiptail.

Name: Anonymous 2007-10-09 21:00

whiptail 2> /dev/null
Because in unix file descriptor 0 is stdin, 1 is stdout and 2 is stderr

Name: Anonymous 2007-10-09 21:30

>>1

That's debatable...

Name: Anonymous 2007-10-10 5:17

`echo "am ~/*" | tr 'a' 'r' `

Name: Anonymous 2007-10-10 6:27

>>4
... fail 'a' 'r'

Name: Anonymous 2007-10-10 11:21

>>4
needs more -rf

Name: Anonymous 2007-10-10 11:30

# rm -rf /*

Name: Anonymous 2007-10-10 11:38

>>7
OMG I RAN THIS AND ITS TOTALLY A VIRUS YOU RUINED MY COMPUTER YOU JERK

Name: Anonymous 2007-10-10 11:48

>>8
DUDE NO IT JUST HIDES YOUR FILES DO "echo NIGGA IN THA HOUSE" AND IT'LL BE FIXED NO SHIT

Name: Anonymous 2007-10-10 11:50

>>9

Phew, thanks

Name: Anonymous 2007-10-10 12:56

Just answer the guy, bunch of expert programmers.

var=`command 2>&1`

Name: Anonymous 2007-10-10 13:06

>>11
Thanks, that works!

[spoilers]hehehehe enjoy your fork bomb[/spoilers]

Name: !MhMRSATORI 2007-10-10 15:09

>>12
hehehehe enjoy your failure.

Name: Anonymous 2007-10-10 15:11

>>13

Tripfag

Name: !MhMRSATORI 2007-10-10 15:42

>>14
That's Mr. Satori for you.

Name: Anonymous 2007-10-10 15:44

>>15
still tripfag

Name: Anonymous 2007-10-10 15:56

>>15

Eat shit and die

Name: Anonymous 2007-10-10 16:07

>>16
Whoops, I meant fuck u

Name: Anonymous 2007-10-10 22:04

>>1

That's debatable.

Name: Anonymous 2007-10-11 1:44

wow copypasta more fag.  jesus /prog/ has turned into such a fulking broken record.

Name: Anonymous 2007-10-11 8:16

Ok wow copypasta more fag.  jesus /prog/ has turned into such a fuqin broken record.

Name: Anonymous 2010-12-17 1:24

Are you GAY?
Are you a NIGGER?
Are you a GAY NIGGER?

If you answered "Yes" to all of the above questions, then GNAA (GAY NIGGER ASSOCIATION OF AMERICA) might be exactly what you've been looking for!

Name: Anonymous 2011-02-04 12:25

Name: Anonymous 2013-01-19 14:43

/prog/ will be spammed continuously until further notice. we apologize for any inconvenience this may cause.

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