using "uniq" and ignore the first chars, instead of words
- by bks
i have a list of files in a folder. the list of files is displayed using:
ls | cat
now, i want to pipe that to uniq so it'll ignore the first 6 charactes before comparing.
is it possible? or perhaps i need to use another command?
thank you