<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotfiles/bin/assert-arg, 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-05-09T12:16:29Z</updated>
<entry>
<title>bin/...: Move utilities to the dedicated "eut" package</title>
<updated>2024-05-09T12:16:29Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2024-05-09T12:16:29Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/dotfiles/commit/?id=cb3e6e922465717e360cedbe80f2420cc50e397d'/>
<id>urn:sha1:cb3e6e922465717e360cedbe80f2420cc50e397d</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/assert-arg: Add helper utility</title>
<updated>2022-08-12T21:50:28Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2022-08-12T21:50:28Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/dotfiles/commit/?id=a67170c98eca90b34e4069db048dbd157c2d2156'/>
<id>urn:sha1:a67170c98eca90b34e4069db048dbd157c2d2156</id>
<content type='text'>
</content>
</entry>
</feed>
