Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace tac with awk to be more portable #1591

Merged
merged 1 commit into from
Jan 19, 2025

Conversation

shtayerc
Copy link
Contributor

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.

"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.
@89luca89
Copy link
Owner

Thanks @shtayerc I assumed tac was mostly there as it's also part of busybox, but also this solution works :) thanks!

@89luca89 89luca89 merged commit dd467f7 into 89luca89:main Jan 19, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants