parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem using parallel with awk


From: Shantanu Unknown
Subject: problem using parallel with awk
Date: Fri, 26 Nov 2010 16:34:56 +0000

Hi,
I have started using parallel recentllyHOwever it is not working correctly with awk

find 201011* -name pre_create_scamp_inputs.out | parallel awk "'/Executing/ {print $2}' {}"
This prints the whole line and not $2.
the xargs argument works

find 201011* -name pre_create_scamp_inputs.out | xargs awk '/Executing/ {print $2}'
Am I doing something wrong n the parallel syntax while calling awk?
thanks

reply via email to

[Prev in Thread] Current Thread [Next in Thread]