parallel
[Top][All Lists]
Advanced

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

sometimes surprised/confused


From: ChessDoter
Subject: sometimes surprised/confused
Date: Mon, 06 Jan 2014 11:35:26 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2

hello,

far from being a power user with linux...

... i happen to play with parallel...

and get confused/surprised at times. Like so:

echo this should not happen | xargs -n 1 echo | parallel --dry-run -n 2 echo `echo {}`

First, i was not able to separate the 4 words into different arguments with --colsep ' ', so that is why i used xargs in the mix. Then, i did not expect --dry-run to allow for execution of the embedded `echo` command.

Ok, i can imagine scenarios, when this comes in handily...

My current conclusion is: be VERY careful with this powerful tool, test thoroughly before execution but even then... (can i trust it?) beware of unexpected side-effects.

just my 2 cents




reply via email to

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