#!/bin/bash OVH_CONFDIR="${OVH_CONFDIR:-"${HOME}/.config/ovh"}" # list all *.conf directory content ls -1 ${OVH_CONFDIR}/*.conf | awk -F'/' '{ split($NF,a,".") ; print a[1] }' exit $?