Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    J

    Jonathan Palardy

    blog.jpalardy.com · Personal blog · on HN since 2013

    Jonathan Palardy writes about command-line tools, especially awk, shell scripting, and small Unix text-processing techniques.

    Visit blogRSSHN submissions
    ProgrammingOpen Source & Linux
    What HN says

    HN commenters recommend his awk article as an eye-opening way to understand awk, and link his posts on fish shell and sort/uniq alternatives.

    Stats for nerds
    18HN people shared it
    36linked in comments
    958story points
    Nov 2022last shared
    2019people per year2022

    Top posts on HN

    1. 1
      Why Learn Awk? (2016)
      4 people · 423 points · first shared 2016 · 235 comments on HN
    2. 2
      Skip grep, use awk
      2 people · 333 points · first shared 2017 · 130 comments on HN
    3. 3
      How to Shuffle and Sample on the Command-Line
      1 person · 82 points · first shared 2015 · 20 comments on HN
    4. 4
      Solving Problems with MiniZinc
      3 people · 62 points · first shared 2017 · 15 comments on HN
    5. 5
      Statistics: How Many Would You Check?
      2 people · 8 points · first shared 2015 · 5 comments on HN
    6. 6
      My Best Awk Tricks
      3 people · 7 points · first shared 2016 · Discussion on HN
    7. 7
      Wrapping Command-Line Tools
      1 person · 5 points · first shared 2015 · Discussion on HN
    8. 8
      Awk Tutorial
      1 person · 4 points · first shared 2025 · 1 comments on HN
    9. 9
      How to cut a rectangle into 3 without a ruler
      1 person · 4 points · first shared 2025 · Discussion on HN
    10. 10
      Bash Aliases, Functions and Commands
      2 people · 3 points · first shared 2017 · Discussion on HN

    What HN people wrote when they linked it

    • asicspSep 2019

      Reminds me of a similar article [1]

      Once you get a hang of how shell constructs like pipes, redirections, globs, variable/command substitutions, etc, the various cli text processing tools like grep, sed, awk, perl, sort, tr, pr, paste, etc are worth to learn at least the basics. They have been through years of use and heavily optimized for performance. Just today, a friend of mine called to ask how to improve a Python script's performance for 5-10 MB text file. After confirming he isn't using any other special modules, I advised to check if the performance improves by implementing it using awk.

      If anyone's interested in examples based tutorials on cli text processing tools, check out my github repo [2]

      [1] https://blog.jpalardy.com/posts/why-learn-awk/

      [2] https://github.com/learnbyexample/Command-line-text-processing

    • ZhylOct 2020

      I always link to this blog post [0] by Jonathan Palardy. It was one of those eye opening articles for me that really helped me 'grok' it - and this is after having had a couple of stabs at learning it just from reading the text books on it.

      Awk for me is part of the layers of tools from grep/sed -> AWK -> perl one liner -> full on script. The further down the ladder you go, the more restricted you are, but this means that programs are terser and usually stay readable despite the terseness.

      I would also recommend Perl One liners [1] which did the same thing for me for Perl one liners and, subsequently, full Perl.

      [0] https://blog.jpalardy.com/posts/why-learn-awk/

      [1] https://nostarch.com/perloneliners

    • dgunayNov 2022

      > can fish shell show inline docs

      Yes, it can. It's not the full docs of course, but tab completion for flags often comes with a one liner about what it does from the docs [1].

      [1]: https://blog.jpalardy.com/posts/fish-shell-is-awesome/

    • knownMar 2020

      Can't we do it in AWK

      https://blog.jpalardy.com/posts/alternative-to-sort-uniq-c/

    Related

    Tom Ryderblog.sanctum.geek.nz69 people

    Using unix as your IDE

    Tom Ryder
    Personal · last shared 2025
    Textual Blogtextual.textualize.io54 people

    Algorithms for high performance terminal apps – Textual

    Textual Blog
    Company · last shared 2026
    Chris Wellonsnullprogram.com295 people

    Why Aren't There C Conferences?

    Chris Wellons
    Personal · last shared 2026
    Aaron Maxwellredsymbol.net51 people

    Use the Unofficial Bash Strict Mode (Unless You Love Debugging)

    Aaron Maxwell
    Personal · last shared 2026
    John Regehrblog.regehr.org401 people

    Teaching C

    John Regehr
    Personal · last shared 2026
    Oils Blogoilshell.org156 people

    Kubernetes is our generation's Multics

    Oils Blog
    Company · last shared 2026
    Vidar Holenvidarholen.net68 people

    Useless Use of "dd" (2015)

    Vidar Holen
    Personal · last shared 2025
    Justine Tunneyjustine.lol251 people

    Show HN: Redbean – Single-file distributable web server

    Justine Tunney
    Personal · last shared 2026