Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们有一个内部配置文件,逐行处理。不幸的是,随着时间的推移,这些线路变得非常大。配置处理器对配置文件进行 m4 预处理。有没有办法让我使用 m4 将多条(可读)行折叠成一行?
解决了这个问题:
在 m4 的 patsubst 中,如何用空格替换换行符?