On 19/06/2024 10.32, Ulrich Mueller wrote:
On Tue, 18 Jun 2024, Florian Schmaus wrote:Any preference regarding the auto-formatting tool? The readme.gentoo-r1.eclass uses fold, but fmt (both are in coreutils) would probably also be an option (and has a --uniform-spacing option ;)).readme.gentoo.eclass originally had fmt, but then switched to fold following discussion in bug 460050 [1].
'fold' it is then. See https://gitlab.com/flow/flow-s-ebuilds/-/commit/a9215c903a5434a65df1f2cae8409750d94eec74Note that thanks to greadme.eclass *not* using a variable like DOC_CONTENTS, we can avoid some shell trickery that readme.gentoo-r1.eclass has to do [1].
- Flow1: https://github.com/gentoo/gentoo/blob/f10decf0ec3bdf75618124534057df0a14b8c61b/eclass/readme.gentoo-r1.eclass#L63-L68
OpenPGP_0x8CAC2A9678548E35.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature