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
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
2b2bbe889a
Released as version 20101113
2010-11-13 17:04:58 +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
ea0dfc913e
parallel: Implemented --profile. Untested.
2010-11-02 17:11:32 +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
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
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
c9b2a3f727
sql: Test of %-quoting.
...
sql: Test of cyclic aliases.
2010-09-10 00:18:43 +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
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
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
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
ad25eb3f5a
Bugfix in unittest. Unittest from xargs works a little better.
2010-07-18 18:04:07 +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
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