NAME
dirconvert
—
Convert color strings between LSCOLORS
and LS_COLORS format
SYNOPSIS
dirconvert |
LSCOLORS | LS_COLORS |
DESCRIPTION
The dirconvert
utility reads the inputed
string and converts that string into the alternative format. If the input is
a single dash (‘-
’)
dirconvert
reads the first line from the standard
input.
EXIT STATUS
The dirconvert
utility exits 0 on
success, and >0 if an error occurs.
EXAMPLE
Convert LS_COLORS to LSCOLORS format:
$ dirconvert "$LS_COLORS" ExgxdxGxGxDxdxHxHxHeEx