ping On Mon, 13 Apr 2015 09:38:49 +0200 Dan Horák <d...@danny.cz> wrote:
> Older gawk doesn't understand the -e command line switch. In fact > passing a program to gawk on command line doesn't require any switch. > This fixes running the icastats_test on RHEL-6 with GNU Awk 3.1.7 > --- > src/tests/icastats_test.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/tests/icastats_test.c b/src/tests/icastats_test.c > index cac56bc..bf18b36 100644 > --- a/src/tests/icastats_test.c > +++ b/src/tests/icastats_test.c > @@ -232,7 +232,7 @@ void check_icastats(int algo_id, char *stat) > > hw = check_hw(algo_id); > > - sprintf(awk, "icastats | awk -e '{ if($0~\"%s\") if(NR>12) > print $%d,$%d;\ > + sprintf(awk, "icastats | awk '{ if($0~\"%s\") if(NR>12) > print $%d,$%d;\ else print $%d,-1\ > }'", > stat, hw?4:7, hw?5:8, hw?3:5); > -- > 1.9.3 > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live > exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ Opencryptoki-tech > mailing list Opencryptoki-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech ------------------------------------------------------------------------------ Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o _______________________________________________ Opencryptoki-tech mailing list Opencryptoki-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech