Messages in this thread | | | Date | Thu, 15 May 2014 22:10:45 +0200 | From | Andi Kleen <> | Subject | Re: [PATCH 5/9] perf, tools: Add perf download to download event files v2 |
| |
> Could you please extend this script to support curl also? It seems the > wget is not installed by default on my system.
I looked at it, but it's a major pain because curl is totally incompatible. I don't think it's a major burden to install wget?
> > +set -e > > + > > +if [ "$1" == "" ] ; then > > + S=$(awk ' > > +/^vendor/ { V=$3 } > > +/^model/ && $2 == ":" { M=$3 } > > +/^cpu family/ { F = $4 } > > Inconsistency in using whitespace..
awk scripts always start at column 0
-Andi
| |