You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when using lines > remove dup lines, it works like the uniq command which keeps the first dup line,
but when using selections > sort lines > remove dup lines, the lines that appear twice will all be removed.
it's very confusing that the same command has two different meanings in two different submenus. I've used these commands incorrectly, I think it can be avoided by providing a better name.
The text was updated successfully, but these errors were encountered:
LennaHammer
changed the title
it's confusing that remove dup lines has two meanings in different place.
it's confusing that remove dup lines has two meanings in different submenu.
Mar 12, 2024
@hpwamr : No it is no bug or regression, this is an option within the "Sort lines" working as designed. @LennaHammer is correct, that the wording is not chosen well and may be misleading.
Remove unique lines. => OK
Remove empty lines. => OK
Remove white-space lines. => called in the Edit -> Lines -> menu: Remove Blank Lines - better: use same wording
Remove duplicate lines. => the meaning is as described by @LennaHammer : remove all duplicates (incl. first one) maybe we can find a better wording here.
Merge duplicate lines. => Merge duplicate lines (into the first one) - this is the same functionality as menu Edit -> Lines -> Remove Duplicate Lines - which removes all dupes except the first/original line.
So, functionality is correct - we should find better wording here - any suggestions ?
when using lines > remove dup lines, it works like the uniq command which keeps the first dup line,
but when using selections > sort lines > remove dup lines, the lines that appear twice will all be removed.
it's very confusing that the same command has two different meanings in two different submenus. I've used these commands incorrectly, I think it can be avoided by providing a better name.
The text was updated successfully, but these errors were encountered: