On Tue, Feb 13, 2024 at 09:47:38PM +0100, Franco Martelli wrote:
> ~# LC_ALL=C apt install
> So the question is: does anybody know if this syntax works on all shells
> other than bash? csh, korn, dash, zsh …
This syntax works in all the Bourne family shells, which is all of the
above *except* csh.
In csh, you need to use env. Like this:
% env LC_ALL=C apt install
This works in all shells, at the cost of being slightly less efficient.