cdist/cdist/conf/type/__localedef/files/lib/glibc.sh

6 lines
130 B
Bash

# -*- mode: sh; indent-tabs-mode: t -*-
gnu_normalize_codeset() {
echo "$*" | tr -cd '[:alnum:]' | tr '[:upper:]' '[:lower:]'
}