On 8/7/13 15:29, Zhi Shen wrote:
> Hi,
>
> After upgrading to "20130722" from "20130422", we are unable to execute
> remote commands to servers running SunOS. Hope someone can help.
>
> $ ./parallel -V
> GNU parallel 20130722
> $ ./parallel --nonall --cleanup -k -v -v -S serverA "uptime"
> ssh -tt -oLogLevel=quiet serverA 'eval `echo $SHELL | grep
> "/t\{0,1\}csh" > /dev/null && echo setenv PARALLEL_SEQ
> '$PARALLEL_SEQ'\; setenv PARALLEL_PID '$PARALLEL_PID' || echo
> PARALLEL_SEQ='$PARALLEL_SEQ'\;export PARALLEL_SEQ\;
> PARALLEL_PID='$PARALLEL_PID'\;export PARALLEL_PID` ;' tty\
> \>/dev/null\ \&\&\ stty\ isig\ -onlcr\ -echo\;uptime\ ;
>
> $ ./parallel -V
> GNU parallel 20130422
> $ ./parallel --nonall --cleanup -k -v -v -S serverA "uptime"
> stty: : Invalid argument
> grep: illegal option -- E
> Usage: grep -hblcnsviw pattern file . . .
> ssh serverA 'eval `echo $SHELL | grep -E "/(t)?csh" > /dev/null &&
> echo setenv PARALLEL_SEQ '$PARALLEL_SEQ'\; setenv PARALLEL_PID
> '$PARALLEL_PID' || echo PARALLEL_SEQ='$PARALLEL_SEQ'\;export
> PARALLEL_SEQ\; PARALLEL_PID='$PARALLEL_PID'\;export PARALLEL_PID` ;'
> uptime\ ;
> 9:16am up 353 day(s), 21:05, 3 users, load average: 0.10, 0.08, 0.09
>
Are you missing output from the first call (20130722)? Because the
latter one (20130422) only worked by accident in the first place, as the
grep call did not work. I don't understand where the stty error message
came from, though.
Andreas.
Yes, no results from any version greater than "20130422". The verbose output shows the "tty" and "stty" text and returns nothing or empty string.