<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dwarvish.git, branch docs</title>
<subtitle>a (mostly) posix compliant shell and tiny functional programming language
</subtitle>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/'/>
<entry>
<title>Add a license file</title>
<updated>2024-04-12T05:23:26+00:00</updated>
<author>
<name>Rory Dudley</name>
</author>
<published>2024-04-12T05:23:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/commit/?id=0aba77c88d66d3b6fc5a28b9e7d77df718a6dcaf'/>
<id>0aba77c88d66d3b6fc5a28b9e7d77df718a6dcaf</id>
<content type='text'>
dwvsh is licensed under the BSD 2 Clause license.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
dwvsh is licensed under the BSD 2 Clause license.
</pre>
</div>
</content>
</entry>
<entry>
<title>Create the dwvsh(1) manual page</title>
<updated>2024-04-12T05:19:27+00:00</updated>
<author>
<name>Rory Dudley</name>
</author>
<published>2024-04-12T05:19:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/commit/?id=ee3633a9a3a7ae484b8a84aa5d5d578cab19a9c6'/>
<id>ee3633a9a3a7ae484b8a84aa5d5d578cab19a9c6</id>
<content type='text'>
This patch adds a cursory man page for the dwvsh binary.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds a cursory man page for the dwvsh binary.
</pre>
</div>
</content>
</entry>
<entry>
<title>Sort output of 'export' and 'alias'</title>
<updated>2024-04-12T03:49:51+00:00</updated>
<author>
<name>Rory Dudley</name>
</author>
<published>2024-04-12T03:49:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/commit/?id=87e4a3da43e7d203d3405f977ce8e93298dd55c3'/>
<id>87e4a3da43e7d203d3405f977ce8e93298dd55c3</id>
<content type='text'>
Sort the output of the built-in 'export' and 'alias' commands, in cases
where all environment variables/aliases are printed out.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sort the output of the built-in 'export' and 'alias' commands, in cases
where all environment variables/aliases are printed out.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add 'strings' to the verse after the string!() macro</title>
<updated>2024-04-07T05:50:46+00:00</updated>
<author>
<name>Rory Dudley</name>
</author>
<published>2024-04-07T05:50:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/commit/?id=6198c54a9e1155bb9b7f93b8cb5daf3e2deddb25'/>
<id>6198c54a9e1155bb9b7f93b8cb5daf3e2deddb25</id>
<content type='text'>
This patches fixes a bug, where sometimes, when a Rune::String was
detected, the resulting string from the string!() macro wasn't getting
pushed to the current verse.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patches fixes a bug, where sometimes, when a Rune::String was
detected, the resulting string from the string!() macro wasn't getting
pushed to the current verse.
</pre>
</div>
</content>
</entry>
<entry>
<title>Capture STDOUT as bytes, and convert to string when necessary</title>
<updated>2024-04-07T05:32:30+00:00</updated>
<author>
<name>Rory Dudley</name>
</author>
<published>2024-04-07T05:32:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/commit/?id=f5db8d64828db756b80b6022322265a2b4f1c11b'/>
<id>f5db8d64828db756b80b6022322265a2b4f1c11b</id>
<content type='text'>
Previously, the recite() function created the 'out' variable, which was
a String, that got passed to the various incant functions, in order to
capture STDOUT in certain situations. In cases where STDOUT was
captured, it was first converted to a String, and then appended to the
'out' variable, by means of String::from_utf8_lossy(). This works for
basic text, however, does NOT work for binary data. This becomes
problematic, when for example, downling a tar file with curl/wget, that
is then piped ('|') to the tar program. Using from_utf8_lossy() in this
case can corrupt the tar file. This patch makes it so that out is stored
as bytes by default, and only converted to a String when necessary.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, the recite() function created the 'out' variable, which was
a String, that got passed to the various incant functions, in order to
capture STDOUT in certain situations. In cases where STDOUT was
captured, it was first converted to a String, and then appended to the
'out' variable, by means of String::from_utf8_lossy(). This works for
basic text, however, does NOT work for binary data. This becomes
problematic, when for example, downling a tar file with curl/wget, that
is then piped ('|') to the tar program. Using from_utf8_lossy() in this
case can corrupt the tar file. This patch makes it so that out is stored
as bytes by default, and only converted to a String when necessary.
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle aliases in read()</title>
<updated>2024-04-05T04:12:14+00:00</updated>
<author>
<name>Rory Dudley</name>
</author>
<published>2024-04-05T04:12:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/commit/?id=1415c8f9b89699000ef8d864ff8f0e1bebca4a5f'/>
<id>1415c8f9b89699000ef8d864ff8f0e1bebca4a5f</id>
<content type='text'>
Instead of handling aliases in the recite() function, which requires two
loops to handle properly with the current implementation, offload
checking for aliases to the read() function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of handling aliases in the recite() function, which requires two
loops to handle properly with the current implementation, offload
checking for aliases to the read() function.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for aliases to the `which` command</title>
<updated>2024-04-04T06:50:55+00:00</updated>
<author>
<name>Rory Dudley</name>
</author>
<published>2024-04-04T06:50:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/commit/?id=badbba41476cd6fd424042c48681acde82227ba6'/>
<id>badbba41476cd6fd424042c48681acde82227ba6</id>
<content type='text'>
The `which` command is not necessarily a builtin, however, it can
display shell aliases. This patch adds a line into dist/etc/dwvshrc,
which allows /usr/bin/which to detect our shell aliases, and print them.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `which` command is not necessarily a builtin, however, it can
display shell aliases. This patch adds a line into dist/etc/dwvshrc,
which allows /usr/bin/which to detect our shell aliases, and print them.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add better support for aliases</title>
<updated>2024-04-04T06:47:24+00:00</updated>
<author>
<name>Rory Dudley</name>
</author>
<published>2024-04-04T06:47:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/commit/?id=9b3e4dd71ec1491e3580e079e9be1b42117a74c9'/>
<id>9b3e4dd71ec1491e3580e079e9be1b42117a74c9</id>
<content type='text'>
Make sure to interpret alias values as their own poems, since aliases
can be fairly complex.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make sure to interpret alias values as their own poems, since aliases
can be fairly complex.
</pre>
</div>
</content>
</entry>
<entry>
<title>Document aliases in the docstring for lookup()</title>
<updated>2024-03-31T06:53:56+00:00</updated>
<author>
<name>Rory Dudley</name>
</author>
<published>2024-03-31T06:53:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/commit/?id=beb11773f6ac17d0b97f908311ac5989e1a0a5ae'/>
<id>beb11773f6ac17d0b97f908311ac5989e1a0a5ae</id>
<content type='text'>
Add documentation for anthology::lookup(), with a list containing all
the default aliases for builtin commands.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add documentation for anthology::lookup(), with a list containing all
the default aliases for builtin commands.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add docstring comments to all the anthology functions</title>
<updated>2024-03-31T06:50:03+00:00</updated>
<author>
<name>Rory Dudley</name>
</author>
<published>2024-03-31T06:50:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/commit/?id=791b61f97e3ee12dfd765f5e23edd5df527eb803'/>
<id>791b61f97e3ee12dfd765f5e23edd5df527eb803</id>
<content type='text'>
Add docstring comments for all the incant function throughout the
anthology, documenting what each function does, and an example of it's
shell command.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add docstring comments for all the incant function throughout the
anthology, documenting what each function does, and an example of it's
shell command.
</pre>
</div>
</content>
</entry>
</feed>
