Evaluate test data (Linux)
DICTIONARY location in the ini-file should be 'Sample.dev'. The DATABASE should be located at 'Sample.dat'. Script data had been stored to share/odaba/scripts/TestData.osh in the example below.
Read the Notes section before executing this command
$ OShell SampleOShell.ini TestData.osh
where TestData.osh refers to the location where the OShell script file are stored: share/odaba/script. The call produces the output shown below. When you are running the example, figures will differ, since the example script uses random numbers in many places.
$ oshell Sample.dat Sample.dev TestData.osh
Any company
Best company
My company
NO company
Your company
cars.count=12
cars.count=17
cars.count=3
cars.count=15
cars.count=7
employees.count=100
employees.count=92
employees.count=105
employees.count=114
employees.count=89
count returns: 500
relativeCount returns: 258
count returns: 1,000
Persons probably retired (over 65 and not employed): 332
Total number of children: 975
Average age distance between children and parents: 38.310249307479225
Minimum/maximum distance is: 12/67
Total income for "Any company" is: 476,439.00
Total income for "Best company" is: 448,855.00
Total income for "My company" is: 554,790.00
Total income for "NO company" is: 525,185.00
Total income for "Your company" is: 454,157.00
Sample/Company>

