Fix incorrect awk substr indexing in webrev

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None

      There are several cases of calls to the substr function in awk expressions in webrev, that assume 0 is the first position in the string.

      According to awk syntax, strings are 1-indexed. However, several awk implementations treat the incorrect 0 as an 1. Not so for mawk, which is the default awk implementation on Ubuntu.

            Assignee:
            Magnus Ihse Bursie
            Reporter:
            Magnus Ihse Bursie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: