diff --git a/045-worker-pools/worker-pools.go b/044-worker-pools/worker-pools.go similarity index 100% rename from 045-worker-pools/worker-pools.go rename to 044-worker-pools/worker-pools.go diff --git a/046-sorting/sorting.go b/045-sorting/sorting.go similarity index 100% rename from 046-sorting/sorting.go rename to 045-sorting/sorting.go diff --git a/046-sorting/sorting.sh b/045-sorting/sorting.sh similarity index 100% rename from 046-sorting/sorting.sh rename to 045-sorting/sorting.sh diff --git a/047-sorting-by-functions/sorting-by-functions.go b/046-sorting-by-functions/sorting-by-functions.go similarity index 100% rename from 047-sorting-by-functions/sorting-by-functions.go rename to 046-sorting-by-functions/sorting-by-functions.go diff --git a/047-sorting-by-functions/sorting-by-functions.sh b/046-sorting-by-functions/sorting-by-functions.sh similarity index 100% rename from 047-sorting-by-functions/sorting-by-functions.sh rename to 046-sorting-by-functions/sorting-by-functions.sh diff --git a/048-string-functions/string-functions.go b/047-string-functions/string-functions.go similarity index 100% rename from 048-string-functions/string-functions.go rename to 047-string-functions/string-functions.go diff --git a/049-string-formatting/string-formatting.go b/048-string-formatting/string-formatting.go similarity index 100% rename from 049-string-formatting/string-formatting.go rename to 048-string-formatting/string-formatting.go diff --git a/049-string-formatting/string-formatting.sh b/048-string-formatting/string-formatting.sh similarity index 100% rename from 049-string-formatting/string-formatting.sh rename to 048-string-formatting/string-formatting.sh diff --git a/050-regexs/regexs.go b/049-regexs/regexs.go similarity index 100% rename from 050-regexs/regexs.go rename to 049-regexs/regexs.go diff --git a/050-regexs/regexs.sh b/049-regexs/regexs.sh similarity index 100% rename from 050-regexs/regexs.sh rename to 049-regexs/regexs.sh diff --git a/051-bytes/bytes.go b/050-bytes/bytes.go similarity index 100% rename from 051-bytes/bytes.go rename to 050-bytes/bytes.go diff --git a/052-json/json.go b/051-json/json.go similarity index 100% rename from 052-json/json.go rename to 051-json/json.go diff --git a/054-time/time.go b/052-time/time.go similarity index 100% rename from 054-time/time.go rename to 052-time/time.go diff --git a/054-time/time.sh b/052-time/time.sh similarity index 100% rename from 054-time/time.sh rename to 052-time/time.sh diff --git a/055-epochs/epochs.go b/053-epochs/epochs.go similarity index 100% rename from 055-epochs/epochs.go rename to 053-epochs/epochs.go diff --git a/055-epochs/epochs.sh b/053-epochs/epochs.sh similarity index 100% rename from 055-epochs/epochs.sh rename to 053-epochs/epochs.sh diff --git a/056-measuring-elapsed-time/measuring-elapsed-time.go b/054-measuring-elapsed-time/measuring-elapsed-time.go similarity index 100% rename from 056-measuring-elapsed-time/measuring-elapsed-time.go rename to 054-measuring-elapsed-time/measuring-elapsed-time.go diff --git a/057-timers/timers.go b/055-timers/timers.go similarity index 100% rename from 057-timers/timers.go rename to 055-timers/timers.go diff --git a/057-timers/tiners.sh b/055-timers/tiners.sh similarity index 100% rename from 057-timers/tiners.sh rename to 055-timers/tiners.sh diff --git a/058-tickers/tickers.go b/056-tickers/tickers.go similarity index 100% rename from 058-tickers/tickers.go rename to 056-tickers/tickers.go diff --git a/058-tickers/tickers.sh b/056-tickers/tickers.sh similarity index 100% rename from 058-tickers/tickers.sh rename to 056-tickers/tickers.sh diff --git a/059-random-numbers/random-numbers.go b/057-random-numbers/random-numbers.go similarity index 100% rename from 059-random-numbers/random-numbers.go rename to 057-random-numbers/random-numbers.go diff --git a/059-random-numbers/random-numbers.sh b/057-random-numbers/random-numbers.sh similarity index 100% rename from 059-random-numbers/random-numbers.sh rename to 057-random-numbers/random-numbers.sh diff --git a/060-number-parsing/number-parsing.go b/058-number-parsing/number-parsing.go similarity index 100% rename from 060-number-parsing/number-parsing.go rename to 058-number-parsing/number-parsing.go diff --git a/060-number-parsing/number-parsing.sh b/058-number-parsing/number-parsing.sh similarity index 100% rename from 060-number-parsing/number-parsing.sh rename to 058-number-parsing/number-parsing.sh diff --git a/062-urls/urls.go b/060-urls/urls.go similarity index 100% rename from 062-urls/urls.go rename to 060-urls/urls.go diff --git a/062-urls/urls.sh b/060-urls/urls.sh similarity index 100% rename from 062-urls/urls.sh rename to 060-urls/urls.sh diff --git a/063-file-open/file-open.go b/062-file-open/file-open.go similarity index 100% rename from 063-file-open/file-open.go rename to 062-file-open/file-open.go diff --git a/064-file-read/file-read.go b/063-file-read/file-read.go similarity index 100% rename from 064-file-read/file-read.go rename to 063-file-read/file-read.go diff --git a/065-file-write/file-write.go b/064-file-write/file-write.go similarity index 100% rename from 065-file-write/file-write.go rename to 064-file-write/file-write.go diff --git a/066-command-line-arguments/command-line-arguments.go b/065-command-line-arguments/command-line-arguments.go similarity index 100% rename from 066-command-line-arguments/command-line-arguments.go rename to 065-command-line-arguments/command-line-arguments.go diff --git a/066-command-line-arguments/command-line-arguments.sh b/065-command-line-arguments/command-line-arguments.sh similarity index 100% rename from 066-command-line-arguments/command-line-arguments.sh rename to 065-command-line-arguments/command-line-arguments.sh diff --git a/067-command-line-flags/command-line-flags.go b/066-command-line-flags/command-line-flags.go similarity index 100% rename from 067-command-line-flags/command-line-flags.go rename to 066-command-line-flags/command-line-flags.go diff --git a/068-env/env.go b/067-env/env.go similarity index 100% rename from 068-env/env.go rename to 067-env/env.go diff --git a/068-env/env.sh b/067-env/env.sh similarity index 100% rename from 068-env/env.sh rename to 067-env/env.sh diff --git a/069-signals/signals.go b/068-signals/signals.go similarity index 100% rename from 069-signals/signals.go rename to 068-signals/signals.go diff --git a/069-signals/signals.sh b/068-signals/signals.sh similarity index 100% rename from 069-signals/signals.sh rename to 068-signals/signals.sh diff --git a/070-exit/exit.go b/069-exit/exit.go similarity index 100% rename from 070-exit/exit.go rename to 069-exit/exit.go diff --git a/070-exit/exit.sh b/069-exit/exit.sh similarity index 100% rename from 070-exit/exit.sh rename to 069-exit/exit.sh diff --git a/071-spawn/spawn.go b/070-spawn/spawn.go similarity index 100% rename from 071-spawn/spawn.go rename to 070-spawn/spawn.go diff --git a/071-spawn/spawn.sh b/070-spawn/spawn.sh similarity index 100% rename from 071-spawn/spawn.sh rename to 070-spawn/spawn.sh diff --git a/072-exec/exec.go b/071-exec/exec.go similarity index 100% rename from 072-exec/exec.go rename to 071-exec/exec.go diff --git a/073-reading-input/reading-input.go b/072-reading-input/reading-input.go similarity index 100% rename from 073-reading-input/reading-input.go rename to 072-reading-input/reading-input.go diff --git a/073-reading-input/reading-input.sh b/072-reading-input/reading-input.sh similarity index 100% rename from 073-reading-input/reading-input.sh rename to 072-reading-input/reading-input.sh diff --git a/074-users/users.go b/073-users/users.go similarity index 100% rename from 074-users/users.go rename to 073-users/users.go diff --git a/074-users/users.sh b/073-users/users.sh similarity index 100% rename from 074-users/users.sh rename to 073-users/users.sh diff --git a/075-line-filter/line-filter.go b/074-line-filter/line-filter.go similarity index 100% rename from 075-line-filter/line-filter.go rename to 074-line-filter/line-filter.go diff --git a/075-line-filter/line-filter.sh b/074-line-filter/line-filter.sh similarity index 100% rename from 075-line-filter/line-filter.sh rename to 074-line-filter/line-filter.sh diff --git a/084-http-server-basic/http-server-basic.go b/083-http-server-basic/http-server-basic.go similarity index 100% rename from 084-http-server-basic/http-server-basic.go rename to 083-http-server-basic/http-server-basic.go diff --git a/085-http-server-canonical-host/http-server-canonical-host.go b/084-http-server-canonical-host/http-server-canonical-host.go similarity index 100% rename from 085-http-server-canonical-host/http-server-canonical-host.go rename to 084-http-server-canonical-host/http-server-canonical-host.go diff --git a/085-http-server-canonical-host/http-server-canonical-host.sh b/084-http-server-canonical-host/http-server-canonical-host.sh similarity index 100% rename from 085-http-server-canonical-host/http-server-canonical-host.sh rename to 084-http-server-canonical-host/http-server-canonical-host.sh diff --git a/086-http-server-graceful-shutdown/http-server-graceful-shutdown.go b/085-http-server-graceful-shutdown/http-server-graceful-shutdown.go similarity index 100% rename from 086-http-server-graceful-shutdown/http-server-graceful-shutdown.go rename to 085-http-server-graceful-shutdown/http-server-graceful-shutdown.go diff --git a/086-http-server-graceful-shutdown/http-server-graceful-shutdown.sh b/085-http-server-graceful-shutdown/http-server-graceful-shutdown.sh similarity index 100% rename from 086-http-server-graceful-shutdown/http-server-graceful-shutdown.sh rename to 085-http-server-graceful-shutdown/http-server-graceful-shutdown.sh diff --git a/087-http-server-log/http-server-log.go b/086-http-server-log/http-server-log.go similarity index 100% rename from 087-http-server-log/http-server-log.go rename to 086-http-server-log/http-server-log.go diff --git a/088-http-server-middleware/http-server-middleware.go b/087-http-server-middleware/http-server-middleware.go similarity index 100% rename from 088-http-server-middleware/http-server-middleware.go rename to 087-http-server-middleware/http-server-middleware.go diff --git a/089-http-server-routing/http-server-routing.go b/088-http-server-routing/http-server-routing.go similarity index 100% rename from 089-http-server-routing/http-server-routing.go rename to 088-http-server-routing/http-server-routing.go diff --git a/089-http-server-routing/http-server-routing.sh b/088-http-server-routing/http-server-routing.sh similarity index 100% rename from 089-http-server-routing/http-server-routing.sh rename to 088-http-server-routing/http-server-routing.sh diff --git a/090-http-server-static-dynamic/http-server-static-dynamic.go b/089-http-server-static-dynamic/http-server-static-dynamic.go similarity index 100% rename from 090-http-server-static-dynamic/http-server-static-dynamic.go rename to 089-http-server-static-dynamic/http-server-static-dynamic.go diff --git a/090-http-server-static-dynamic/http-server-static-dynamic.sh b/089-http-server-static-dynamic/http-server-static-dynamic.sh similarity index 100% rename from 090-http-server-static-dynamic/http-server-static-dynamic.sh rename to 089-http-server-static-dynamic/http-server-static-dynamic.sh diff --git a/091-http-server-static-select/http-server-static-select.go b/090-http-server-static-select/http-server-static-select.go similarity index 100% rename from 091-http-server-static-select/http-server-static-select.go rename to 090-http-server-static-select/http-server-static-select.go diff --git a/091-http-server-static-select/http-server-static-select.sh b/090-http-server-static-select/http-server-static-select.sh similarity index 100% rename from 091-http-server-static-select/http-server-static-select.sh rename to 090-http-server-static-select/http-server-static-select.sh diff --git a/092-http-server-static/http-server-static.go b/091-http-server-static/http-server-static.go similarity index 100% rename from 092-http-server-static/http-server-static.go rename to 091-http-server-static/http-server-static.go diff --git a/092-http-server-static/http-server-static.sh b/091-http-server-static/http-server-static.sh similarity index 100% rename from 092-http-server-static/http-server-static.sh rename to 091-http-server-static/http-server-static.sh diff --git a/093-http-server-status-code/http-server-status-code.go b/092-http-server-status-code/http-server-status-code.go similarity index 100% rename from 093-http-server-status-code/http-server-status-code.go rename to 092-http-server-status-code/http-server-status-code.go diff --git a/093-http-server-status-code/http-server-status-code.sh b/092-http-server-status-code/http-server-status-code.sh similarity index 100% rename from 093-http-server-status-code/http-server-status-code.sh rename to 092-http-server-status-code/http-server-status-code.sh diff --git a/094-http-server/http-server.go b/093-http-server/http-server.go similarity index 100% rename from 094-http-server/http-server.go rename to 093-http-server/http-server.go diff --git a/095-https-server/https-server.go b/094-https-server/https-server.go similarity index 100% rename from 095-https-server/https-server.go rename to 094-https-server/https-server.go diff --git a/095-https-server/https-server.sh b/094-https-server/https-server.sh similarity index 100% rename from 095-https-server/https-server.sh rename to 094-https-server/https-server.sh diff --git a/tool/renumber.go b/tool/renumber.go index 22a97de..c8984d3 100644 --- a/tool/renumber.go +++ b/tool/renumber.go @@ -40,7 +40,7 @@ func main() { indexNamesAll := strings.Split(string(indexBytes), "\n") indexNames := make([]string, 0) for _, indexName := range indexNamesAll { - if indexName != "" && !strings.Contains(indexName, "#") && !strings.Contains("~") { + if indexName != "" && !strings.Contains(indexName, "#") && !strings.Contains(indexName, "~") { indexNames = append(indexNames, indexName) } }