1
0
Fork 0
mirror of https://github.com/trapd00r/LS_COLORS.git synced 2025-03-14 12:34:28 +01:00
LS_COLORS/tests/no_dupes

9 lines
259 B
Text
Raw Normal View History

2020-03-01 18:19:38 -08:00
#!/usr/bin/env bash
#
exts="$(dircolors LS_COLORS | head -n1 | sed 's/=[^:]*//g ; s/:/\n/g')"
exts_sorted="$(sort <<< "$exts")"
exts_uniq="$(sort -u <<< "$exts")"
diff --color=auto --text --report-identical-files <(echo "$exts_uniq") <(echo "$exts_sorted")