Version 0.6.0: Steuertabellen 2026, record mit negativen Nummern, select-Hinweis
This commit is contained in:
+3
-1
@@ -7,11 +7,13 @@ folgen [Semantic Versioning](https://semver.org/lang/de/). Die Version steht in
|
|||||||
|
|
||||||
## [Unveröffentlicht]
|
## [Unveröffentlicht]
|
||||||
|
|
||||||
|
## [0.6.0] - 2026-10-11
|
||||||
|
|
||||||
### Hinzugefügt
|
### Hinzugefügt
|
||||||
- Steuertabellen 2026 für `tax`: `demo/taxDE2026`, `taxAT2026`, `taxCH2026` (nur Bundessteuer), `taxLI2026` (nur Landessteuer), erzeugt mit `tools/gen_tax_tables.rb`, mit Tests.
|
- Steuertabellen 2026 für `tax`: `demo/taxDE2026`, `taxAT2026`, `taxCH2026` (nur Bundessteuer), `taxLI2026` (nur Landessteuer), erzeugt mit `tools/gen_tax_tables.rb`, mit Tests.
|
||||||
|
|
||||||
### Geändert
|
### Geändert
|
||||||
- `record`: 0 und 1 sind die erste Zeile, negative Zahlen zählen vom Ende (`-1` letzte, `-2` vorletzte ...). Außerhalb der Tabelle kommt eine leere Tabelle, Text und Dezimalzahlen sind ein Fehler. (Vorher lieferten 0, -1 und Text ungewollt Zeilen vom Ende.)
|
- `record`: 0 und 1 sind die erste Zeile, negative Zahlen zählen vom Ende (`-1` letzte, `-2` vorletzte ...). Außerhalb der Tabelle kommt eine leere Tabelle, Text und Dezimalzahlen sind ein Fehler. (Vorher lieferten 0, -1 und Text ungewollt Zeilen vom Ende.) `testall.cmds` und `man/record.man` zeigen es.
|
||||||
- README und `man/row.man` erklären, warum `select` in bash/zsh/ksh einen Syntaxfehler gibt und wie man es trotzdem aufruft.
|
- README und `man/row.man` erklären, warum `select` in bash/zsh/ksh einen Syntaxfehler gibt und wie man es trotzdem aufruft.
|
||||||
|
|
||||||
### Behoben
|
### Behoben
|
||||||
|
|||||||
+7
-1
@@ -23,8 +23,14 @@ rename Owner Person < owners
|
|||||||
## number / Number: number the rows (number: rows only, Number: rows and the head)
|
## number / Number: number the rows (number: rows only, Number: rows and the head)
|
||||||
number < owners
|
number < owners
|
||||||
Number < owners
|
Number < owners
|
||||||
## record: print one record (the 3rd row)
|
## record: print one record. 0 and 1 are the first row, 3 the third, -1 the last, -2 the one before
|
||||||
record 3 < inventory
|
record 3 < inventory
|
||||||
|
record 0 < owners
|
||||||
|
record -1 < owners
|
||||||
|
record -2 < owners
|
||||||
|
## beyond the end: an empty table; not a number: an error
|
||||||
|
record 9 < owners
|
||||||
|
record abc < owners
|
||||||
## rmblank: drop empty rows; headon / headoff: add or strip the head
|
## rmblank: drop empty rows; headon / headoff: add or strip the head
|
||||||
column Item Cost < inventory | rmblank
|
column Item Cost < inventory | rmblank
|
||||||
headoff < colors
|
headoff < colors
|
||||||
|
|||||||
+20
-2
@@ -86,11 +86,29 @@ Number Item Owner
|
|||||||
1 1 ann
|
1 1 ann
|
||||||
2 3 bob
|
2 3 bob
|
||||||
3 6 cy
|
3 6 cy
|
||||||
## record: print one record (the 3rd row)
|
## record: print one record. 0 and 1 are the first row, 3 the third, -1 the last, -2 the one before
|
||||||
$ record 3 < inventory
|
$ record 3 < inventory
|
||||||
Item Amount Cost Value Description
|
Item Amount Cost Value Description
|
||||||
---- ------ ---- ----- -----------
|
---- ------ ---- ----- -----------
|
||||||
3 5 8.00 40.00 clamps
|
3 5 8.00 40.00 clamps
|
||||||
|
$ record 0 < owners
|
||||||
|
Item Owner
|
||||||
|
---- -----
|
||||||
|
1 ann
|
||||||
|
$ record -1 < owners
|
||||||
|
Item Owner
|
||||||
|
---- -----
|
||||||
|
6 cy
|
||||||
|
$ record -2 < owners
|
||||||
|
Item Owner
|
||||||
|
---- -----
|
||||||
|
3 bob
|
||||||
|
## beyond the end: an empty table; not a number: an error
|
||||||
|
$ record 9 < owners
|
||||||
|
Item Owner
|
||||||
|
---- -----
|
||||||
|
$ record abc < owners
|
||||||
|
record: 'abc' is not a record number (1, 2, 3 ... or -1 for the last)
|
||||||
## rmblank: drop empty rows; headon / headoff: add or strip the head
|
## rmblank: drop empty rows; headon / headoff: add or strip the head
|
||||||
$ column Item Cost < inventory | rmblank
|
$ column Item Cost < inventory | rmblank
|
||||||
Item Cost
|
Item Cost
|
||||||
@@ -845,7 +863,7 @@ Item Amount Cost Value Description
|
|||||||
## tabletom4 / tabletosed / tabletostruct were shown above
|
## tabletom4 / tabletosed / tabletostruct were shown above
|
||||||
## ===== Help and the terminal =====
|
## ===== Help and the terminal =====
|
||||||
$ rdb --version
|
$ rdb --version
|
||||||
rdb 0.5.0
|
rdb 0.6.0
|
||||||
$ howmany
|
$ howmany
|
||||||
136
|
136
|
||||||
$ whatis row
|
$ whatis row
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module Rdb
|
module Rdb
|
||||||
VERSION = '0.5.0'
|
VERSION = '0.6.0'
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user