89luca89 / distrobox

Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
https://distrobox.it/
GNU General Public License v3.0
10.15k stars 419 forks source link

Replace tac with awk to be more portable #1591

Open shtayerc opened 1 month ago

shtayerc commented 1 month ago

Since the latest release distrobox-enter does not work on system without tac command, this should make it more portable.

tac is GNU coreutils specific command - it is not present in bsd utils. There is also tail -r, but the parameter is not POSIX compliant.