Commit graph

886 commits

Author SHA1 Message Date
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