Commit graph

666 commits

Author SHA1 Message Date
Ole Tange 22b295cef1 parallel: --pipe now forks instead of busy looping. 2012-05-24 02:03:57 +02:00
Ole Tange 91899593fc Released as 20120522 ('Hollande'). 2012-05-22 20:36:20 +02:00
Ole Tange f0540d5c23 parallel: --joblog for --(n)onall 2012-05-22 00:25:29 +02:00
Ole Tange 76c477d94d parallel: Timings in --joblog now with milliseconds. 2012-05-13 16:34:29 +02:00
Ole Tange b35e5ff721 Reorg of testsuite. 2012-05-13 16:03:41 +02:00
Ole Tange 1371108e64 Fixed with test: Test bug #35820: sem breaks if $HOME is not writable 2012-05-13 16:03:13 +02:00
Ole Tange aad8d689ba parallel.pod: Elaborated more on dangers with -u. 2012-05-06 12:54:51 +02:00
Ole Tange 29726eee6e parallel: added --tagstring + man + test.
parallel.pod: Elaborated on problems with -u.
2012-05-06 12:43:40 +02:00
Ole Tange 6485581f5a parallel: test for --er and --extensionreplace 2012-04-24 23:59:29 +02:00
Ole Tange 243d3f2c48 Released as 20120422 ('Mærsk'). 2012-04-22 00:14:20 +02:00
Ole Tange afbbc30ce6 sql --dbsize will now list sizes of all databases if given no database. 2012-04-21 20:16:59 +02:00
Ole Tange 463ec5bc0b Fixed: bug #36151: swap_activity broken in v20120322. Passes testsuite. 2012-04-21 00:34:24 +02:00
Ole Tange 457320998f Fixed: bug #36260: {n} expansion in --colsep files fails for empty fields if all following fields are also empty 2012-04-20 20:49:40 +02:00
Ole Tange a772df5872 Forgot to change version no. 2012-04-11 01:08:26 +02:00
Ole Tange f4f5fdd6c6 Fixed: bug #36139: --load causes parallel not to finish 2012-04-09 16:31:05 +02:00
Ole Tange 27c776acb5 src/parallel: LANG=C so uptime prints X.XX not X,XX. $/=undef so -d : works. 2012-04-05 13:31:22 +02:00
Ole Tange f68130ebba Released as 20120322. 2012-03-23 00:29:46 +01:00
Ole Tange 0659327dd5 test38.sh: Perl 5.14 seems to break test of old perl. perl32 binary included. 2012-03-22 01:19:51 +01:00
Ole Tange 53af321280 parallel.pod: man page update for ClusterSSH. 2012-03-21 21:42:26 +01:00
Ole Tange 93c5c6aaa5 Bug fixes in the man page. 2012-03-15 21:23:53 +01:00
Ole Tange 202f2ec571 Updated man page on --load. 2012-03-15 21:16:35 +01:00
Ole Tange f08db40a33 bug #35427: quoting of {2} broken for --onall.
bug #35803: sentence structure / wrong spelling in manpage.
2012-03-12 23:38:38 +01:00
Ole Tange 513089c881 Fixed bug #35469: niceload --process" doesn't work after July-2011 release. 2012-03-04 02:24:37 +01:00
Ole Tange bcebac44b1 bug #35544: --pipe would read from :::: (-a) 2012-02-27 01:51:54 +01:00
Ole Tange 6f730374d8 Patch for --noswap on Mac. Untested. 2012-02-26 02:14:46 +01:00
Ole Tange 020406059e Released as 20120222 ('Whitney'). 2012-02-22 19:31:36 +00:00
Ole Tange 9fd2f95bf3 OBS did not compile due to missing pod2texi. 2012-02-21 20:06:23 +00:00
Ole Tange 587c5e23be Released as 20120220 alpha. 2012-02-20 23:40:47 +00:00
Ole Tange 3e996c9a57 --wd . implemented. Passes testsuite. 2012-02-20 00:48:28 +00:00
Ole Tange d0509d0120 texi-files generated from pod2texi. 2012-01-24 21:53:25 +01:00
Ole Tange 5e8e95ecf0 parallel: --header with {colnames} for multiple :::'s 2012-01-22 04:42:05 +01:00
Ole Tange add040c278 parallel: --slf . now reads /etc/parallel/sshloginfile 2012-01-14 00:57:48 +01:00
Ole Tange 379c0cd36b parallel.pod: --header + EXAMPLE: Using shell variables 2012-01-14 00:53:19 +01:00
Ole Tange 7d75bde672 parallel: Fixed regression bug. 2012-01-11 23:07:31 +01:00
Ole Tange c34e6c489c parallel: --header with regexp (try: --header '\n') 2012-01-11 00:08:23 +01:00
Ole Tange 08e1366c5d parallel: limit memory consumption if only 1 input source. 2012-01-10 21:58:39 +01:00
Ole Tange 3009913a66 bug #35268: shell_quote doesn't treats [] brackets correctly.
Merging of tests.
2012-01-10 00:09:01 +01:00
Ole Tange 7bd02750a5 niceload now propagates exit status correctly. Passes testsuite. 2012-01-08 19:52:00 +01:00
Ole Tange 92d7c462e7 parallel: --header will now parse the first line and you can use column names as {colname}. Experimental => man missing. 2012-01-07 04:22:48 +01:00
Ole Tange 8c4b0ba4b9 parallel: --header will now parse the first line and you can use column names as {colname}. 2012-01-07 04:17:13 +01:00
Ole Tange fc65ca9626 parallel: implemented --resume incl. test. 2012-01-07 03:29:48 +01:00
Ole Tange dbfb878246 parallel: retired -g -B -T -U -W -Y 2012-01-07 02:24:50 +01:00
Ole Tange 7422375902 Released as 20111222 ('Hitchens'). 2011-12-22 00:17:49 +01:00
Ole Tange 6f3da78d6c bug #35069: --pipe without command should give reasonable error message. 2011-12-18 21:49:37 +01:00
Ole Tange 2506e775f7 parallel: Hans gets Undefined subroutine &Data::Dump::dump at 1949. Eval a dummy sub. 2011-12-18 17:10:26 +01:00
Ole Tange 637f5391af -S + --timeout did not repect --timeout. 2011-12-11 00:16:41 +01:00
Ole Tange 8a7f45c6a2 Fixed bug #34955: Timed-out processes are not identified as failures.
Fixed bug #34954: --timeout should kill process groups.
Released as 20111209 alpha.
2011-12-09 23:25:20 +01:00
Ole Tange d9de48a1aa Updated video to playlist. 2011-11-22 22:52:52 +01:00
Ole Tange 140337dc73 Released as 20111122 ('Silvio'). 2011-11-22 22:38:57 +01:00
Ole Tange 6ae7f48c72 Let *.html depend on eachother to avoid race condition and dependency on sem. 2011-11-15 01:45:00 +01:00
Ole Tange e15b48be86 parallel: If flock is unimplemented: Wait for random*5 sec instead. 2011-11-15 01:44:30 +01:00
Ole Tange 4612f69097 parallel: tcsh does not allow 'nice -n19', so use full path for nice. 2011-11-15 01:15:23 +01:00
Ole Tange 1d3bc2eff5 parallel: $SHELL is sometimes not set in Mac OS X 2011-11-13 13:19:15 +01:00
Ole Tange 9c2e7a6794 Prerelease 20111022. 2011-10-23 01:49:32 +02:00
Ole Tange f91661b86b Fixes bug #34422: parallel -X --eta crashes with div by zero 2011-10-18 00:04:20 +02:00
Ole Tange 0cd02204c4 parallel: Multiple --sshloginfile supported. Passes testsuite. 2011-10-17 03:10:32 +02:00
Ole Tange ebac7477d7 parallel: --bibtex implemented 2011-10-15 00:21:23 +02:00
Ole Tange a25961d8d5 parallel: support for multiple --profile. 2011-10-13 23:58:02 +02:00
Ole Tange 50edcdd38d parallel.pod: Example of --tag with uptime 2011-10-10 22:20:18 +02:00
Ole Tange 5c92569669 parallel.pod: Start phasing out some rarely used single letter options.
Added --tag example. Rewrote explanation for breadth first web crawler.
2011-10-10 22:14:55 +02:00
Ole Tange fd138579c3 parallel: Makefile for creating .deb package (dependent on --minversion) 2011-10-10 21:59:19 +02:00
Ole Tange a5cd7dc7ee Fixes: bug #34463: parallel -S .. --tag --onall ::: date uptime gives uninitialized value. 2011-10-03 01:37:32 +02:00
Ole Tange beef9c13ec Version number++ 2011-10-03 00:03:56 +02:00
Ole Tange 3e4f57e5e6 Implemented --tag for remote machines. 2011-10-03 00:02:44 +02:00
Ole Tange a800b4e3d6 christmastree: Initial version
parallel: use $0 as parallel command
2011-09-26 01:15:57 +02:00
Ole Tange b511c409ad sql: fixed bug #34034: sql: --list-databases 2011-09-24 02:51:10 +02:00
Ole Tange 986f69db11 parallel: fixed bug #33995: Jobs executed with sh instead of $SHELL 2011-09-24 02:35:16 +02:00
Ole Tange 9fad573774 parallel: implemented --tag 2011-09-24 02:16:06 +02:00
Ole Tange d0f6c9a0aa parallel: { and } were not quoted correctly so this would fail:
echo a b | parallel --pipe -q awk '{print $2, $1}'
2011-09-16 15:26:17 +02:00
Ole Tange c48c5fb7b9 parallel: Implemented --shellquote 2011-09-09 21:15:00 +02:00
Ole Tange 795c0fa3bd Fixes: bug #34240: --pipe does not respect -r 2011-09-08 10:53:26 +02:00
Ole Tange b53dda2525 Released as 20110822 ('Utøya'). Passes testsuite. 2011-08-22 01:45:23 +02:00
Ole Tange 38b1fe9a41 Implemented --timeout with testsuite. Updated man page for release. 2011-08-22 01:01:57 +02:00
Ole Tange 0648fc5846 parallel: --nonall/onall now respect --basefile. Does NOT pass testsuite. 2011-08-20 21:13:25 +02:00
Ole Tange 78f82d0b39 man page: -u can speed up. Nested loop example. Bug report requirements. 2011-08-09 22:00:31 +02:00
Ole Tange 207f8dfabc parallel: --block support both base 2 and base 10: k=1000, K=1024, Ki=1024. 2011-08-03 11:54:55 +02:00
Ole Tange 3a7097684c parallel: ignore errors from sysctl. sr #107762: get multiple sysctl: not found message when running parallel 2011-08-02 23:18:28 +02:00
Ole Tange 82b50467ce parallel: CPU detection improved for Mac OSX (Thanks to Wayne E. Seguin). 2011-07-29 17:44:37 +02:00
Ole Tange 67e3d3ea77 parallel: Code reorg. Copyright notice added.
niceload: Copyright notice added.
Passes testsuite.
2011-07-29 14:58:18 +02:00
Ole Tange ab899c36a6 parallel: fixed with test case bug #33623: --load doesn't parse percentage or filename arguments.
parallel: Empty job caused not being run in parallel.
2011-07-28 21:09:27 +02:00
Ole Tange 7d418b34ce niceload: man example of Ensure enough disk cache 2011-07-28 20:14:57 +02:00
Ole Tange d70f2eb8ee parallel: man page example with web crawler -> web mirrorer 2011-07-28 20:12:02 +02:00
Ole Tange 5298af094d parallel man page: parallel web spider 2011-07-27 19:34:30 +02:00
Ole Tange f3203c6a72 Some minor doc changes 2011-07-26 00:12:46 +02:00
Ole Tange f2a1b50250 Released as 20110722.
Fixed man/html generation niceload -> niceload.pod.
Passes testsuite.
2011-07-22 11:08:58 +02:00
Ole Tange 8d13ddebbe niceload: --recheck was not respected. More test suite cases.
alpha/beta testing in man page updated.
2011-07-22 10:47:14 +02:00
Ole Tange 524bfaa19a niceload: Suspending/resuming did not work 2011-07-21 01:06:50 +02:00
Ole Tange 67683ba324 niceload: Treated CTRL-Z wrongly 2011-07-21 00:58:38 +02:00
Ole Tange 36e690d55f niceload: Don't set default if --io, --load, --mem, or --noswap is set 2011-07-21 00:52:13 +02:00
Ole Tange 43788cb720 parallel: Replacement of many replacementstring is now faster 2011-07-20 23:42:59 +02:00
Ole Tange e01a4515fa parallel: Give error if command start with '-' and is not in path 2011-07-20 18:22:31 +02:00
Ole Tange ded4ad022f niceload: Implemented '-q' 2011-07-20 18:20:29 +02:00
Ole Tange 10e4f9c5f8 Released as 20110719alpha. 2011-07-19 16:48:38 +02:00
Ole Tange ab1fe956ea niceload: --run-* --start-* --io implemented.
Testsuite extended (untested).
man page updated.
2011-07-19 16:44:14 +02:00
Ole Tange ebeeb2755d niceload: Implemented --runmem, --startmem, --load, --hard, --soft. Rewritten to OO. 2011-07-18 18:29:37 +02:00
Ole Tange c2a2b34abf Fixed bug #33740: If the remote computer runs CSH the remote does not set PARALLEL_* vars correctly. 2011-07-17 03:03:57 +02:00
Ole Tange cf2b12eea8 Fixed bug #33743: -q quotes # in {#}. 2011-07-17 02:22:39 +02:00
Ole Tange fe8a8aa41b Fixed bug #33630: -L and -N do not do context replace.
--bner alias for --basenameextensionreplace.
2011-07-17 01:46:02 +02:00
Ole Tange 3c7e1c4616 Fixed bug #33752: experimental --load option gives warning messages. 2011-07-12 21:59:48 +02:00
Ole Tange f69a6d52f1 parallel.pod: explain no replacement string => {} is appended. 2011-07-10 16:33:33 +02:00
Ole Tange de6d588893 Fixed: #33629: Update documentation for -X to reflect current behavior.
--help give one line description of the options I use mostly.
2011-06-27 23:21:26 +02:00
Ole Tange 76ae522c84 parallel: Only move the tmp-uptime file if 'uptime' succeeds 2011-06-27 22:51:01 +02:00
Ole Tange 978456b207 sem: man page updates 2011-06-25 09:22:05 +02:00
Ole Tange ccaa30b4c3 parallel: Fixes #33621: --bg -p should give an error message.
Includes testsuite.
Fixup of error msgs.
2011-06-23 00:12:16 +02:00
Ole Tange 6bcba83499 parallel: Fixed -u with test. Passes testsuite. 2011-06-22 01:14:59 +02:00
Ole Tange 3d4e348de8 parallel: -v --onall now forces -vv 2011-06-16 14:47:55 +02:00
Ole Tange 780f000c92 parallel: added exit Signal to --joblog 2011-06-12 01:19:29 +02:00
Ole Tange f28cda7a19 Released as alpha-20110607.
parallel.pod: added --nonall man
2011-06-07 22:57:50 +02:00
Ole Tange 0a1d43bbda parallel: implemented --minversion 2011-06-05 18:27:50 +02:00
Ole Tange 7ed9090560 niceload: --noswap --mem --hard implemented 2011-06-04 22:26:26 +02:00
Ole Tange ac928cf936 parallel: added '-' as valid input file for -S. Fixed bug for empty lines '| parallel'. 2011-06-03 14:53:14 +02:00
Ole Tange 64f0579195 parallel: -X {1}-{2} with multiple input sources. Passes testsuite. 2011-06-01 00:02:29 +02:00
Ole Tange b84663bac8 parallel: test added for --onall 2011-05-28 16:33:22 +02:00
Ole Tange 78824429c8 parallel: Prototype of --onall and --nonall 2011-05-26 23:19:58 +02:00
Ole Tange 2db11bf3f2 parallel: implemented --noswap 2011-05-26 14:55:15 +02:00
Ole Tange 45e7fc5b4b Small changes to release procedure 2011-05-26 13:14:03 +02:00
Ole Tange e13bb81593 Released as 20110522 ('Pakistan'). 2011-05-22 01:12:43 +02:00
Ole Tange 59ddc7b75d parallel: Fixed https://savannah.gnu.org/bugs/index.php?33352
Passes testsuite.
2011-05-21 08:43:55 +02:00
Ole Tange 10ac95d29a parallel: /tmp/*.arg was not removed 2011-05-21 01:07:45 +02:00
Ole Tange 8fb1966254 test fixup. Passes test suite. 2011-05-14 01:03:09 +02:00
Ole Tange d709986cbe parallel: -E causes problems on old versions of rsync and seems not needed. 2011-05-13 14:03:07 +02:00
Ole Tange b0a7234152 parallel: test -E for ::: and :::: 2011-05-13 14:02:03 +02:00
Ole Tange 24dc6e55c4 Alpha release: 20110505 2011-05-05 23:36:12 +02:00
Ole Tange 594f630a7f parallel: Code cleanup. Passes testsuite. 2011-05-05 20:50:53 +02:00
Ole Tange ba6af9c3d2 parallel: :::: - (stdin) also works. Test added for ::: and :::: 2011-05-05 18:52:23 +02:00
Ole Tange 0f7fdcdffb parallel: ::: and :::: can now be mixed. Test suite passes. 2011-05-05 18:26:29 +02:00
Ole Tange 1f3af83d66 parallel: fixup to pass testsuite. Passes testsuite. 2011-05-05 17:37:27 +02:00
Ole Tange e2cf6fdd0a parallel: let xapply_get and nest_get used a common read function 2011-05-05 11:33:48 +02:00
Ole Tange 9b773d03f4 parallel: sorting of multiple -a changed 2011-05-05 10:58:18 +02:00
Ole Tange a560a74b8a parallel: :::: now does nesting/product/cartesian/multiply (--xapply missing) 2011-05-04 23:58:00 +02:00
Ole Tange 7f731a54b7 parallel: - as argfile will read from stdin 2011-05-04 20:55:01 +02:00
Ole Tange 48199a88fe parallel: small optimization for --pipe 2011-05-04 00:30:56 +02:00
Ole Tange cb9474a8f6 parallel: Passes testsuite 2011-04-28 12:38:38 +02:00
Ole Tange a63e258bb1 parallel: Implemented {//}. Converted use into conditional use (hopefully with speedup). 2011-04-27 17:12:35 +02:00
Ole Tange c5af096f76 Released as 20110422 'Libya' 2011-04-23 14:01:22 +02:00
Ole Tange 3ab1fc535c parallel: CPU detection code for AIX thanks to Christian Netrwal. 2011-04-18 11:37:34 +02:00
Ole Tange bc0f875e86 Bugfix: if sem is locked by a dead process, release the lock 2011-04-17 02:59:16 +02:00
Ole Tange 1f3c0aa2c2 CPU detecting code for AIX. Warning if you run --version with --tollef 2011-04-17 02:51:02 +02:00
Ole Tange 97d1e025dc parallel: Small fix for ETA. 2011-04-10 18:01:58 +02:00
Ole Tange 1478df33f7 parallel: eta time smoothing depending on pct complete 2011-04-09 00:09:00 +02:00
Ole Tange 7b4f747877 parallel: Implemented {#}. Passes testsuite. 2011-04-08 21:57:19 +02:00
Ole Tange a14fabad36 parallel: --joblog contains exitstatus 2011-04-07 21:58:13 +02:00
Ole Tange e1b8521487 man page update. 2011-03-29 16:22:56 +02:00
Ole Tange 105c92676f parallel: Fixed timing issue for --pipe on 8 core cpu. 2011-03-22 21:02:22 +01:00
Ole Tange 43bc68ae3a Released as 20110322. 2011-03-22 01:44:50 +01:00
Ole Tange c5d11674b0 Fixed: bug #32834: If input is generated slowly - do not complain.
-i with no args defaults to -i {}.
Use ::die_bug instead of die.
2011-03-20 22:40:12 +01:00
Ole Tange b4a51e40ee parallel: Allow -E 0 and -i 0
Documentation changes
2011-03-14 17:37:30 +01:00
Ole Tange 7b8f379adc semiportable testsuite: cd testsuite; make portable 2011-03-09 18:47:00 +01:00
Ole Tange a5a4d67686 sql: sql:sql::alias now works (with testsuite) 2011-03-09 16:23:53 +01:00
Ole Tange 66c0168f4d sql: man-page uses consistent examples 2011-03-08 00:47:39 +01:00
Ole Tange 11b21d638c -l 0 no longer works (and never will) because of --tollef.
exponential backoff in --semaphore mode.
--regexp test.
testsuite passes.
2011-03-01 23:04:15 +01:00
Ole Tange 69201240dc parallel: manpage update for -l 0 -L 0 -n 0, and -N 0. 2011-02-23 16:22:08 +01:00
Ole Tange ff48e14301 parallel: -l 0 -L 0 -n 0, and -N 0 implemented. Passes some tests. Man page missing. 2011-02-23 16:01:18 +01:00
Ole Tange bad6dd4787 Fixes bug #32563: includes testsuite. 2011-02-21 22:29:55 +01:00
Ole Tange c535c25450 parallel: implemented /etc/parallel/config. Passes testsuite. 2011-02-21 02:31:30 +01:00
Ole Tange b7d707b346 parallel: Implemented --gnu and --tollef. Passes at least some tests. 2011-02-18 15:23:00 +01:00
Ole Tange 9cc892faf2 Released as 2011-02-05 FOSDEM 2011-02-17 17:23:38 +01:00
Ole Tange ad61df30f0 parallel: implemented --regexp. Prepended 'parallel:' to warnings 2011-02-02 16:36:29 +01:00
Ole Tange cb468fb6d3 Passes testsuite. 2011-01-27 22:56:59 +01:00
Ole Tange f63347b070 --recend and --recstart are now fixed strings instead of regexp for performance reasons 2011-01-27 22:05:34 +01:00
Ole Tange b0afcf9fa4 parallel --pipe: Do not pipe 0-length input to children 2011-01-27 18:53:57 +01:00
Ole Tange c9d95b0627 Small optimization for large --blocksize for --pipe.
Fixed bug in FreeBSD cpu/core detection.
2011-01-27 00:29:28 +01:00
Ole Tange 6f78fafc20 Chris Howey <howeyc@gmail.com> says: Finding the number of cores does
not seem to be correct on FreeBSD (at least for me).
2011-01-26 00:49:04 +01:00
Ole Tange 9a4522675c parallel: added --rrs with test. Passes testsuite. 2011-01-26 00:45:00 +01:00
Ole Tange 5a098fa66b parallel: Bugfix for Mac OS X: $SIG{TERM} is undef 2011-01-25 15:32:41 +01:00
Ole Tange 76d9e4f41b -N for --pipe. Fixed race condition in --pipe.
Tests for --pipe. Passes testsuite.
2011-01-24 20:06:30 +01:00
Ole Tange d5c7399d5b Released as 20110122 2011-01-22 23:40:15 +01:00
Ole Tange 686c549e05 Update copyright notice 2011-01-21 19:07:03 +01:00
Ole Tange 495d832a73 Conflict resolved 2011-01-21 19:03:12 +01:00
Ole Tange 0be50427fb Fix https://savannah.gnu.org/bugs/index.php?32191 2011-01-21 18:50:23 +01:00
Ole Tange 0247e4beee --spreadstdin now forks a new child for each block. 2011-01-19 16:25:25 +01:00
Ole Tange 1d45092522 parallel: simple test for --spreadstdin.
--recstart and --recend implemented.
Time::Hires no longer needed.
2011-01-18 23:56:28 +01:00
Ole Tange 48454a36ea parallel: --joblog implemented. Testsuite missing.
--spreadstdin prototype. Testsuite missing.
2011-01-18 18:15:42 +01:00
Ole Tange 42a5f4e0cc testsuite passes.
max_jobs_running could be resat if -j is a changed file.
dummy children was not killed if cmd line was too long.
default number of jobs for --semaphore set to 1.
test25 had race condition.
test22 -j10 added.
test13 -j9 added.
test47 remote cleanup added before test.
test17 remote cleanup added before test.
2011-01-17 13:38:58 +01:00
Ole Tange 3ee7f79325 0install wants compiled man pages to be distributed. *.1 are now distributed.
More tests from test suite passes - though not all.
2011-01-11 13:42:14 +01:00
Ole Tange 1cc9c990a4 parallel: fixed: seq 9 | parallel -N 10 echo 2011-01-05 18:10:58 +01:00
Ole Tange e51bc579c8 parallel: implemented basic --joblog Bug#31858 2011-01-05 14:46:45 +01:00
Ole Tange 57cf4df2bc parallel: alpharelease. Distribute args between jobslots for -X. -j+0 now default. 2011-01-02 01:01:21 +01:00
Ole Tange 39526ff1fe sem: Problem if ~/.parallel does not exist. Fixed. 2010-12-22 10:21:58 +01:00
Ole Tange ef812dd02a Released as 20101222 2010-12-21 21:10:44 +01:00
Ole Tange a16d120711 Implemented --tty as the old default of assigning a tty to the first
job causes problems.
Cleanup if --workdir <> . did not work. Fixed.
2010-12-21 18:08:16 +01:00
Ole Tange ec51739620 parallel: Removed some global variables. Code cleanup. 2010-12-19 12:58:36 +01:00
Ole Tange 27822174c2 parallel: Fixed --retries bug. Passes testsuite. 2010-12-19 01:38:36 +01:00
Ole Tange 604ac1c422 parallel.pod: Elaboration on QUOTING 2010-12-16 00:25:41 +01:00
Ole Tange 5a87ded0d1 parallel: Man page for --dry-run. Small bug fixes. 2010-12-16 00:12:02 +01:00
Ole Tange bff9531219 parallel: --dryrun implemented. --return of multiple files with
-X. --return of files containing space. Passes testsuite.
2010-12-14 09:40:42 +01:00
Ole Tange 3b3c344097 parallel: pod-file now separated (it became too big).
niceload: rewritten to GetOpt and first testsuite.
2010-12-07 00:30:08 +01:00
Ole Tange ed6181773e parallel: warnings are now sent directly to stderr and not cached.
Test of --tmpdir works.
Testsuite passes.
2010-12-05 23:58:22 +01:00
Ole Tange f3b7af993a parallel: passes unittest 2010-12-04 15:47:01 +01:00
Ole Tange 01f3a08b55 parallel: --load implemented and documented. How do to testsuite? 2010-12-04 14:14:28 +01:00
Ole Tange e907f723e7 parallel: Code cleanup 2010-12-04 04:06:27 +01:00
Ole Tange 0b31661e8e parallel: --load implemented but not tested. Testsuite passes. 2010-12-03 16:48:49 +01:00
Ole Tange baba462a0d parallel: implemented --nice 2010-12-03 15:22:01 +01:00
Ole Tange f64af319bd niceload: Initial GNU version. 2010-12-03 14:42:22 +01:00
Ole Tange bb2a3ae5bc parallel: added --tmpdir. 2010-12-03 14:08:40 +01:00
Ole Tange 310ddc31ee Fixed #31664: Implement {/} as basename 2010-12-03 00:10:05 +01:00
Ole Tange 77f83e6270 basenamereplace and basenameextensionreplace activated.
Testsuite of {/} {/.} {#/.} {#/}.
2010-12-03 00:04:12 +01:00
Ole Tange 69e7da5bff Released as 20101202.
Debian packaging rolled back.
2010-12-02 21:58:10 +01:00
Ole Tange 4d22781652 --command, -c, --file, and -f now obsoleted. --eta works again.
Bugfix in testsuite for --retries.
Lots of dead code removed.
2010-11-29 23:59:16 +01:00
Ole Tange 46cc1980fa parallel: --progress to STDERR. Test of -M. 2010-11-28 04:11:45 +01:00
Ole Tange 16bf961945 parallel: Now passes test32. test34 has an insignificant warning. 2010-11-28 02:09:53 +01:00
Ole Tange ae08cc3b1c parallel: SSHLogin rewritten to OO. Minor failures in test32 and test34. 2010-11-26 01:45:04 +01:00
Ole Tange 364c394df2 parallel: Speedup of arg processing.
Removing dead code.
2010-11-23 01:40:50 +01:00
Ole Tange 8865cbb10f parallel: Argument handling re-written to OO.
The code is quite messy, the implementation is fairly slow, but the
structure seems sound and it passes the testsuite.
basename {/} and {/.} implemented.
Flushing of STDERR and STDOUT after each job completes.
2010-11-22 10:35:53 +01:00
Ole Tange f7355734a5 Released as 20101113. Test to be compatible with old perllibs 2010-11-15 22:46:36 +01:00
Ole Tange 4ed346760b parallel: GetOptionsFromArray is not supported everywhere 2010-11-15 20:14:27 +01:00
Ole Tange d7c87979f9 Merge branch 'master' of ssh://newton.binf.ku.dk:24222/home/tange/privat/parallel 2010-11-13 17:33:02 +01:00
Ole Tange f5cb948f95 Fixed version 2010-11-13 17:28:35 +01:00
Ole Tange 90c333085d Release candidate 20101113 2010-11-13 14:57:39 +01:00
Ole Tange 0f9e570d7a parallel: Added man page for (unimplemented) basename 2010-11-09 18:09:33 +01:00
Ole Tange 7c1fb94ddb Merge branch 'master' of ssh://newton.binf.ku.dk:24222/home/tange/privat/parallel 2010-11-02 23:39:25 +01:00
Ole Tange 12596830ce parallel: Better example in man page: Use multiple inputs in one command 2010-11-02 23:36:12 +01:00
Ole Tange ea0dfc913e parallel: Implemented --profile. Untested. 2010-11-02 17:11:32 +01:00
Ole Tange 0f094ba5b2 Bugfix: sprintf used %d with no matching argument 2010-10-31 03:11:18 +01:00
Ole Tange f085a37a40 parallel: Implemented $PARALLEL_SEQ and $PARALLEL_PID.
-v now only show the command to be run. Use -vv to see the surrounding ssh wrapping.
--workdir implemented. Spelling mistakes.
2010-10-27 01:50:58 +02:00
Ole Tange 87747a44b4 parallel: Too slow spawning only gives a warning, not an error.
.parallelrc is now read along with .parallel/config.
Passes testsuite.
2010-10-14 23:13:48 +02:00
Ole Tange 428faf33b7 parallel: Bugfix: empty line and --colsep 2010-10-09 21:55:01 +02:00
Ole Tange cce81b5735 parallel: implemented -j file. Passes testsuite. 2010-10-06 22:18:32 +02:00
Ole Tange 44bdda5387 parallel: Give warning if stdin is tty 2010-10-06 20:29:16 +02:00
Ole Tange 692bb88453 parallel: EXAMPLE: Start editor with filenames from stdin (standard input).
parallel: EXAMPLE: GNU Parallel as queue system/batch manager.
2010-10-05 22:22:52 +02:00
Ole Tange 6f03760b56 sql: \n and \x0a in arguments is replaced with newline. Passes unittest. Added more examples. 2010-09-22 23:54:42 +02:00
Ole Tange e06f6d52ce parallel: Added difference between paexec 2010-09-22 01:17:05 +02:00
Ole Tange 59cb631264 Bugfix: --keeporder with -j100% mixed up order of first job
parallel: Unittest for --retries. Passes unittest.
2010-09-21 22:00:30 +02:00
Ole Tange 2e572c00c9 parallel: --retries implemented. Passes unittest. 2010-09-21 09:34:53 +02:00
Ole Tange 8703e6b5c5 sql: --list-tables implemented. %-encode all elements of DBURL.
Passes sql-part of unittest.
2010-09-15 00:24:08 +02:00
Ole Tange 28f9796b4e sql: Each arg on command line will add a \n. Useful for Oracle 2010-09-14 23:25:53 +02:00
Ole Tange 22934a4bcd sql: Deal with :aliases containing ?query parts in batch mode.
:aliases?query is still a problem in interactive mode.
Passes sql-part of unittest.
2010-09-14 18:37:26 +02:00
Ole Tange e63e97916c sql: RFC3986 calls the statement part a query. Let's do that, too.
sql: test sql02 and results.
2010-09-10 00:58:34 +02:00
Ole Tange 944a4fdd4f sql: alias can now contain statement 2010-09-10 00:37:32 +02:00
Ole Tange c9b2a3f727 sql: Test of %-quoting.
sql: Test of cyclic aliases.
2010-09-10 00:18:43 +02:00
Ole Tange 9711803e61 sql: allow dburl prefix 'sql:' 2010-09-09 23:30:56 +02:00
Ole Tange 0db41520c3 sql: basic dburl?sqlstatement works. No unittest 2010-09-09 23:21:11 +02:00
Ole Tange ffd548e168 sql: sqlite implemented. sql unittest passes. 2010-09-09 09:39:57 +02:00
Ole Tange 20eab02de2 parallel: --hashbang alias for --shebang.
sql: .dburl.aliases -> .sql/aliases.
unittest passes.
2010-09-08 01:43:11 +02:00
Ole Tange 0a5434c071 sql: renamed .dburl.aliases to .sql/aliases and /etc/sql/aliases.
Fixed bug if DBURL is NULL.
2010-09-07 13:15:29 +02:00
Ole Tange 6383459ddb Makefile for Debian package 2010-09-07 00:15:53 +02:00
Ole Tange 9b4f83dd59 Released as 20100906 2010-09-06 00:48:28 +02:00
Ole Tange 847841aa11 BSD xargs -o (open /dev/tty) is now default for the job running in foreground.
Useful for: ls | parallel -Xuj1 vi.
Unittest for tty commands using the command 'script'.
2010-09-05 12:22:08 +02:00
Ole Tange 32a3f8340b sql: Added unittest, --shebang, --version, --help.
parallel: bugfix in unittest.
Passes unittest
2010-09-01 15:26:45 +02:00
Ole Tange 16939a0fa6 --shebang implemented. Unittest passes. 2010-08-28 02:46:44 +02:00
Ole Tange 6ad5f9f693 Added: sql - a small script to access sql bases from the command line 2010-08-27 21:16:06 +02:00
Ole Tange b26dbadcc0 Bugfix: --eta/--progress with 0 jobs gave division by zero.
Bugfix in Makefile by Piotr Jaroszyński <p dot jaroszynski at gmail dot com>
2010-08-26 20:03:59 +02:00
Ole Tange 0541bdf9ce Makefile bugfix by: Piotr Jaroszyński p dot jaroszynski at gmail dot com 2010-08-25 16:44:55 +02:00
Ole Tange 8f9038909a Bugfix: make -j2 fails because 'rm pod2htm*' fails. 2010-08-23 13:33:55 +02:00
Ole Tange 97ed1a37e5 Released as 20100822. 2010-08-22 11:00:52 +02:00
Ole Tange 8dcde6b058 A (crappy) example of sem usage. 2010-08-22 02:51:51 +02:00
Ole Tange 0fbd1b2653 --eta was broken. Now fixed.
Race condition in sem fixed with setsid().
Passes unittest.
2010-08-22 01:29:26 +02:00
Ole Tange adff24a1a0 Work around for race condition. Comparison table. 2010-08-17 16:25:40 +02:00
Ole Tange 47cf0f0128 Code cleanup. POD file for mini man page for sem 2010-08-17 08:53:46 +02:00
Ole Tange c7eeac015b --semaphore implemented. Unittest passes. 2010-08-17 00:25:11 +02:00
Ole Tange 94b1c3ec57 Semaphore supporting code. Passes unittest 2010-08-16 18:46:30 +02:00
Ole Tange ac16e65b8a Unittest for sem 2010-08-16 16:16:56 +02:00
Ole Tange 422578c103 Added sem - semaphore for executing shell command lines in parallel 2010-08-15 23:33:49 +02:00
Ole Tange 48c89d6929 Added --sshloginfile .. or -S .. means use ~/.parallel/sshloginfile.
Changed .parallelrc to .parallel/config to avoid having two files in ~/
2010-08-14 22:51:09 +02:00
Ole Tange a038ade0de More examples 2010-08-14 20:39:33 +02:00
Ole Tange fcbfd19220 Example for manual. Bug fix. More unittests. 2010-08-01 20:09:31 +02:00
Ole Tange ab4133d44d Better reading of columns fixed a few bugs. Passes unittest. 2010-07-31 23:19:48 +02:00
Ole Tange 0d1711afbf Code reformatting to make it more outline-mode friendly 2010-07-31 15:05:50 +02:00
Ole Tange 7dd8543a71 Added dummy: packager/0install/parallel.xml 2010-07-31 11:50:46 +02:00
Ole Tange 0d1c249a1a --trim implemented. Unittest passes 2010-07-29 11:39:02 +02:00
Ole Tange 5fea6dfd98 --colsep implemented. Unittest for --colsep missing, but old unittest passes. 2010-07-23 00:39:51 +02:00
Ole Tange e8a30d9fac Code refactor: move :::: and ::: processing. 2010-07-21 13:47:59 +02:00
Ole Tange cc825a2cd3 Unittest for multi file input: cat {2} {1} :::: file1 file2 2010-07-18 15:47:59 +02:00
Ole Tange 611e7db260 Added basic xargs-test. Passes unittest 2010-07-18 04:17:49 +02:00
Ole Tange 757dddaf6c Bugfix: Race condition giving segfault rarely 2010-07-18 00:06:07 +02:00
Ole Tange cf05dae1b1 Implemented {#.} and unittest. 2010-07-14 23:33:38 +02:00
Ole Tange 248fa1c940 Unittest for multiple -a. Code refactor. 2010-07-14 21:54:33 +02:00
Ole Tange 3adfc665f1 Multiple -a implemented. No unittests. 2010-07-14 12:20:32 +02:00
Ole Tange 914df8e1e7 Implemented ::::.
FIXED BUG: Dependent quoting of arguments after :::.
2010-07-14 12:00:10 +02:00
Ole Tange e33b8e0d01 FIXED BUG: Negaive time: time parallel -j+0 --eta -Sserver1,server2,server3,: \
+--transfer --return {.}.bz2 --cleanup 'zcat {} | bzip2 -9 > {.}.bz2' ::: *gz.
FIXED BUG: echo "foo,bar,baz" | parallel -d, -L 1 echo.
2010-07-13 21:24:03 +02:00
Ole Tange ff229d0bd4 Easier calc of max_command_length.
Convert Global:: to Private::.
Bugfix: ETA for args given on command line.
2010-07-09 22:37:45 +02:00
Ole Tange c4678b726d Unittest passes. 2010-07-09 16:25:33 +02:00
Ole Tange 555436f746 Unittest: -0 on filenames ending in \n 2010-07-09 15:24:24 +02:00
Ole Tange 3b8e04b91b More intelligent determining the max line length. 2010-07-09 14:53:56 +02:00
Ole Tange ccd17d35c5 --arg-sep and ::: implemented. 2010-07-09 14:10:22 +02:00
Ole Tange 39d1c6bfa6 De-camelcased sub names 2010-06-27 03:09:28 +02:00
Ole Tange c8c60db5bf Added comments for return statements 2010-06-26 22:30:14 +02:00
Ole Tange 9fd660be71 Bugfix: The length for -X is not close to max (131072) 2010-06-26 01:56:14 +02:00
Ole Tange b9156bb000 --max-line, -l, -L, --max-args, -n, --max-chars, -s now implies -X unless -m is set 2010-06-25 23:14:15 +02:00
Ole Tange d32787376a Fixes: bash -c 'parallel -a <(seq 1 3) echo' 2010-06-25 23:12:28 +02:00
Ole Tange a0f4c5e4d9 Unittest for --interactive. Added --eta. Updated to version 20100620. 2010-06-22 15:24:55 +02:00
Ole Tange c81a15677d Some systems does not receive the SIGCHLD (maybe when running under
/bin/dash?).
Unittest failed if /bin/sh was dash.
2010-06-16 05:03:52 +02:00
Ole Tange 167332902b --progress implemented.
Fixed bug if transfered file contains :.
2010-06-15 00:05:47 +02:00
Ole Tange 847e972912 -L, -l, --max-lines, and -x pass unittest. 2010-06-13 01:24:25 +02:00
Ole Tange 47153f2bae --basefile fixed bug for sshlogin ':' 2010-06-10 03:24:53 +02:00
Ole Tange db1f767749 --basefile no longer breaks old tests 2010-06-10 01:56:51 +02:00
Ole Tange c01590571d --basefile initial version 2010-06-10 00:39:35 +02:00
Ole Tange 27f2829f05 Implemented --halt-on-error.
Make exit status more consistent.
2010-06-09 22:26:59 +02:00
Ole Tange 87b68365dd Update of man page and documentation 2010-06-08 16:13:20 +02:00
Ole Tange 091383c4ab Cleanup for 20100601 release 2010-06-06 01:03:39 +02:00
Ole Tange fee1dae246 Look for options in ~/.parallelrc and $PARALLEL 2010-06-04 02:16:50 +02:00
Ole Tange e99bdb0b82 Implemented --controlmaster. It fails under stress, so experimental and no unittest 2010-06-01 03:31:46 +02:00
Ole Tange b52c1e43df PPSS examples with equivalent GNU parallel syntax 2010-06-01 01:11:28 +02:00
Ole Tange bbb1662979 Man page updated 2010-05-31 01:35:52 +02:00
Ole Tange fd44e4c793 --use-cpus-instead-of-cores implemented with unittests.
More unittests for remote usage (--trc, myssh, and newline files)
2010-05-31 00:30:01 +02:00
Ole Tange ca4e58fbaf Added warning if --trc/--transfer/--return without -S.
Added warning if --transfer and file unreadable.
Unittest of transfering of filename with \n passes.
2010-05-28 00:34:00 +02:00
Ole Tange 55fa0189fb Bug and stress fixes for --sshlogin. Better unittests. 2010-05-27 08:09:28 +02:00
Ole Tange 26868cdc4f src/parallel: --trc works for minimal examples. 2010-05-24 02:48:40 +02:00
Ole Tange fc7fba878b src/parallel: Number of remote CPUs now detected.
Potential bug: If max_command_length is different on the machines.
2010-05-17 08:41:28 +02:00
Ole Tange d26f62a363 src/parallel: sshlogin now passes unittest.
Number of jobs to run on remote hosts is calculated wrongly.
2010-05-16 15:46:32 +02:00
Ole Tange c027f36ccf src/parallel: Bugs conserning filehandles for sshlogin - passes unittest 2010-05-16 14:31:19 +02:00
Ole Tange e28d0baf98 src/parallel: Now passes unittest. 2010-05-16 13:26:17 +02:00
Ole Tange 81afee89ee src/parallel: Minimal sshlogin working - does not pass unittest! 2010-05-16 12:57:49 +02:00
Ole Tange 34ed3a0ae6 src/parallel: refactor: xargs_computations 2010-05-15 23:41:56 +02:00
Ole Tange 3ab7103c70 src/parallel:parse_options refactoring 2010-05-15 23:17:39 +02:00
Ole Tange 65b073c7c4 src/parallel: Better examples 2010-05-13 15:41:52 +02:00
Ole Tange d7be89d786 parallel.html: Added build target 2010-04-28 13:37:34 +02:00
Ole Tange 2b48b700c9 More thorough documentation of releasing a new version 2010-04-27 00:52:13 +02:00
Ole Tange 00d9382abd First GNU release done 2010-04-26 13:24:56 +02:00
Ole Tange ed2dfb1043 Name change: Parallel is now GNU Parallel.
Basic structure for sshlogin and sshloginfile.
2010-04-22 01:23:00 +02:00
Ole Tange 495d8bc0bd Wrote missing man for xargs compatability.
Fixed bug in --arg-file.
Implemented --show-limits.
2010-04-21 21:28:00 +02:00
Ole Tange 3e50ba19cf Automake cleanup (as per recommendations from automake@gnu.org) 2010-04-20 09:21:23 +02:00
Ole Tange ddcd70d47b Documentation license update 2010-04-20 08:27:53 +02:00
Ole Tange 84cc81a5d8 Renamed back to parallel. 2010-04-19 09:20:50 +02:00
Ole Tange 1a0103da04 Minor cleanup 2010-04-19 09:07:12 +02:00
Ole Tange 3fa2a4a8d4 Implemented automake
Prepared for name change to 'par'
2010-04-18 16:18:31 +02:00