Article 5CBA9 Is it possible to easily detect a space at the end of lines in a long list?

Is it possible to easily detect a space at the end of lines in a long list?

by
linustalman
from LinuxQuestions.org on (#5CBA9)
Hi.

I have a large file of words (17000+ lines) and their translations. I sort them with Pluma and check the 'remove duplicates' option. However, I'm sure there's a fair few with a space at the end of the line and would be seen as not a duplicate. Is there some easy way to find them?

Example of what I mean (notice how the second line has a space at the end so these would be seen as 2 different lines in Pluma):
dog - madra
dog - madra

Thanks.latest?d=yIl2AUoC8zA latest?i=xUTymbRFlaA:6NRhUIftWjw:F7zBnMy latest?i=xUTymbRFlaA:6NRhUIftWjw:V_sGLiP latest?d=qj6IDK7rITs latest?i=xUTymbRFlaA:6NRhUIftWjw:gIN9vFwxUTymbRFlaA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments