<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotfiles/bin/msg, 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>2024-01-04T14:23:55Z</updated>
<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/msg: Improve help string</title>
<updated>2023-08-15T20:16:58Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2023-08-15T20:16:58Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/dotfiles/commit/?id=812f74342eeeb06f51ff52c69df1433234ae648e'/>
<id>urn:sha1:812f74342eeeb06f51ff52c69df1433234ae648e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bin/*: Add matching parenthesis to case clauses</title>
<updated>2023-07-29T11:52:48Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2023-07-29T11:52:48Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/dotfiles/commit/?id=cef76cd1b0ae32ba1d9733c9d09d62de24559743'/>
<id>urn:sha1:cef76cd1b0ae32ba1d9733c9d09d62de24559743</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bin/: Make help string more consistent across several executables</title>
<updated>2023-04-12T11:15:20Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2023-04-12T11:15:20Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/dotfiles/commit/?id=c6188975d2da6c1696c4433f6fce8ae4c9a6ac38'/>
<id>urn:sha1:c6188975d2da6c1696c4433f6fce8ae4c9a6ac38</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bin/: Use explicit "--" separator for assert-arg usages</title>
<updated>2023-02-17T18:07:32Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2023-02-17T18:07:30Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/dotfiles/commit/?id=44b1e103b4d3a24aee89587ef302891e9f9c3807'/>
<id>urn:sha1:44b1e103b4d3a24aee89587ef302891e9f9c3807</id>
<content type='text'>
In order to prevent legitimate cases to fail as errors, such as:

  NUM='-10'
  eval "$(assert-arg "$NUM" '-n NUM')"

To prevent assert-arg(1) from treating "-10" as the options "-1 and -0,
they need to be put after the "--" separator.

This way, all usages of assert-arg(1) that had its first argument as a
variable were adapted, and the usage and examples of assert-arg itself
were updated to encourage this best practice.
</content>
</entry>
<entry>
<title>bin/{msg,tmp,xmpp}: Change euandreh.xyz -&gt; euandre.org</title>
<updated>2022-11-27T11:09:17Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2022-11-27T11:09:17Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/dotfiles/commit/?id=ea8a9585ec7ee149d4c411bc45b05756cb4c8f65'/>
<id>urn:sha1:ea8a9585ec7ee149d4c411bc45b05756cb4c8f65</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix all ShellCheck warnings</title>
<updated>2022-10-20T14:07:20Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2022-10-20T14:07:19Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/dotfiles/commit/?id=7c3a0a4f09c81558918b66deeafa486234a73294'/>
<id>urn:sha1:7c3a0a4f09c81558918b66deeafa486234a73294</id>
<content type='text'>
IOW, `make check-shellcheck` passes.
</content>
</entry>
<entry>
<title>bin/: Replace usage of assert_arg with assert-arg</title>
<updated>2022-08-13T13:58:10Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2022-08-13T13:58:10Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/dotfiles/commit/?id=a0188f38d8a9702dd3d7119375173d063a5f28bc'/>
<id>urn:sha1:a0188f38d8a9702dd3d7119375173d063a5f28bc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bin/msg: Support good and bad messages via -0 and -1</title>
<updated>2022-08-12T22:00:27Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2022-08-12T22:00:27Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/dotfiles/commit/?id=6f1a792d88c7c9bcb4d68d5f747e89599e4c6ad4'/>
<id>urn:sha1:6f1a792d88c7c9bcb4d68d5f747e89599e4c6ad4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bin/msg: Add example to help message</title>
<updated>2022-05-18T06:47:52Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2022-05-18T06:47:52Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/dotfiles/commit/?id=e209690c83300c915e13d9fdfe8a32d6e5b1c9f0'/>
<id>urn:sha1:e209690c83300c915e13d9fdfe8a32d6e5b1c9f0</id>
<content type='text'>
</content>
</entry>
</feed>
