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

Bash STDOUT

Name: Anonymous 2012-09-21 8:29

I'm writing a script, and it's just about finished. Thing is, it calls a lot of sub-processes that spit terminal output to the screen. Now, I've figured out that you stop this with


exec 1>/dev/null 2>/dev/null


but I want to periodically re-enable STDOUT so I can echo updates about what the program is doing.

Any of you /prog/ geezers know what I should do?

Any and all answers appreciated. [spoiler]Yes, even you who is going to post REDIRECT MY ANUS.

Name: !L33tUKZj5I 2012-09-21 12:40

>>9
I've used withnail for over ten years, picked it when I used to hang around efnet. Haven't been there in years, but I still use that name for this kinda shit.
Link related.
http://qdb.us/search?q=withnail
I was never cool enough to get a quote submitted on bash.org ;_;

Nobody is going to flame you or tell you how shit you are

I suspect you're wrong.

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