Here's a nice teaser for a shell scripting guru:Take a directory with several text files. Can be a few up to ~1000.All files contain an identifier on a given line (always the same line).Identify which files have identifier that is NOT UNIQUE, i.e. Duplicated in other file(s) in the directory.Output or save the list of duplicatesThis is needed for a routine admin 'clean-up' of system generated files that SHOULD be unique but through user error may not be.
Shell script to search files for identical text entries
shell;text processing;duplicate