Toot

Written by Aaron Rainbolt on 2024-10-21 at 01:39

Disturbing shell scripting fact for the day - both true and echo '' can exit non-zero. All you have to do end up in some esoteric edge case that results in a SIGPIPE being triggered.

Guess what I just spent the last thirty minutes of my life trying to figure out.

[#]bash #sh #linux

=> More informations about this toot | View the thread | More toots from arraybolt3@theres.life

Mentions

Tags

=> View bash tag | View sh tag | View linux tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113342858691544747
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
254.647548 milliseconds
Gemini-to-HTML Time
0.335741 milliseconds

This content has been proxied by September (3851b).