These are equivalent, but more performant. We already use `sort -u`
elsewhere in the codebase, so nothing new here really.
* t/add-missing.tap: Change `sort|uniq` to `sort -u`.
* t/CheckListOfTests.am: Likewise.
($(am__cd) $(srcdir) && ls $$dir/*$$ext 2>/dev/null); \
fi; \
done; \
- done | sed 's,^\./,,' | sort | uniq >$(am__tfs); \
+ done | sed 's,^\./,,' | sort -u >$(am__tfs); \
## Compare the two lists, complain if they differ.
if $$diff $(am__tmk) $(am__tfs) >$(am__tdf); then \
result=0; \
# Only the expected files should be installed. But automake always
# require 'missing' and 'install-sh', so account for them.
all_files="install-sh missing $files"
- for f in $all_files; do echo $f; done | sort | uniq > files.exp
+ for f in $all_files; do echo $f; done | sort -u > files.exp
(cd $build_aux && ls) | sort > files.got
cat files.exp
cat files.got