dmgk / modules2tuple

Generate GH_TUPLE/GL_TUPLE from modules.txt
BSD 2-Clause "Simplified" License
15 stars 2 forks source link

'modules2tuple vendor/modules.txt' prints the empty newline in the end #9

Closed yurivict closed 4 years ago

yurivict commented 4 years ago
$ cd /usr/ports/dns/amass && make patch && cd work/Amass-3.4.1 && go mod vendor && modules2tuple vendor/modules.txt | hd | tail
00001300  6e 64 6f 72 2f 67 69 74  68 75 62 2e 63 6f 6d 2f  |ndor/github.com/|
00001310  74 65 6d 6f 74 6f 2f 72  6f 62 6f 74 73 74 78 74  |temoto/robotstxt|
00001320  20 5c 0a 09 09 74 79 6c  65 72 74 72 65 61 74 3a  | \...tylertreat:|
00001330  42 6f 6f 6d 46 69 6c 74  65 72 73 3a 36 31 31 62  |BoomFilters:611b|
00001340  33 64 62 65 38 30 65 38  3a 74 79 6c 65 72 74 72  |3dbe80e8:tylertr|
00001350  65 61 74 5f 62 6f 6f 6d  66 69 6c 74 65 72 73 2f  |eat_boomfilters/|
00001360  76 65 6e 64 6f 72 2f 67  69 74 68 75 62 2e 63 6f  |vendor/github.co|
00001370  6d 2f 74 79 6c 65 72 74  72 65 61 74 2f 42 6f 6f  |m/tylertreat/Boo|
00001380  6d 46 69 6c 74 65 72 73  0a 0a                    |mFilters..|
0000138a