blob: b59abb23101e4a7eef917c7ad2b22e3e139e5828 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
‘‘m4_dnl Set the quote characters to something that conflicts less
m4_changequote(‘‘,’’)
m4_define(FMT_CODE, ‘‘pre .code-sample {=
m4_esyscmd(sed '
s/[@\\}]/\\&/g
m4_regexp($1, .*\.diff$,
/^+/s/.*/@ins{-&}/
/^-/s/.*/@del{-&}/
)
s/.*/@code{-&}/
' $(dirname 'm4___file__')/$1)
}’’)’’
|