dnl @ ../doc/m4.texi:4373: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software dnl @ Foundation, Inc. dnl @ This file is free software; the Free Software Foundation dnl @ gives unlimited permission to copy and/or distribute it dnl @ with or without modifications, as long as this notice dnl @ is preserved. define(`lquo', `ifelse(`$#', `0', ``$0'', `changequote(`[', `]')`dnl' changequote([`], ['])')') dnl @result{} define(`rquo', `ifelse(`$#', `0', ``$0'', `changequote(`[', `]')dnl` 'changequote([`], ['])')') dnl @result{} Quotes in reverse: rquo:rquo() lquo:lquo() dnl @result{}Quotes in reverse: rquo:' lquo:` define(`hi', `HELLO')dnl lquo()hi`'rquo() dnl @result{}`HELLO' substr(`-hi-', 1, 2) substr(`-`hi'-', `1', `4') dnl @result{}HELLO hi substr(`-'lquo()`hi'rquo()`-', `1', `4') dnl @result{}hi substr(`-'lquo()hi`'rquo()`-', `1', `2')rquo()' dnl @result{}Hrquo()