2010-06-22 13:24:55 +00:00
|
|
|
### Test -p --interactive
|
|
|
|
spawn /tmp/parallel-script-for-expect
|
2014-12-26 17:31:06 +00:00
|
|
|
Academic tradition requires you to cite works you base your article on.
|
2015-01-21 21:24:23 +00:00
|
|
|
When using programs that use GNU Parallel to process data for publication
|
|
|
|
please cite:
|
2013-11-22 17:24:09 +00:00
|
|
|
|
|
|
|
O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
|
|
|
|
;login: The USENIX Magazine, February 2011:42-47.
|
|
|
|
|
2016-05-17 00:11:38 +00:00
|
|
|
This helps funding further development; AND IT WON'T COST YOU A CENT.
|
2014-12-26 17:31:06 +00:00
|
|
|
If you pay 10000 EUR you should feel free to use GNU Parallel without citing.
|
2013-11-22 17:24:09 +00:00
|
|
|
|
2016-05-17 00:11:38 +00:00
|
|
|
To silence the citation notice: run 'parallel --citation'.
|
2013-11-22 17:24:09 +00:00
|
|
|
|
2011-02-21 01:31:30 +00:00
|
|
|
sleep 0.1; echo opt-p 1 ?...y
|
|
|
|
sleep 0.1; echo opt-p 2 ?...n
|
|
|
|
sleep 0.1; echo opt-p 3 ?...y
|
2010-06-22 13:24:55 +00:00
|
|
|
opt-p 1
|
|
|
|
opt-p 3
|
2014-12-26 17:31:06 +00:00
|
|
|
Academic tradition requires you to cite works you base your article on.
|
2015-01-21 21:24:23 +00:00
|
|
|
When using programs that use GNU Parallel to process data for publication
|
|
|
|
please cite:
|
2013-11-22 17:24:09 +00:00
|
|
|
|
|
|
|
O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
|
|
|
|
;login: The USENIX Magazine, February 2011:42-47.
|
|
|
|
|
2016-05-17 00:11:38 +00:00
|
|
|
This helps funding further development; AND IT WON'T COST YOU A CENT.
|
2014-12-26 17:31:06 +00:00
|
|
|
If you pay 10000 EUR you should feel free to use GNU Parallel without citing.
|
2013-11-22 17:24:09 +00:00
|
|
|
|
2016-05-17 00:11:38 +00:00
|
|
|
To silence the citation notice: run 'parallel --citation'.
|
2013-11-22 17:24:09 +00:00
|
|
|
|
2011-02-21 01:31:30 +00:00
|
|
|
sleep 0.1; echo opt--interactive 1 ?...y
|
|
|
|
sleep 0.1; echo opt--interactive 2 ?...n
|
|
|
|
sleep 0.1; echo opt--interactive 3 ?...y
|
2010-06-22 13:24:55 +00:00
|
|
|
opt--interactive 1
|
2011-11-22 21:38:57 +00:00
|
|
|
opt--interactive 3
|
|
|
|
|
2014-07-15 00:40:38 +00:00
|
|
|
echo '### Test killing children with --timeout and exit value (failed if timed out)'
|
2014-07-14 16:25:45 +00:00
|
|
|
### Test killing children with --timeout and exit value (failed if timed out)
|
2014-07-21 15:07:48 +00:00
|
|
|
pstree $$ | grep sleep | grep -v anacron | grep -v screensave | wc; parallel --timeout 3 'true {} ; for i in `seq 100 120`; do bash -c "(sleep $i)" & sleep $i & done; wait; echo No good' ::: 1000000000 1000000001 ; echo $?; sleep 2; pstree $$ | grep sleep | grep -v anacron | grep -v screensave | wc
|
2014-07-14 16:25:45 +00:00
|
|
|
0 0 0
|
|
|
|
2
|
|
|
|
0 0 0
|
2010-06-12 23:24:25 +00:00
|
|
|
xargs Expect: 3 1 2
|
2010-04-21 19:28:00 +00:00
|
|
|
3
|
|
|
|
1
|
|
|
|
2
|
2010-09-05 10:22:08 +00:00
|
|
|
parallel Expect: 3 1 via psedotty 2
|
2014-12-26 17:31:06 +00:00
|
|
|
Academic tradition requires you to cite works you base your article on.
|
2015-01-21 21:24:23 +00:00
|
|
|
When using programs that use GNU Parallel to process data for publication
|
|
|
|
please cite:
|
2013-11-22 17:24:09 +00:00
|
|
|
|
|
|
|
O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
|
|
|
|
;login: The USENIX Magazine, February 2011:42-47.
|
|
|
|
|
2016-05-17 00:11:38 +00:00
|
|
|
This helps funding further development; AND IT WON'T COST YOU A CENT.
|
2014-12-26 17:31:06 +00:00
|
|
|
If you pay 10000 EUR you should feel free to use GNU Parallel without citing.
|
2013-11-22 17:24:09 +00:00
|
|
|
|
2016-05-17 00:11:38 +00:00
|
|
|
To silence the citation notice: run 'parallel --citation'.
|
2013-11-22 17:24:09 +00:00
|
|
|
|
2010-06-12 23:24:25 +00:00
|
|
|
3
|
|
|
|
1
|
2010-09-05 10:22:08 +00:00
|
|
|
via pseudotty
|
2010-06-12 23:24:25 +00:00
|
|
|
2
|
|
|
|
xargs Expect: 1 3 2
|
|
|
|
1
|
|
|
|
3
|
|
|
|
2
|
2010-09-05 10:22:08 +00:00
|
|
|
parallel Expect: 1 3 2 via pseudotty
|
2014-12-26 17:31:06 +00:00
|
|
|
Academic tradition requires you to cite works you base your article on.
|
2015-01-21 21:24:23 +00:00
|
|
|
When using programs that use GNU Parallel to process data for publication
|
|
|
|
please cite:
|
2013-11-22 17:24:09 +00:00
|
|
|
|
|
|
|
O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
|
|
|
|
;login: The USENIX Magazine, February 2011:42-47.
|
|
|
|
|
2016-05-17 00:11:38 +00:00
|
|
|
This helps funding further development; AND IT WON'T COST YOU A CENT.
|
2014-12-26 17:31:06 +00:00
|
|
|
If you pay 10000 EUR you should feel free to use GNU Parallel without citing.
|
2013-11-22 17:24:09 +00:00
|
|
|
|
2016-05-17 00:11:38 +00:00
|
|
|
To silence the citation notice: run 'parallel --citation'.
|
2013-11-22 17:24:09 +00:00
|
|
|
|
2010-04-21 19:28:00 +00:00
|
|
|
1
|
|
|
|
3
|
|
|
|
2
|
2010-09-05 10:22:08 +00:00
|
|
|
via pseudotty
|
2011-07-17 00:22:39 +00:00
|
|
|
### Hans found a bug giving unitialized variable
|
|
|
|
gzip /tmp/parallel_f1
|
|
|
|
gzip /tmp/parallel_f2'
|
|
|
|
'
|