Skip to content

Conversation

cvonelm
Copy link
Contributor

@cvonelm cvonelm commented Jun 15, 2024

I think we should fall in line with GNU behaviour here.

If you really think you need to do this:

tr [:lower:]123 [:upper:]

you can already do this:

tr [:lower:]123 [:upper:]Z

which does the same thing and is more explicit about which character is repeated to fill set2.

(Although generally, I think that if you are at that point you are already using the wrong tool).

However, I do not have strong opinions on this and would happily implement this the other way if someone is clearly in favour of that.

…aracter class

tr [:lower:]a [:upper:]

fails in GNU tr, so print an error for tr too.
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)

@cakebaker cakebaker merged commit ef68e60 into uutils:main Jun 16, 2024
@cakebaker
Copy link
Contributor

Thanks!

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