First commit on new branch

Create the branch record-original-older-untracked-files.
It's name is self-describing.
Purpose of the branch is to record development
of this project before this git repository was created.

This is the first version of the project.

 # On branch record-original-older-untracked-files
 # Changes to be committed:
 #	new file:   backup-script-tar-bz2.sh
 #
A lot of progress

Create function test_last_command_success_or_die_with_custom_exit_code().

Create the basic skeleton, basic functionality, several main features.
i.e.
1) exit with non-zero exit code if an error encountered
2) mkdir NewBackupDirNamedWithDateAndNumber,
3) create tar bz2-compressed archive in the created dir

It does not handle command line arguments.
It has preset dir to be archived.
The preset dir is the config dir of chromium in $HOME.

This version has bash syntax errors and does not work.

Originally this was the file
/home/kdokoli/Dokumenty/fanda/after-2014-03-16/after-2014-07-03/1.unsorted/6.backup-script-tar-bz2.2.sh

 # On branch record-original-older-untracked-files
 # Changes to be committed:
 #	modified:   backup-script-tar-bz2.sh
 #
Add command line arguments handling

Just few simple changes:

1. Add simple handling of 2 required positional command line arguments.

2. Add simple test to test if the script has syntax errors inside itself.

3. Echo simple custom error message to stdout in the function
test_last_command_success_or_die_with_custom_exit_code().

4. Several other minor changes.

 # On branch record-original-older-untracked-files
 # Changes to be committed:
 #	modified:   backup-script-tar-bz2.sh
 #
Add parameter test

Minor changes:

1. Add test to test a correct number of parameters.

2. Create function exit_with_custom_message_and_code().

3. Add tests to test correctness target backup directory name.

4. Several other minor changes.

 # On branch record-original-older-untracked-files
 # Changes to be committed:
 #	modified:   backup-script-tar-bz2.sh
 #
Modify integer testing

One minor change.

 # On branch record-original-older-untracked-files
 # Changes to be committed:
 #	modified:   backup-script-tar-bz2.sh
 #
Simplify integer testing

Minor changes:

1. Simplify integer testing.

2. Minor (minor to work on) bugfixes.

 # On branch record-original-older-untracked-files
 # Changes to be committed:
 #	modified:   backup-script-tar-bz2.sh
 #
Add one optional positional parameter

Changes:

1. Add test if number of parameters is correct.
   Create function test_if_number_of_parameters_is_correct() .
   Self-descriptive name.

2. Add one optional positional parameter.
   Pass the parameter to the tar's CLI optional parameter "--exclude="... .

3. Other minor enhancements.

 # On branch record-original-older-untracked-files
 # Your branch is up-to-date with 'origin/record-original-older-untracked-files'.
 #
 # Changes to be committed:
 #	modified:   backup-script-tar-bz2.sh
 #
Pass --absolute-names switch to tar

Changes:

1. Pass --absolute-names switch to tar.

2. echo the tar command that is run to stdout.

3. Another minor change.

Originally this code was in the file
/home/kdokoli/Dokumenty/fanda/after-2014-03-16/after-2014-07-03/1.unsorted/15.backup-script-tar-bz2.8.sh

 # On branch record-original-older-untracked-files
 # Your branch is up-to-date with 'origin/record-original-older-untracked-files'.
 #
 # Changes to be committed:
 #	modified:   backup-script-tar-bz2.sh
 #
Merge branch 'record-original-older-untracked-files'

Merge branch 'record-original-older-untracked-files' into branch 'master'.

The name of the branch branch 'record-original-older-untracked-files'
is self-explanatory. In the past I created some files that were versions
of the script. I did this before I started this repository.
So on the branch 'record-original-older-untracked-files'
I recorded these files as commits into this repository.

NOTE: RULE:
From this commit (now) on
I will follow the rule at https://gist.github.com/17twenty/6733076 :
"master must always be deployable"
i.e.:
I will treat the branch master
as containing only commits intended to be project release versions.
I will do this until I note down in a commit on branch 'master' otherwise.
https://gist.github.com/17twenty/6733076

 # Please enter a commit message to explain why this merge is necessary,
 # especially if it merges an updated upstream into a topic branch.
 #