logoalt Hacker News

victorbjorklund04/23/20251 replyview on HN

Because then you have 200 blog posts and suddenly you realize "oh I wanna add an author section to all my blog posts". That is 200 files to edit. Could you write a script to do the edit? Sure, but then you pretty much build a static site generator.


Replies

Lammy04/23/2025

`sed -i` is one command: https://www.gnu.org/software/sed/manual/sed.html#index-_002d...

show 1 reply