logoalt Hacker News

Chu4eenoyesterday at 7:51 PM2 repliesview on HN

You really should either just write it manually, or at least clean it up, 5kLOC of bash for POSTing and reading/writing files is a bit overkill (the code is extremely repetitive, verbose and just hard to follow).


Replies

kamaluduyesterday at 8:44 PM

Yes, the code is big and bulky, i know. But i am a single person, not a team. I write simple and clear for me, because i need to mantain it. Only Bash, zero dependencies, i like this.

thank you for your comment!

show 3 replies
porridgeraisinyesterday at 9:49 PM

I agree. What is with the random precore/core stuff anyways. But on the flip side, this thing seems to be doing a lot. I chugged through a couple thousand lines and there seems to be some amount of context management, I saw mentions of a history file, attachments, etc.

show 1 reply