<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32, branch su_cmd2</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=su_cmd2</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=su_cmd2'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2023-04-23T14:14:55+00:00</updated>
<entry>
<title>sush: new applet</title>
<updated>2023-04-23T14:14:55+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-23T12:12:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a6b004d72931ab656293e9ab3a3cfb810b2764de'/>
<id>urn:sha1:a6b004d72931ab656293e9ab3a3cfb810b2764de</id>
<content type='text'>
Introduce the new applet sush.  It's like su but it permits additional
arguments on the command line which are passed to the elevated shell.

Adds 144-168 bytes.  (O bytes if it's not enabled.)
</content>
</entry>
<entry>
<title>su: properly quote command</title>
<updated>2023-04-23T14:12:44+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-23T12:11:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=3354901c71c3b035be7edc6fd17e0a9b20c7adc0'/>
<id>urn:sha1:3354901c71c3b035be7edc6fd17e0a9b20c7adc0</id>
<content type='text'>
Previously the command passed to the elevated shell was placed
in literal double quotes on the command line.  Instead it should
be subject to full quoting by the quote_arg() function.

Tweak command line processing.

Costs 24-32 bytes.
</content>
</entry>
<entry>
<title>win32: export xappendword()</title>
<updated>2023-04-23T08:04:01+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-23T08:00:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0575aaaa0779812752427badbc0f80a09aac02a4'/>
<id>urn:sha1:0575aaaa0779812752427badbc0f80a09aac02a4</id>
<content type='text'>
Export the function xappendword() from make.  Use it in drop and
watch.

Saves 8-80 bytes, an unusually large disparity.
</content>
</entry>
<entry>
<title>win32: case-sensitivity in tab completion</title>
<updated>2023-04-19T11:51:19+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-19T11:51:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=7b81a44c87cf71dfb4f647ba107624e208ffbefe'/>
<id>urn:sha1:7b81a44c87cf71dfb4f647ba107624e208ffbefe</id>
<content type='text'>
The tab-completion code treated all matches as case-insensitive
because that's how Microsoft Windows handles filenames.

This is now inadequate, as shell builtins, functions and aliases
are case sensitive.

Modify the treatment of case-sensitivity in tab completion:

- Track whether each potential match is case-insensitive (filename)
  or case-sensitive (shell builtin, function or alias).

- When comparing matches use a case-insensitive comparison if either
  value is a filename.  Otherwise use a case-sensitive comparison.

Adds 64 bytes.
</content>
</entry>
<entry>
<title>dd: omit direct flag</title>
<updated>2023-04-18T10:44:57+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-18T10:44:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2eeb7a1e5c5242784a0c24a88042f98b9e69963a'/>
<id>urn:sha1:2eeb7a1e5c5242784a0c24a88042f98b9e69963a</id>
<content type='text'>
O_DIRECT isn't supported with open(2) on Microsoft Windows.

All code related to the 'direct' input/output flag can be omitted.

Saves 160 bytes.
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2023-04-17T06:32:52+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-17T06:32:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=8cdeb571cfbf3bb6edc44779e46537b072b8cd08'/>
<id>urn:sha1:8cdeb571cfbf3bb6edc44779e46537b072b8cd08</id>
<content type='text'>
</content>
</entry>
<entry>
<title>readlink: support --, -n always</title>
<updated>2023-04-16T16:01:44+00:00</updated>
<author>
<name>Eric Blake</name>
<email>eblake@redhat.com</email>
</author>
<published>2023-03-24T14:58:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d2b81b3dc2b31d32e1060d3ea8bd998d30a37d8a'/>
<id>urn:sha1:d2b81b3dc2b31d32e1060d3ea8bd998d30a37d8a</id>
<content type='text'>
POSIX will be standardizing readlink (just the -n option) and realpath
(just -E and -e options):
https://www.austingroupbugs.net/view.php?id=1457

Change things for readlink so that the POSIX-mandated -n and -- work
even when disabling the non-standard (and partially non-working) -f
when FEATURE_READLINK_FOLLOW is clear.

POSIX also wants readlink to be verbose by default (if the argument is
not a symlink, readlink must output a diagnostic); I did NOT address
that one, because I'm waiting to see what the GNU Coreutils folks do:
https://lists.gnu.org/archive/html/bug-coreutils/2023-03/msg00035.html

Partial fix for https://bugs.busybox.net/show_bug.cgi?id=15466

function                                             old     new   delta
packed_usage                                       34538   34557     +19

Signed-off-by: Eric Blake &lt;eblake@redhat.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>tr: display usage for incorrect arguments</title>
<updated>2023-04-16T15:54:00+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-16T07:23:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2ffd8986e21f1782c78e1a9d34f6042af53d876c'/>
<id>urn:sha1:2ffd8986e21f1782c78e1a9d34f6042af53d876c</id>
<content type='text'>
tr must have one or two non-option arguments.  Display the usage
message if any other number is present.

function                                             old     new   delta
.rodata                                           108389  108392      +3
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/0 up/down: 3/0)                 Total: 3 bytes

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash,hush: tab completion of functions and aliases</title>
<updated>2023-04-16T15:15:05+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-13T11:56:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=acae889dd97280ee59b7e04c18005bb8875cb0d2'/>
<id>urn:sha1:acae889dd97280ee59b7e04c18005bb8875cb0d2</id>
<content type='text'>
Since commit 9e2a5668f (ash,hush: allow builtins to be tab-completed,
closes 7532) ash and hush have supported tab completion of builtins.

Other shells, bash and ksh for example, also support tab completion
of functions and aliases.

Add such support to ash and hush.

function                                             old     new   delta
ash_command_name                                       -      92     +92
hush_command_name                                      -      63     +63
ash_builtin_name                                      17       -     -17
hush_builtin_name                                     38       -     -38
------------------------------------------------------------------------------
(add/remove: 2/2 grow/shrink: 0/0 up/down: 169/-55)           Total: 100 bytes

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
Signed-off-by: Avi Halachmi &lt;avihpit@yahoo.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>wget: enable progress bar in default configuration</title>
<updated>2023-04-16T12:52:49+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-16T12:29:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=41827dd448c001b52b4f0e591ea605cb5de1d230'/>
<id>urn:sha1:41827dd448c001b52b4f0e591ea605cb5de1d230</id>
<content type='text'>
For some reason the progress bar in wget has never been enabled.

Costs 1536-1600 bytes.
</content>
</entry>
</feed>
