java/sql-dk/help-generator.sh
author František Kučera <franta-hg@frantovo.cz>
Sat, 25 Jul 2020 17:25:19 +0200
branchv_0
changeset 252 a9d4a8d5c57f
parent 238 4a1864c3e867
permissions -rwxr-xr-x
improve multiple results support

The specification talks exactly about -1:
> Returns: the current result as an update count;
> -1 if the current result is a ResultSet object or there are no more results

Other negative numbers can theoretically mean something different than „no more results“
e.g. unknown number of updates (?).
     1 #!/bin/bash
     2 
     3 cat \
     4 	src/main/java/info/globalcode/sql/dk/CLIParser.java \
     5 	src/main/java/info/globalcode/sql/dk/CLIStarter.java \
     6 	| ../../scripts/help_generator.pl
     7