Created
August 30, 2010 21:19
-
-
Save zuigon/558070 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# trajanje `brew upgrade`-a | |
(grep "built in" in.txt | sed 's:.*in ::g' | tee >(echo ---) >(grep minutes | awk '{print $1, "* 60"}' | bc | sed 's:\.0::g') >(grep seconds | awk '{print $1}' | bc) ) | awk 'BEGIN{total=0}; {total += $1} END{print total, " / 60"}' | bc | awk '{print $1," minuta"}' | |
18 minuta |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment