[HN Gopher] Let's Build a Version Control System
       ___________________________________________________________________
        
       Let's Build a Version Control System
        
       Author : shakna
       Score  : 77 points
       Date   : 2021-01-02 06:26 UTC (1 days ago)
        
 (HTM) web link (shatterealm.netlify.app)
 (TXT) w3m dump (shatterealm.netlify.app)
        
       | ptx wrote:
       | > For reasons known only to the almighty gods, set -e that
       | usually causes an exit on a failed command, doesn't work that way
       | inside functions.
       | 
       | I was somewhat alarmed for a second there, but at least on bash
       | (version 5.1.4) "set -e" definitely _does_ work inside functions.
       | It doesn 't work in pipes though - you'll also need "set -o
       | pipefail" for that.
       | 
       | Busybox also seems to include awk. Would that have been a
       | slightly less terrible choice of implementation language, or even
       | worse?
        
       | turminal wrote:
       | See also https://git.sr.ht/~sircmpwn/shit
        
       | Hendrikto wrote:
       | This is terrible, I love it.
       | 
       | > If you actually use this thing, you are accepting the faults,
       | the bugs, and the potential to be personally infected by the
       | Black Plague, without regard for your own safety, and acknowledge
       | that you are an absolute fool.
        
       ___________________________________________________________________
       (page generated 2021-01-03 23:01 UTC)