2 # Prints the list of all locale names, one per line.
7 host=`/bin/sh ../autoconf/config.guess`
8 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
9 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
10 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
14 cd /usr/lib/locale && ls -1
17 cd /usr/share/locale && ls -1
20 echo "Don't know how to determine list of locales on $host_os" 1>&2