<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Today in &quot;things I hate about bash&quot; I found out that it is syntactically meaningful to have a space between your square braces and the operands inside]]></title><description><![CDATA[<p>Today in "things I hate about bash" I found out that it is syntactically meaningful to have a space between your square braces and the operands inside</p><p>if [["foo" != "bar"]]; then echo "yay"; fi<br /># error, executable "foo" not found.<br />if [[ "foo" != "bar" ]]; then echo "yay" fi<br /># yay</p><p>I hate bash.</p>]]></description><link>https://forum.fedi.dk/topic/3f52d5dc-2248-4a5a-aa06-32b797de50ec/today-in-things-i-hate-about-bash-i-found-out-that-it-is-syntactically-meaningful-to-have-a-space-between-your-square-braces-and-the-operands-inside</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 03:39:16 GMT</lastBuildDate><atom:link href="https://forum.fedi.dk/topic/3f52d5dc-2248-4a5a-aa06-32b797de50ec.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 29 Apr 2026 16:24:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Today in &quot;things I hate about bash&quot; I found out that it is syntactically meaningful to have a space between your square braces and the operands inside on Wed, 29 Apr 2026 17:10:37 GMT]]></title><description><![CDATA[<p><span><a href="/user/foritus%40toot.dusepo.co.uk">@<span>Foritus</span></a></span> I think it goes back to bourne shell and [ foo = bar ] test "alias"</p>]]></description><link>https://forum.fedi.dk/post/https://social.data.coop/users/reynir/statuses/116489102101439890</link><guid isPermaLink="true">https://forum.fedi.dk/post/https://social.data.coop/users/reynir/statuses/116489102101439890</guid><dc:creator><![CDATA[reynir@social.data.coop]]></dc:creator><pubDate>Wed, 29 Apr 2026 17:10:37 GMT</pubDate></item><item><title><![CDATA[Reply to Today in &quot;things I hate about bash&quot; I found out that it is syntactically meaningful to have a space between your square braces and the operands inside on Wed, 29 Apr 2026 17:03:01 GMT]]></title><description><![CDATA[<p><span><a href="/user/foritus%40toot.dusepo.co.uk">@<span>Foritus</span></a></span> Yupp. I'm pretty sure I'm doing this one at least once for every if I write. <img src="https://forum.fedi.dk/assets/plugins/nodebb-plugin-emoji/emoji/android/1f926.png?v=7979fdcf9c7" class="not-responsive emoji emoji-android emoji--face_palm" style="height:23px;width:auto;vertical-align:middle" title="🤦" alt="🤦" /></p>]]></description><link>https://forum.fedi.dk/post/https://social.mei-home.net/users/mmeier/statuses/116489072256494580</link><guid isPermaLink="true">https://forum.fedi.dk/post/https://social.mei-home.net/users/mmeier/statuses/116489072256494580</guid><dc:creator><![CDATA[mmeier@social.mei-home.net]]></dc:creator><pubDate>Wed, 29 Apr 2026 17:03:01 GMT</pubDate></item><item><title><![CDATA[Reply to Today in &quot;things I hate about bash&quot; I found out that it is syntactically meaningful to have a space between your square braces and the operands inside on Wed, 29 Apr 2026 16:45:36 GMT]]></title><description><![CDATA[<p><span><a href="/user/foritus%40toot.dusepo.co.uk">@<span>Foritus</span></a></span> a language that deliberately makes conditionals as difficult as possible.</p>]]></description><link>https://forum.fedi.dk/post/https://mastodon.scot/users/helenanne/statuses/116489003762852983</link><guid isPermaLink="true">https://forum.fedi.dk/post/https://mastodon.scot/users/helenanne/statuses/116489003762852983</guid><dc:creator><![CDATA[helenanne@mastodon.scot]]></dc:creator><pubDate>Wed, 29 Apr 2026 16:45:36 GMT</pubDate></item><item><title><![CDATA[Reply to Today in &quot;things I hate about bash&quot; I found out that it is syntactically meaningful to have a space between your square braces and the operands inside on Wed, 29 Apr 2026 16:26:06 GMT]]></title><description><![CDATA[<p><span><a href="/user/foritus%40toot.dusepo.co.uk" rel="nofollow noreferrer noopener">@<span>Foritus</span></a></span> the only good reason to use it as a scripting language is because that’s the default shell almost everywhere ^^’</p>]]></description><link>https://forum.fedi.dk/post/https://cafe.mycelium.locahlo.st/users/hypha/statuses/01KQD0ZR2DPADRT84F7D2YVH2H</link><guid isPermaLink="true">https://forum.fedi.dk/post/https://cafe.mycelium.locahlo.st/users/hypha/statuses/01KQD0ZR2DPADRT84F7D2YVH2H</guid><dc:creator><![CDATA[hypha@cafe.mycelium.locahlo.st]]></dc:creator><pubDate>Wed, 29 Apr 2026 16:26:06 GMT</pubDate></item></channel></rss>