Commit graph

61 commits

Author SHA1 Message Date
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 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 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 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 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 ac16e65b8a Unittest for sem 2010-08-16 16:16:56 +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 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 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 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 914df8e1e7 Implemented ::::.
FIXED BUG: Dependent quoting of arguments after :::.
2010-07-14 12:00:10 +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 555436f746 Unittest: -0 on filenames ending in \n 2010-07-09 15:24:24 +02:00
Ole Tange ccd17d35c5 --arg-sep and ::: implemented. 2010-07-09 14:10:22 +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 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 db1f767749 --basefile no longer breaks old tests 2010-06-10 01:56:51 +02:00
Ole Tange 27f2829f05 Implemented --halt-on-error.
Make exit status more consistent.
2010-06-09 22:26:59 +02:00
Ole Tange fee1dae246 Look for options in ~/.parallelrc and $PARALLEL 2010-06-04 02:16:50 +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 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 4d4cd03a0d tests-to-run/test15.sh: Race condition would give false positive. Fixed. 2010-05-15 15:49:38 +02:00
Ole Tange 00d9382abd First GNU release done 2010-04-26 13:24:56 +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 3fa2a4a8d4 Implemented automake
Prepared for name change to 'par'
2010-04-18 16:18:31 +02:00
Ole Tange e90e412282 Makefile: Added clean target
test16: Added unittest of {.}
2010-04-13 23:44:02 +02:00
Ole Tange a8c29c8f33 --extensionreplace implemented
A few bugs around {} fixed
2010-04-13 22:59:39 +02:00
Ole Tange 6db05dc16e Man pages update.
Small unittest change
2010-03-06 10:11:11 +01:00
Ole Tange 0214645ed9 parallel: Bug fix: If replace string contains regexp special char it should be escaped.
Most xargs options implemented with unittest - though still undocumented
2010-02-04 00:54:06 +01:00
Ole Tange 2280fd8215 parallel: Made options compatible with xargs: -x -> -m, -s -> --silent 2010-02-03 16:32:36 +01:00
Ole Tange aaa69ffa1b parallel: Converted to Getopt::Long. Implemented -TERM for shutdown. 2010-02-03 15:23:20 +01:00
Ole Tange fcfc9f6d70 parallel: Implemented replacement string -I similar to xargs -I 2009-11-10 15:14:15 +01:00
Ole Tange 5059b5453a SIGUSR1 tells parallel to wait for running jobs to finish, but not start new jobs.
Lazy evaluation of max_length_of_command_line and no_of_cpus
2009-10-26 12:22:21 +01:00
Ole Tange 2d930320ad Added -k: Keep sequence of output same as the order of input.
If jobs 1 2 3 4 end in the sequence 3 1 4 2 the output will still be 1 2 3 4.
2009-09-04 07:23:57 +02:00
Ole Tange 9d593557ce Fixed:
echo a | parallel -qX echo  "'"{}"' "
Trailing \ in regex m/\'{}\'\/ at /home/tange/bin/parallel line 479, <STDIN> line 1.

echo a | parallel -qX echo  "'{}'"
<<infinite loop>>
2009-08-26 14:33:14 +02:00
Ole Tange ae9ed6753c Bug fix: output bigger than 4 GB causes out of memory 2009-06-07 23:29:42 +02:00