Bjarni Ingi Gislason wrote in
<[email protected]>:
|URL:
| <https://savannah.gnu.org/bugs/?59461>
...
|locale -a | grep -F -q UTF-8 || exit 77 # skip
That will not do, at least not portably and if you care for older
systems. At minimum you must test utf8 and utf-8 here. Better to
conditionalize on "command -v locale" first, it may be missing as
such (but forgot the details, i however do it like that).
Maybe something like "grep -i -q 'utf-\{0,1\}8$'" or so.
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)