3 Commits
Author SHA1 Message Date
Arkadiusz Drabczyk 9afa0ed288 Add missing newlines
On *nix systems it's a common convention to end a file with an empty
newline. It also helps if the newline is present if user wants to
simply cat a file in the command line.

I used the following one-liner to automatically add newlines in all
files that don't have it:

    $ find . -path ./.git -prune -o -type f -a ! -name .keep -exec sh -c '[[ $(tail -c1 "$1" | wc -l) -gt 0 ]] || echo >> "$1"' sh {} \;
2024-06-25 20:25:38 +02:00
Arkadiusz Drabczyk 8fb2e2bfe0 Remove an executable bit from README_ru.md
Accidentally added in 52e269a.
2024-06-24 16:03:09 +02:00
Arkadiusz Drabczyk 13f3654146 Convert github.com/golang/go/wiki links to go.dev/wiki
Go wiki has moved https://github.com/golang/go/issues/61940. Wiki at
github.com/golang/go/wiki does not automatically move to go.dev/wiki
but says that wiki has moved.

I used the following shell one-liner to convert all links:

    $ find . -type f -print0 | xargs -0 sed -i 's,github.com/golang/go/wiki,go.dev/wiki,g'

To verify if they return 200:

    $ ag -a --nofilename -o 'https?.+wiki/.+?\b' | sort | uniq | xargs curl -sI
    HTTP/2 200
    (...)
    HTTP/2 200
2024-06-23 22:16:17 +02:00