see contrib/texi2pod.pl. if you do want to work on something more sensible, please attach a patch. Note that @xref can take various numbers of parameters.
# keep references of the form @ref{...}, print them bold
s/\@(?:ref)\{([^\}]*)\}/B<$1>/g;
# Change double single quotes to double quotes.
s/''/"/g;
s/``/"/g;
# Cross references are thrown away, as are @noindent and @refill.
# (@noindent is impossible in .pod, and @refill is unnecessary.)
# @* is also impossible in .pod; we discard it and any newline that
# follows it. Similarly, our macro @gol must be discarded.
see contrib/ texi2pod. pl. if you do want to work on something more sensible, please attach a patch. Note that @xref can take various numbers of parameters.
# keep references of the form @ref{...}, print them bold @(?:ref) \{([^\} ]*)\}/B< $1>/g;
s/\
# Change double single quotes to double quotes.
s/''/"/g;
s/``/"/g;
# Cross references are thrown away, as are @noindent and @refill.
# (@noindent is impossible in .pod, and @refill is unnecessary.)
# @* is also impossible in .pod; we discard it and any newline that
# follows it. Similarly, our macro @gol must be discarded.
s/\ (?\@xref\ {(?:[^\ }]*)\}( ?:[^.<] |(?:<[^ <>]*>)) *\.\)?/ /g; s+\(\@pxref\ {(?:[^\ }]*)\}\ )//g; \s+\@pxref\ {(?:[^\ }]*)\}/ /g;
s/\
s/;