mirror of
https://github.com/trapd00r/LS_COLORS.git
synced 2024-11-14 07:41:08 +01:00
8 lines
259 B
Bash
Executable file
8 lines
259 B
Bash
Executable file
#!/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")
|