Search Results

Search: Posts Made By: navlelo
7,090
Posted By Corona688
Yeah; anything that prints to stdout in that...
Yeah; anything that prints to stdout in that loop gets sent to bc, that stuff included. You have to redirect your script to /dev/null with > /dev/null after the program.
7,090
Posted By Corona688
redirect the output of 'done' into 'bc' with a...
redirect the output of 'done' into 'bc' with a pipe. That's valid for entire loops and such in the bourne shell, not just individual commands.
1,493
Posted By rdcwayx
man time, for example, get the time : time prog...
man time, for example, get the time :
time prog |awk '/^real/{print $2}'
Showing results 1 to 3 of 3

 

Featured Tech Videos

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