Hi Ward, Thank you for that suggestion. In the end, I was able to find an easier one through the use of echo statements.
In any case, I will await the outcome of these discussions around splitting up the description, help and whatis statements. Cheers, Ben -----Original Message----- From: easybuild-requ...@lists.ugent.be [mailto:easybuild-requ...@lists.ugent.be] On Behalf Of Ward Poelmans Sent: Friday, 20 January 2017 9:54 p.m. To: easybuild@lists.ugent.be Subject: Re: [easybuild] LUA modules: whatis statement split up across multiple lines when printed On Thu, Jan 19, 2017 at 10:38 PM, Ben Roberts <b...@roberts.geek.nz> wrote: > This is a problem for me and my site as we prepare our lists of > modules by looking at the output of “module whatis”. While we could > post-process that output, it is somewhat tedious and error prone to > have to do so. The formatting may also be somewhat ugly in general > when users consult a module whatis. Why not use the json output of spider to process the list of modules? In principle, you can even write a class to let Lmod write json instead of bash/perl/... to the screen. But I agree with Jack. We try to limit the number of character on a line to 120. Ward