mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-21 21:47:54 +00:00
First GNU release done
This commit is contained in:
parent
ed2dfb1043
commit
00d9382abd
|
@ -32,7 +32,7 @@ NORMAL_UNINSTALL = :
|
|||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
subdir = .
|
||||
DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
|
||||
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
|
||||
$(srcdir)/Makefile.in $(srcdir)/config.h.in \
|
||||
$(top_srcdir)/configure install-sh missing
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
@%:@! /bin/sh
|
||||
@%:@ Guess values for system-dependent variables and create Makefiles.
|
||||
@%:@ Generated by GNU Autoconf 2.65 for parallel 20100420.
|
||||
@%:@ Generated by GNU Autoconf 2.65 for parallel 20100424.
|
||||
@%:@
|
||||
@%:@ Report bugs to <bug-parallel@tange.dk>.
|
||||
@%:@ Report bugs to <bug-parallel@gnu.org>.
|
||||
@%:@
|
||||
@%:@
|
||||
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
||||
|
@ -230,7 +230,7 @@ fi
|
|||
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
||||
else
|
||||
$as_echo "$0: Please tell bug-autoconf@gnu.org and
|
||||
$0: bug-parallel@tange.dk about your system, including any
|
||||
$0: bug-parallel@gnu.org about your system, including any
|
||||
$0: error possibly output before this message. Then install
|
||||
$0: a modern shell, or manually run the script under such a
|
||||
$0: shell if you do have one."
|
||||
|
@ -551,9 +551,9 @@ MAKEFLAGS=
|
|||
# Identity of this package.
|
||||
PACKAGE_NAME='parallel'
|
||||
PACKAGE_TARNAME='parallel'
|
||||
PACKAGE_VERSION='20100420'
|
||||
PACKAGE_STRING='parallel 20100420'
|
||||
PACKAGE_BUGREPORT='bug-parallel@tange.dk'
|
||||
PACKAGE_VERSION='20100424'
|
||||
PACKAGE_STRING='parallel 20100424'
|
||||
PACKAGE_BUGREPORT='bug-parallel@gnu.org'
|
||||
PACKAGE_URL=''
|
||||
|
||||
ac_subst_vars='LTLIBOBJS
|
||||
|
@ -1167,7 +1167,7 @@ if test "$ac_init_help" = "long"; then
|
|||
# Omit some internal or obsolete options to make the list less imposing.
|
||||
# This message is too long to be a string in the A/UX 3.1 sh.
|
||||
cat <<_ACEOF
|
||||
\`configure' configures parallel 20100420 to adapt to many kinds of systems.
|
||||
\`configure' configures parallel 20100424 to adapt to many kinds of systems.
|
||||
|
||||
Usage: $0 [OPTION]... [VAR=VALUE]...
|
||||
|
||||
|
@ -1233,11 +1233,11 @@ fi
|
|||
|
||||
if test -n "$ac_init_help"; then
|
||||
case $ac_init_help in
|
||||
short | recursive ) echo "Configuration of parallel 20100420:";;
|
||||
short | recursive ) echo "Configuration of parallel 20100424:";;
|
||||
esac
|
||||
cat <<\_ACEOF
|
||||
|
||||
Report bugs to <bug-parallel@tange.dk>.
|
||||
Report bugs to <bug-parallel@gnu.org>.
|
||||
_ACEOF
|
||||
ac_status=$?
|
||||
fi
|
||||
|
@ -1300,7 +1300,7 @@ fi
|
|||
test -n "$ac_init_help" && exit $ac_status
|
||||
if $ac_init_version; then
|
||||
cat <<\_ACEOF
|
||||
parallel configure 20100420
|
||||
parallel configure 20100424
|
||||
generated by GNU Autoconf 2.65
|
||||
|
||||
Copyright (C) 2009 Free Software Foundation, Inc.
|
||||
|
@ -1317,7 +1317,7 @@ cat >config.log <<_ACEOF
|
|||
This file contains any messages produced by compilers while
|
||||
running configure, to aid debugging if configure makes a mistake.
|
||||
|
||||
It was created by parallel $as_me 20100420, which was
|
||||
It was created by parallel $as_me 20100424, which was
|
||||
generated by GNU Autoconf 2.65. Invocation command line was
|
||||
|
||||
$ $0 $@
|
||||
|
@ -2125,7 +2125,7 @@ fi
|
|||
|
||||
# Define the identity of the package.
|
||||
PACKAGE='parallel'
|
||||
VERSION='20100420'
|
||||
VERSION='20100424'
|
||||
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
|
@ -2675,7 +2675,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|||
# report actual input values of CONFIG_FILES etc. instead of their
|
||||
# values after options handling.
|
||||
ac_log="
|
||||
This file was extended by parallel $as_me 20100420, which was
|
||||
This file was extended by parallel $as_me 20100424, which was
|
||||
generated by GNU Autoconf 2.65. Invocation command line was
|
||||
|
||||
CONFIG_FILES = $CONFIG_FILES
|
||||
|
@ -2731,13 +2731,13 @@ $config_files
|
|||
Configuration headers:
|
||||
$config_headers
|
||||
|
||||
Report bugs to <bug-parallel@tange.dk>."
|
||||
Report bugs to <bug-parallel@gnu.org>."
|
||||
|
||||
_ACEOF
|
||||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
||||
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
||||
ac_cs_version="\\
|
||||
parallel config.status 20100420
|
||||
parallel config.status 20100424
|
||||
configured by $0, generated by GNU Autoconf 2.65,
|
||||
with options \\"\$ac_cs_config\\"
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
@%:@! /bin/sh
|
||||
@%:@ Guess values for system-dependent variables and create Makefiles.
|
||||
@%:@ Generated by GNU Autoconf 2.65 for parallel 20100420.
|
||||
@%:@ Generated by GNU Autoconf 2.65 for parallel 20100424.
|
||||
@%:@
|
||||
@%:@ Report bugs to <bug-parallel@tange.dk>.
|
||||
@%:@ Report bugs to <bug-parallel@gnu.org>.
|
||||
@%:@
|
||||
@%:@
|
||||
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
||||
|
@ -230,7 +230,7 @@ fi
|
|||
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
||||
else
|
||||
$as_echo "$0: Please tell bug-autoconf@gnu.org and
|
||||
$0: bug-parallel@tange.dk about your system, including any
|
||||
$0: bug-parallel@gnu.org about your system, including any
|
||||
$0: error possibly output before this message. Then install
|
||||
$0: a modern shell, or manually run the script under such a
|
||||
$0: shell if you do have one."
|
||||
|
@ -551,9 +551,9 @@ MAKEFLAGS=
|
|||
# Identity of this package.
|
||||
PACKAGE_NAME='parallel'
|
||||
PACKAGE_TARNAME='parallel'
|
||||
PACKAGE_VERSION='20100420'
|
||||
PACKAGE_STRING='parallel 20100420'
|
||||
PACKAGE_BUGREPORT='bug-parallel@tange.dk'
|
||||
PACKAGE_VERSION='20100424'
|
||||
PACKAGE_STRING='parallel 20100424'
|
||||
PACKAGE_BUGREPORT='bug-parallel@gnu.org'
|
||||
PACKAGE_URL=''
|
||||
|
||||
ac_subst_vars='LTLIBOBJS
|
||||
|
@ -1167,7 +1167,7 @@ if test "$ac_init_help" = "long"; then
|
|||
# Omit some internal or obsolete options to make the list less imposing.
|
||||
# This message is too long to be a string in the A/UX 3.1 sh.
|
||||
cat <<_ACEOF
|
||||
\`configure' configures parallel 20100420 to adapt to many kinds of systems.
|
||||
\`configure' configures parallel 20100424 to adapt to many kinds of systems.
|
||||
|
||||
Usage: $0 [OPTION]... [VAR=VALUE]...
|
||||
|
||||
|
@ -1233,11 +1233,11 @@ fi
|
|||
|
||||
if test -n "$ac_init_help"; then
|
||||
case $ac_init_help in
|
||||
short | recursive ) echo "Configuration of parallel 20100420:";;
|
||||
short | recursive ) echo "Configuration of parallel 20100424:";;
|
||||
esac
|
||||
cat <<\_ACEOF
|
||||
|
||||
Report bugs to <bug-parallel@tange.dk>.
|
||||
Report bugs to <bug-parallel@gnu.org>.
|
||||
_ACEOF
|
||||
ac_status=$?
|
||||
fi
|
||||
|
@ -1300,7 +1300,7 @@ fi
|
|||
test -n "$ac_init_help" && exit $ac_status
|
||||
if $ac_init_version; then
|
||||
cat <<\_ACEOF
|
||||
parallel configure 20100420
|
||||
parallel configure 20100424
|
||||
generated by GNU Autoconf 2.65
|
||||
|
||||
Copyright (C) 2009 Free Software Foundation, Inc.
|
||||
|
@ -1317,7 +1317,7 @@ cat >config.log <<_ACEOF
|
|||
This file contains any messages produced by compilers while
|
||||
running configure, to aid debugging if configure makes a mistake.
|
||||
|
||||
It was created by parallel $as_me 20100420, which was
|
||||
It was created by parallel $as_me 20100424, which was
|
||||
generated by GNU Autoconf 2.65. Invocation command line was
|
||||
|
||||
$ $0 $@
|
||||
|
@ -2125,7 +2125,7 @@ fi
|
|||
|
||||
# Define the identity of the package.
|
||||
PACKAGE='parallel'
|
||||
VERSION='20100420'
|
||||
VERSION='20100424'
|
||||
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
|
@ -2675,7 +2675,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|||
# report actual input values of CONFIG_FILES etc. instead of their
|
||||
# values after options handling.
|
||||
ac_log="
|
||||
This file was extended by parallel $as_me 20100420, which was
|
||||
This file was extended by parallel $as_me 20100424, which was
|
||||
generated by GNU Autoconf 2.65. Invocation command line was
|
||||
|
||||
CONFIG_FILES = $CONFIG_FILES
|
||||
|
@ -2731,13 +2731,13 @@ $config_files
|
|||
Configuration headers:
|
||||
$config_headers
|
||||
|
||||
Report bugs to <bug-parallel@tange.dk>."
|
||||
Report bugs to <bug-parallel@gnu.org>."
|
||||
|
||||
_ACEOF
|
||||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
||||
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
||||
ac_cs_version="\\
|
||||
parallel config.status 20100420
|
||||
parallel config.status 20100424
|
||||
configured by $0, generated by GNU Autoconf 2.65,
|
||||
with options \\"\$ac_cs_config\\"
|
||||
|
||||
|
|
|
@ -64,8 +64,8 @@
|
|||
'AM_SET_LEADING_DOT' => 1,
|
||||
'AM_SET_DEPDIR' => 1,
|
||||
'_AM_DEPENDENCIES' => 1,
|
||||
'm4_include' => 1,
|
||||
'AM_PROG_INSTALL_SH' => 1,
|
||||
'm4_include' => 1,
|
||||
'_AC_AM_CONFIG_HEADER_HOOK' => 1,
|
||||
'AU_DEFUN' => 1,
|
||||
'AM_MAKE_INCLUDE' => 1
|
||||
|
@ -83,25 +83,25 @@
|
|||
'configure.ac'
|
||||
],
|
||||
{
|
||||
'AM_PROG_F77_C_O' => 1,
|
||||
'_LT_AC_TAGCONFIG' => 1,
|
||||
'AC_INIT' => 1,
|
||||
'AM_PROG_F77_C_O' => 1,
|
||||
'm4_pattern_forbid' => 1,
|
||||
'AC_CANONICAL_TARGET' => 1,
|
||||
'AC_INIT' => 1,
|
||||
'_AM_COND_IF' => 1,
|
||||
'AC_CONFIG_LIBOBJ_DIR' => 1,
|
||||
'AC_CANONICAL_TARGET' => 1,
|
||||
'AC_SUBST' => 1,
|
||||
'AC_CANONICAL_HOST' => 1,
|
||||
'AC_CONFIG_LIBOBJ_DIR' => 1,
|
||||
'AC_FC_SRCEXT' => 1,
|
||||
'AC_CANONICAL_HOST' => 1,
|
||||
'AC_PROG_LIBTOOL' => 1,
|
||||
'AM_INIT_AUTOMAKE' => 1,
|
||||
'AC_CONFIG_SUBDIRS' => 1,
|
||||
'AM_AUTOMAKE_VERSION' => 1,
|
||||
'LT_CONFIG_LTDL_DIR' => 1,
|
||||
'AC_CONFIG_LINKS' => 1,
|
||||
'AC_REQUIRE_AUX_FILE' => 1,
|
||||
'LT_SUPPORTED_TAG' => 1,
|
||||
'AC_CONFIG_LINKS' => 1,
|
||||
'm4_sinclude' => 1,
|
||||
'LT_SUPPORTED_TAG' => 1,
|
||||
'AM_MAINTAINER_MODE' => 1,
|
||||
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
|
||||
'_m4_warn' => 1,
|
||||
|
@ -114,17 +114,17 @@
|
|||
'include' => 1,
|
||||
'AM_GNU_GETTEXT' => 1,
|
||||
'AC_LIBSOURCE' => 1,
|
||||
'AC_CANONICAL_BUILD' => 1,
|
||||
'AM_PROG_FC_C_O' => 1,
|
||||
'AC_CANONICAL_BUILD' => 1,
|
||||
'AC_FC_FREEFORM' => 1,
|
||||
'AH_OUTPUT' => 1,
|
||||
'AC_CONFIG_AUX_DIR' => 1,
|
||||
'_AM_SUBST_NOTMAKE' => 1,
|
||||
'AM_PROG_CC_C_O' => 1,
|
||||
'm4_pattern_allow' => 1,
|
||||
'AC_CONFIG_AUX_DIR' => 1,
|
||||
'sinclude' => 1,
|
||||
'AM_CONDITIONAL' => 1,
|
||||
'm4_pattern_allow' => 1,
|
||||
'AM_PROG_CC_C_O' => 1,
|
||||
'AC_CANONICAL_SYSTEM' => 1,
|
||||
'AM_CONDITIONAL' => 1,
|
||||
'AC_CONFIG_HEADERS' => 1,
|
||||
'AC_DEFINE_TRACE_LITERAL' => 1,
|
||||
'm4_include' => 1,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
m4trace:configure.ac:1: -1- AC_INIT([parallel], [20100420], [bug-parallel@tange.dk])
|
||||
m4trace:configure.ac:1: -1- AC_INIT([parallel], [20100424], [bug-parallel@gnu.org])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?A[CHUM]_])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_forbid([_AC_])
|
||||
m4trace:configure.ac:1: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
|
||||
|
|
30
configure
vendored
30
configure
vendored
|
@ -1,8 +1,8 @@
|
|||
#! /bin/sh
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.65 for parallel 20100420.
|
||||
# Generated by GNU Autoconf 2.65 for parallel 20100424.
|
||||
#
|
||||
# Report bugs to <bug-parallel@tange.dk>.
|
||||
# Report bugs to <bug-parallel@gnu.org>.
|
||||
#
|
||||
#
|
||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
||||
|
@ -230,7 +230,7 @@ fi
|
|||
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
||||
else
|
||||
$as_echo "$0: Please tell bug-autoconf@gnu.org and
|
||||
$0: bug-parallel@tange.dk about your system, including any
|
||||
$0: bug-parallel@gnu.org about your system, including any
|
||||
$0: error possibly output before this message. Then install
|
||||
$0: a modern shell, or manually run the script under such a
|
||||
$0: shell if you do have one."
|
||||
|
@ -551,9 +551,9 @@ MAKEFLAGS=
|
|||
# Identity of this package.
|
||||
PACKAGE_NAME='parallel'
|
||||
PACKAGE_TARNAME='parallel'
|
||||
PACKAGE_VERSION='20100420'
|
||||
PACKAGE_STRING='parallel 20100420'
|
||||
PACKAGE_BUGREPORT='bug-parallel@tange.dk'
|
||||
PACKAGE_VERSION='20100424'
|
||||
PACKAGE_STRING='parallel 20100424'
|
||||
PACKAGE_BUGREPORT='bug-parallel@gnu.org'
|
||||
PACKAGE_URL=''
|
||||
|
||||
ac_subst_vars='LTLIBOBJS
|
||||
|
@ -1167,7 +1167,7 @@ if test "$ac_init_help" = "long"; then
|
|||
# Omit some internal or obsolete options to make the list less imposing.
|
||||
# This message is too long to be a string in the A/UX 3.1 sh.
|
||||
cat <<_ACEOF
|
||||
\`configure' configures parallel 20100420 to adapt to many kinds of systems.
|
||||
\`configure' configures parallel 20100424 to adapt to many kinds of systems.
|
||||
|
||||
Usage: $0 [OPTION]... [VAR=VALUE]...
|
||||
|
||||
|
@ -1233,11 +1233,11 @@ fi
|
|||
|
||||
if test -n "$ac_init_help"; then
|
||||
case $ac_init_help in
|
||||
short | recursive ) echo "Configuration of parallel 20100420:";;
|
||||
short | recursive ) echo "Configuration of parallel 20100424:";;
|
||||
esac
|
||||
cat <<\_ACEOF
|
||||
|
||||
Report bugs to <bug-parallel@tange.dk>.
|
||||
Report bugs to <bug-parallel@gnu.org>.
|
||||
_ACEOF
|
||||
ac_status=$?
|
||||
fi
|
||||
|
@ -1300,7 +1300,7 @@ fi
|
|||
test -n "$ac_init_help" && exit $ac_status
|
||||
if $ac_init_version; then
|
||||
cat <<\_ACEOF
|
||||
parallel configure 20100420
|
||||
parallel configure 20100424
|
||||
generated by GNU Autoconf 2.65
|
||||
|
||||
Copyright (C) 2009 Free Software Foundation, Inc.
|
||||
|
@ -1317,7 +1317,7 @@ cat >config.log <<_ACEOF
|
|||
This file contains any messages produced by compilers while
|
||||
running configure, to aid debugging if configure makes a mistake.
|
||||
|
||||
It was created by parallel $as_me 20100420, which was
|
||||
It was created by parallel $as_me 20100424, which was
|
||||
generated by GNU Autoconf 2.65. Invocation command line was
|
||||
|
||||
$ $0 $@
|
||||
|
@ -2125,7 +2125,7 @@ fi
|
|||
|
||||
# Define the identity of the package.
|
||||
PACKAGE='parallel'
|
||||
VERSION='20100420'
|
||||
VERSION='20100424'
|
||||
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
|
@ -2675,7 +2675,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|||
# report actual input values of CONFIG_FILES etc. instead of their
|
||||
# values after options handling.
|
||||
ac_log="
|
||||
This file was extended by parallel $as_me 20100420, which was
|
||||
This file was extended by parallel $as_me 20100424, which was
|
||||
generated by GNU Autoconf 2.65. Invocation command line was
|
||||
|
||||
CONFIG_FILES = $CONFIG_FILES
|
||||
|
@ -2731,13 +2731,13 @@ $config_files
|
|||
Configuration headers:
|
||||
$config_headers
|
||||
|
||||
Report bugs to <bug-parallel@tange.dk>."
|
||||
Report bugs to <bug-parallel@gnu.org>."
|
||||
|
||||
_ACEOF
|
||||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
||||
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
||||
ac_cs_version="\\
|
||||
parallel config.status 20100420
|
||||
parallel config.status 20100424
|
||||
configured by $0, generated by GNU Autoconf 2.65,
|
||||
with options \\"\$ac_cs_config\\"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
AC_INIT([parallel], [20100422], [bug-parallel@gnu.org])
|
||||
AC_INIT([parallel], [20100424], [bug-parallel@gnu.org])
|
||||
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AC_CONFIG_FILES([
|
||||
|
|
4
doc/parallel-directive.asc
Normal file
4
doc/parallel-directive.asc
Normal file
|
@ -0,0 +1,4 @@
|
|||
version: 1.1
|
||||
directory: parallel
|
||||
filename: parallel-20100424.tar.bz2
|
||||
comment: Initial release of GNU Parallel
|
52
doc/release_new_version
Normal file
52
doc/release_new_version
Normal file
|
@ -0,0 +1,52 @@
|
|||
= Notes on how to release new version =
|
||||
|
||||
== Update version ==
|
||||
|
||||
=== configure.ac ===
|
||||
configure.ac: AC_INIT([parallel], [20100422], [bug-parallel@gnu.org])
|
||||
|
||||
YYYYMMDD=`yyyymmdd`
|
||||
perl -i -pe "s/20\d\d\d\d\d\d/$YYYYMMDD/" configure.ac
|
||||
|
||||
=== src/parallel ===
|
||||
|
||||
src/parallel: $Global::version = 20100422;
|
||||
|
||||
YYYYMMDD=`yyyymmdd`
|
||||
perl -i -pe "/version/ and s/20\d\d\d\d\d\d/$YYYYMMDD/" src/parallel
|
||||
|
||||
=== directive file for ftp ===
|
||||
|
||||
YYYYMMDD=`yyyymmdd`
|
||||
perl -i -pe "/version/ and s/20\d\d\d\d\d\d/$YYYYMMDD/" parallel-*.tar.*directive.asc
|
||||
|
||||
== Autoconf/automake ==
|
||||
|
||||
rm -fr autom4te.cache aclocal.m4 config.h config.h.in config.log Makefile.in missing install-sh
|
||||
rm -rf src/Makefile.in
|
||||
autoreconf --install -W gnu
|
||||
./configure
|
||||
make
|
||||
|
||||
== Unittest ==
|
||||
|
||||
cd unittest; make unittest
|
||||
|
||||
== Package ==
|
||||
|
||||
./configure
|
||||
make dist
|
||||
make bzip2-dist
|
||||
|
||||
== Upload ==
|
||||
|
||||
YYYYMMDD=`yyyymmdd`
|
||||
cp doc/parallel-directive.asc parallel-$YYYYMMDD.tar.bz2.directive
|
||||
perl -i -pe "s/20\d\d\d\d\d\d/$YYYYMMDD/" parallel-*.tar.*directive
|
||||
gpg --clearsign parallel-*.tar.*directive
|
||||
|
||||
YYYYMMDD=`yyyymmdd`
|
||||
gpg -b parallel-$YYYYMMDD.tar.bz2
|
||||
|
||||
YYYYMMDD=`yyyymmdd`
|
||||
echo put parallel-$YYYYMMDD.tar.bz2{,.sig,*asc} | ncftp ftp://ftp-upload.gnu.org/incoming/ftp/
|
|
@ -6,3 +6,4 @@ parallel.1: parallel Makefile
|
|||
--section=1 $(srcdir)/parallel > $(srcdir)/parallel.1
|
||||
|
||||
DISTCLEANFILES = parallel.1
|
||||
EXTRA_DIST = parallel parallel.1
|
||||
|
|
|
@ -146,6 +146,7 @@ top_srcdir = @top_srcdir@
|
|||
bin_SCRIPTS = parallel
|
||||
man_MANS = parallel.1
|
||||
DISTCLEANFILES = parallel.1
|
||||
EXTRA_DIST = parallel parallel.1
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
|
|
64
src/parallel
64
src/parallel
|
@ -54,16 +54,16 @@ not contain B<.> it will remain unchanged.
|
|||
|
||||
Use NUL as delimiter. Normally input lines will end in \n
|
||||
(newline). If they end in \0 (NUL), then use this option. It is useful
|
||||
for processing filenames that may contain \n (newline).
|
||||
for processing arguments that may contain \n (newline).
|
||||
|
||||
|
||||
=item B<--arg-file>=I<file>
|
||||
=item B<--arg-file>=I<input-file>
|
||||
|
||||
=item B<-a> I<file>
|
||||
=item B<-a> I<input-file>
|
||||
|
||||
Read items from file instead of standard input. If you use this
|
||||
option, stdin is given to the first process run. Otherwise, stdin is
|
||||
redirected from /dev/null.
|
||||
Read items from the file I<input-file> instead of standard input. If
|
||||
you use this option, stdin is given to the first process run.
|
||||
Otherwise, stdin is redirected from /dev/null.
|
||||
|
||||
|
||||
=item B<--cleanup> (not implemented)
|
||||
|
@ -271,8 +271,7 @@ with 'y' or 'Y'. Implies B<-t>.
|
|||
|
||||
=item B<-r>
|
||||
|
||||
If the standard input does not contain any nonblanks, do not run the
|
||||
command.
|
||||
If the standard input only contains whitespace, do not run the command.
|
||||
|
||||
=item B<--return> I<filename> (not implemented)
|
||||
|
||||
|
@ -283,25 +282,25 @@ from the remote server using B<rsync> and will be put relative to
|
|||
the default login dir. E.g.
|
||||
|
||||
echo foo/bar.txt | parallel \
|
||||
--sshlogin server.example.com --return {}.out touch {}.out
|
||||
--sshlogin server.example.com --return {.}.out touch {.}.out
|
||||
|
||||
This will transfer the file I<$HOME/foo/bar.txt.out> from the server
|
||||
I<server.example.com> to the file I<foo/bar.txt.out> after running
|
||||
B<touch foo/bar.txt.out> on I<server.example.com>.
|
||||
This will transfer the file I<$HOME/foo/bar.out> from the server
|
||||
I<server.example.com> to the file I<foo/bar.out> after running
|
||||
B<touch foo/bar.out> on I<server.example.com>.
|
||||
|
||||
echo /tmp/foo/bar.txt | parallel \
|
||||
--sshlogin server.example.com --return {}.out touch {}.out
|
||||
--sshlogin server.example.com --return {.}.out touch {.}.out
|
||||
|
||||
This will transfer the file I</tmp/foo/bar.txt.out> from the server
|
||||
I<server.example.com> to the file I</tmp/foo/bar.txt.out> after running
|
||||
B<touch /tmp/foo/bar.txt.out> on I<server.example.com>.
|
||||
This will transfer the file I</tmp/foo/bar.out> from the server
|
||||
I<server.example.com> to the file I</tmp/foo/bar.out> after running
|
||||
B<touch /tmp/foo/bar.out> on I<server.example.com>.
|
||||
|
||||
Multiple files can be transfered by repeating the options multiple
|
||||
times:
|
||||
|
||||
echo /tmp/foo/bar.txt | \
|
||||
parallel --sshlogin server.example.com \
|
||||
--return {}.out --return {}.out2 touch {}.out {}.out2
|
||||
--return {.}.out --return {.}.out2 touch {.}.out {.}.out2
|
||||
|
||||
B<--return> is often used with B<--transfer> and B<--cleanup>.
|
||||
|
||||
|
@ -312,7 +311,7 @@ B<--return> is ignored when used with B<--sshlogin :> or when not used with B<--
|
|||
|
||||
=item B<-s> I<max-chars>
|
||||
|
||||
Use at most max-chars characters per command line, including the
|
||||
Use at most I<max-chars> characters per command line, including the
|
||||
command and initial-arguments and the terminating nulls at the ends of
|
||||
the argument strings. The largest allowed value is system-dependent,
|
||||
and is calculated as the argument length limit for exec, less the size
|
||||
|
@ -395,14 +394,14 @@ will be put relative to the default login dir. E.g.
|
|||
--sshlogin server.example.com --transfer wc
|
||||
|
||||
This will transfer the file I<foo/bar.txt> to the server
|
||||
I<server.example.com> to the file $HOME/foo/bar.txt before running
|
||||
I<server.example.com> to the file I<$HOME/foo/bar.txt> before running
|
||||
B<wc foo/bar.txt> on I<server.example.com>.
|
||||
|
||||
echo /tmp/foo/bar.txt | parallel \
|
||||
--sshlogin server.example.com --transfer wc
|
||||
|
||||
This will transfer the file I<foo/bar.txt> to the server
|
||||
I<server.example.com> to the file /tmp/foo/bar.txt before running
|
||||
I<server.example.com> to the file I</tmp/foo/bar.txt> before running
|
||||
B<wc /tmp/foo/bar.txt> on I<server.example.com>.
|
||||
|
||||
B<--transfer> is often used with B<--return> and B<--cleanup>.
|
||||
|
@ -414,7 +413,7 @@ B<--transfer> is ignored when used with B<--sshlogin :> or when not used with B<
|
|||
|
||||
Transfer, Return, Cleanup. Short hand for:
|
||||
|
||||
--transfer --return I<filename> --cleanup
|
||||
--transfer --return filename --cleanup
|
||||
|
||||
|
||||
=item B<--ungroup>
|
||||
|
@ -425,10 +424,10 @@ Ungroup output. Output is printed as soon as possible. This may cause
|
|||
output from different commands to be mixed. Can be reversed with B<-g>.
|
||||
|
||||
|
||||
=item B<-U> I<string>
|
||||
|
||||
=item B<--extensionreplace> I<string>
|
||||
|
||||
=item B<-U> I<string>
|
||||
|
||||
Use the replacement string I<string> instead of {.} for input line without extension.
|
||||
|
||||
|
||||
|
@ -528,18 +527,7 @@ B<find . -name '*.jpg' | parallel -j +0 convert -geometry 120 {} {}_thumb.jpg>
|
|||
Notice how the argument has to start with {} as {} will include path
|
||||
(e.g. running B<convert -geometry 120 ./foo/bar.jpg
|
||||
thumb_./foo/bar.jpg> would clearly be wrong). It will result in files
|
||||
like ./foo/bar.jpg_thumb.jpg. If that is not wanted this can fix it:
|
||||
|
||||
find . -name '*.jpg' | \
|
||||
perl -pe 'chomp; $a=$_; s:/([^/]+)$:/thumb_$1:; $_="convert -geometry 120 $a $_\n"' | \
|
||||
parallel -c -j +0
|
||||
|
||||
Unfortunately this will not work if the filenames contain special
|
||||
characters (such as space or quotes). If you have B<ren> installed this
|
||||
is a better solution:
|
||||
|
||||
find . -name '*.jpg' | parallel -j +0 convert -geometry 120 {} {}_thumb.jpg
|
||||
find . -name '*_thumb.jpg' | ren 's:/([^/]+)_thumb.jpg$:/thumb_$1:'
|
||||
like ./foo/bar.jpg_thumb.jpg.
|
||||
|
||||
This will make files like ./foo/bar_thumb.jpg:
|
||||
|
||||
|
@ -904,7 +892,7 @@ Copyright (C) 2008,2009,2010 Ole Tange, http://ole.tange.dk
|
|||
Copyright (C) 2010 Ole Tange, http://ole.tange.dk and Free Software
|
||||
Foundation, Inc.
|
||||
|
||||
Parts of the manual concerning B<xargs> compatability is inspired by
|
||||
Parts of the manual concerning B<xargs> compatibility is inspired by
|
||||
the manual of B<xargs> from GNU findutils 4.4.2.
|
||||
|
||||
|
||||
|
@ -1048,7 +1036,6 @@ $Global::keeporder = 0;
|
|||
$Global::quoting = 0;
|
||||
$Global::replacestring = '{}';
|
||||
$Global::replace_no_ext = '{.}';
|
||||
$Global::input_is_filename = (@ARGV);
|
||||
$/="\n";
|
||||
$Global::ignore_empty = 0;
|
||||
$Global::argfile = *STDIN;
|
||||
|
@ -1103,6 +1090,7 @@ GetOptions("debug|D" => \$::opt_D,
|
|||
"exit|x" => \$::opt_x,
|
||||
) || die_usage();
|
||||
$Global::debug = (defined $::opt_D);
|
||||
$Global::input_is_filename = (@ARGV);
|
||||
if(defined $::opt_m) { $Global::xargs = 1; }
|
||||
if(defined $::opt_X) { $Global::Xargs = 1; }
|
||||
if(defined $::opt_v) { $Global::verbose = 1; }
|
||||
|
@ -1927,7 +1915,7 @@ sub version {
|
|||
"This is free software: you are free to change and redistribute it.",
|
||||
"$Global::progname comes with no warranty.",
|
||||
"",
|
||||
"Web site: http://${Global::progname}.nongnu.org\n"
|
||||
"Web site: http://www.gnu.org/software/${Global::progname}\n"
|
||||
);
|
||||
}
|
||||
|
||||
|
|
0
unittest/actual-results/test17
Normal file
0
unittest/actual-results/test17
Normal file
1
unittest/input-files/test15/1
Normal file
1
unittest/input-files/test15/1
Normal file
|
@ -0,0 +1 @@
|
|||
1
|
1
unittest/input-files/test15/2
Normal file
1
unittest/input-files/test15/2
Normal file
|
@ -0,0 +1 @@
|
|||
2
|
1
unittest/input-files/test15/3
Normal file
1
unittest/input-files/test15/3
Normal file
|
@ -0,0 +1 @@
|
|||
3
|
2
unittest/input-files/test15/files
Normal file
2
unittest/input-files/test15/files
Normal file
|
@ -0,0 +1,2 @@
|
|||
1
|
||||
2
|
7
unittest/tests-to-run/test17.sh
Normal file
7
unittest/tests-to-run/test17.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
PAR=parallel
|
||||
|
||||
# Test sshlogin
|
||||
echo localhost >/tmp/localhost
|
||||
seq 1 3 | $PAR --sshlogin 8/al -S 7/"-l eiipe fod",: --sshloginfile /tmp/localhost echo
|
Loading…
Reference in a new issue