lkml.org 
[lkml]   [2014]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2014-05-15 23:01    [W:0.034 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site