Any reason to not explicitly redirect stdout stream (man 3), rather than the /dev/stdout device? or am I not understanding the problem?
( echo "hello" > afoo; echo "there" > bfoo; echo "world" > /dev/console) Cheers; E! > > How does one re-redirect stdout to the console in bash? > > For example: > > $ ( exec > afoo ; echo hello ; echo there ; echo world ) > $ tail -v -n +1 * > ==> afoo <== > hello > there > world > > $ ( exec > afoo ; echo hello ; exec > bfoo ; echo there ; exec > /dev/stdout ; echo world ) > $ tail -v -n +1 * > ==> afoo <== > hello > > ==> bfoo <== > world > > How do I get "world" to go back to the console? > > Regards, > - Robert > > > > > -- > This email was Anti Virus checked by Astaro Security Gateway. > http://www.astaro.com > -- This email was Anti Virus checked by Astaro Security Gateway. http://www.astaro.com --~--~---------~--~----~------------~-------~--~----~ Central West End Linux Users Group (via Google Groups) Main page: http://www.cwelug.org To post: [email protected] To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] More options: http://groups.google.com/group/cwelug -~----------~----~----~----~------~----~------~--~---
