Hacker GitHub

← All repos

adityaathalye/bash-toolkit

View on GitHub ↗ ★ 40 Shell

Could be my ever-growing, ever-improving, Swiss Army Toolkit of functions-as-cmd-line-tools and useful-to-me patterns.

7 mentions on Hacker News by 1 person: 1 story, 6 comments · first 2021-11-24 · latest 2026-09-08

Mentions per year 7 mentions · busiest year 2025 (3)
20082026
  1. …And specifically, this log processing code, for a more apples-to-apples comparison with OP's post. https://github.com/adityaathalye/bash-toolkit/blob/master/lo... deduplicate() {} frequencies() {} drop_first_n() {} drop_last_n() {}…
    comment by adityaathalye · 2026-09-08 · in Simple Is Not Small
  2. …this: ~/src/{github,gitlab,bitbucket}/{usernames..}/{reponames..}). ref: bulk-git-ops.sh in my repo https://github.com/adityaathalye/bash-toolkit/ This way: Examples assume that repos you contribute to are spread across remote hosts, and…
  3. …installed application to its apt source name, so we can check for the app, and then install package https://github.com/adityaathalye/bash-toolkit/blob/f856edd30... [1] I'd say "hashmap" is acceptable, colloquially. However, I don't think…
    comment by adityaathalye · 2025-01-12 · in Today I learned that bash has hashmaps (2024)
  4. Ah a fellow person of culture :D Maybe you will enjoy my "bash-toolkit" repo: https://github.com/adityaathalye/bash-toolkit which I've dubbed my "Swiss Army Toolkit" of functions-as-cmd-line-tools and useful-to-me patterns. Which reminds…
  5. Favourite topic! My "Bash Toolkit": https://github.com/adityaathalye/bash-toolkit My (yak-shaving-in-progress :) "little hot-reloadin' static shite generator from shell" : https://github.com/adityaathalye/shite A subtle-ish aspect is, I…
    comment by adityaathalye · 2022-08-15 · in Ask HN: Can I see your scripts?
  6. …proc repo applies the given op. (a function in this case) to each repo proc_repos git_fetch Source: https://github.com/adityaathalye/bash-toolkit/blob/master/bu... The best part is sourcing pipeline-friendly functions into a shell session…
    comment by adityaathalye · 2021-11-24 · in Bash patterns I use weekly