1
dnl @ ../doc/m4.texinfo:4837: Origin of test
2
dnl @ expected status: 0
4
dnl @ Copyright (C) 2006, 2007 Free Software Foundation
5
dnl @ This file is free software; the Free Software Foundation
6
dnl @ gives unlimited permission to copy and/or distribute it
7
dnl @ with or without modifications, as long as this notice
9
define(`upcase', `translit(`$*', `a-z', `A-Z')')dnl
10
define(`downcase', `translit(`$*', `A-Z', `a-z')')dnl
12
`regexp(`$1', `^\(\w\)\(\w*\)',
13
`upcase(`\1')`'downcase(`\2')')')dnl
15
`patsubst(`$1', `\w+', `capitalize1(`\&')')')dnl
16
capitalize(`GNUs not Unix')
17
dnl @result{}Gnus Not Unix