"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/parallel_design.7" between
parallel-20210122.tar.bz2 and parallel-20210222.tar.bz2

About: GNU Parallel is a shell tool for executing jobs in parallel using multiple CPU cores and/or multiple computers.

parallel_design.7  (parallel-20210122.tar.bz2):parallel_design.7  (parallel-20210222.tar.bz2)
skipping to change at line 836 skipping to change at line 836
The argument separator ::: was chosen because I have never seen ::: used in any command. The natural The argument separator ::: was chosen because I have never seen ::: used in any command. The natural
choice -- would be a bad idea since it is not unlikely that the template command will contain --. I have choice -- would be a bad idea since it is not unlikely that the template command will contain --. I have
seen :: used in programming languanges to separate classes, and I did not want the user to be confused seen :: used in programming languanges to separate classes, and I did not want the user to be confused
that the separator had anything to do with classes. that the separator had anything to do with classes.
::: also makes a visual separation, which is good if there are multiple : ::. ::: also makes a visual separation, which is good if there are multiple : ::.
When ::: was chosen, :::: came as a fairly natural extension. When ::: was chosen, :::: came as a fairly natural extension.
Linking input sources meant having to decide for some way to indicate lin king of ::: and ::::. :::+ and Linking input sources meant having to decide for some way to indicate lin king of ::: and ::::. :::+ and
::::+ was chosen, so that they were similar to ::: and ::::. ::::+ were chosen, so that they were similar to ::: and ::::.
Perl replacement strings, {= =}, and --rpl Perl replacement strings, {= =}, and --rpl
The shorthands for replacement strings make a command look more cryptic. Different users will need The shorthands for replacement strings make a command look more cryptic. Different users will need
different replacement strings. Instead of inventing more shorthands you g et more flexible replacement different replacement strings. Instead of inventing more shorthands you g et more flexible replacement
strings if they can be programmed by the user. strings if they can be programmed by the user.
The language Perl was chosen because GNU parallel is written in Perl and it was easy and reasonably fast The language Perl was chosen because GNU parallel is written in Perl and it was easy and reasonably fast
to run the code given by the user. to run the code given by the user.
If a user needs the same programmed replacement string again and again, t he user may want to make his own If a user needs the same programmed replacement string again and again, t he user may want to make his own
skipping to change at line 1004 skipping to change at line 1004
So to lessen the frustration and the resulting support, --tollef was obso leted 20130222 and removed one So to lessen the frustration and the resulting support, --tollef was obso leted 20130222 and removed one
year later. year later.
Transferring of variables and functions Transferring of variables and functions
Until 20150122 variables and functions were transferred by looking at $SH ELL to see whether the shell was Until 20150122 variables and functions were transferred by looking at $SH ELL to see whether the shell was
a *csh shell. If so the variables would be set using setenv. Otherwise th ey would be set using =. This a *csh shell. If so the variables would be set using setenv. Otherwise th ey would be set using =. This
caused the content of the variable to be repeated: caused the content of the variable to be repeated:
echo $SHELL | grep "/t\{0,1\}csh" > /dev/null && setenv VAR foo || export VAR=foo echo $SHELL | grep "/t\{0,1\}csh" > /dev/null && setenv VAR foo || export VAR=foo
20201222 2021-01-20 PARALLEL_DESIGN(7) 20210122 2021-01-26 PARALLEL_DESIGN(7)
 End of changes. 2 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)