ParentFull threadjwilk·Or, more simply, $((i + 1)).And it's not only bash; it's feature of POSIX shell.View on HN