如何在M4宏中缩进一段文本 [英] How to indent a block of text in an m4 macro

查看:132
本文介绍了如何在M4宏中缩进一段文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一个好的方法来在m4宏中统一缩进一段文本?换句话说,宏

Is there a good way to uniformly indent a block of text in an m4 macro? In other words, the macro

define(`mytext',dnl
This is
a
piece of text
that I would like
to indent)
mytext

产生

This is
a
piece of text
that I would like
to indent

我希望有一种方法可以将整个文本块缩进指定的数量.

I'd like to have a way to indent the whole block of text to a specified amount.

推荐答案

查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆