<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotfiles/bin/muffle, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>http://euandre.org/git/dotfiles/atom?h=main</id>
<link rel='self' href='http://euandre.org/git/dotfiles/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://euandre.org/git/dotfiles/'/>
<updated>2025-05-05T10:55:26Z</updated>
<entry>
<title>bin/muffle: Replace ad-hoc status file logic with statusf(1)</title>
<updated>2025-05-05T10:55:26Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2025-05-05T10:55:26Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/dotfiles/commit/?id=edd033ec797b3d0f3cc6fcca87c3c513bb551314'/>
<id>urn:sha1:edd033ec797b3d0f3cc6fcca87c3c513bb551314</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bin/muffle: Set $TMPDIR to $XDG_RUNTIME_DIR</title>
<updated>2025-05-04T06:31:28Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2025-05-04T06:31:28Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/dotfiles/commit/?id=9f450209ea1996e8fcef3a64f8825490ff4775cd'/>
<id>urn:sha1:9f450209ea1996e8fcef3a64f8825490ff4775cd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bin/muffle: Speed up</title>
<updated>2024-10-12T18:37:59Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2024-10-12T17:58:06Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/dotfiles/commit/?id=45d6c999cc5852cd59f23f250fcf3672232038a3'/>
<id>urn:sha1:45d6c999cc5852cd59f23f250fcf3672232038a3</id>
<content type='text'>
First, use sort -m, as both inputs are already sorted.  This both
changes from it from O(n*log(n)) to O(n), and allows sort(1) to produce
streaming output, instead of sponging all the input, and potentially
spilling to disk during the process.

Second, use awk(1) when looping.  Not only awk(1) is made for this type
of job, but also we only call it once and let it do the loop, over
looping manually and calling '['(1), printf() and cut(1) on each
iteration.  Now we call cut(1) only once.

It went from being annoying enough to make me pause considering using to
being unnoticeable.
</content>
</entry>
<entry>
<title>bin/muffle: Add -n option</title>
<updated>2024-01-04T19:50:54Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2024-01-04T19:50:54Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/dotfiles/commit/?id=1162dba9a66ed916a18960d43a12e840ecd7046e'/>
<id>urn:sha1:1162dba9a66ed916a18960d43a12e840ecd7046e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>re "s|echo \"\\\$|printf '%s\\\n' \"\$|g"</title>
<updated>2024-01-04T14:23:55Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2024-01-04T14:23:50Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/dotfiles/commit/?id=07455024c72c3aa0bacf8338b82d3a0b8a96a9b0'/>
<id>urn:sha1:07455024c72c3aa0bacf8338b82d3a0b8a96a9b0</id>
<content type='text'>
Replace all cases where `echo` was given a variable as its first
argument, even on cases where we always know what the variable's content
look like.
</content>
</entry>
<entry>
<title>bin/muffle: Re-interleave STDOUT and STDERR on error</title>
<updated>2023-09-14T13:47:52Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2023-09-14T13:47:52Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/dotfiles/commit/?id=b17ae4187f18f18b65003af5ed32d6c3d0a3212f'/>
<id>urn:sha1:b17ae4187f18f18b65003af5ed32d6c3d0a3212f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bin/muffle: Add new working utility</title>
<updated>2023-08-27T19:24:38Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2023-08-27T19:24:38Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/dotfiles/commit/?id=2b2d65d9a1e30944448af17ddc4f90b3f3758dab'/>
<id>urn:sha1:2b2d65d9a1e30944448af17ddc4f90b3f3758dab</id>
<content type='text'>
</content>
</entry>
</feed>
