Search Results

Search: Posts Made By: script_man
5,839
Posted By script_man
Thanks for the reply. Please note that the...
Thanks for the reply.

Please note that the output should be redirectable to a file. The example redirecting to /dev/null

var=`echo test | tee /dev/tty` > /dev/null

was only to illustrate...
5,839
Posted By script_man
Redirecting output that was redirected to variable and console
Hi all,

I would like to store the output of a command in a variable and output it to the console at the same time. This is working fine using the following construct

var=`command | tee...
22,649
Posted By script_man
Advanced error handling in shell scripts
Hi all


I've got a question regarding error handling in shell scripts. My background is mainly object oriented programming languages, but for a year or so I've been doing more and more...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 03:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy