Hello everyone, I understand the goal and the global strategy. It could be done with the `bat` package too. Based on the previous proposal, I show it below the Georges's steps.
Le jeu. 18 janv. 2024 à 09:29, Georges Khaznadar <georges.khazna...@free.fr> a écrit : > [...] - modify the manpage crontab.1 to explain how to colourise the output of > `crontab -l`; typically by issuing `crontab -l | spc -t crontab`, > and explain shortly how one can customize at will the file which defines > the coulourisation. > - let the package cron install one file for supercat, > /etc/supercat/spcrc-crontab; I attach such a file to this e-mail, so > Stéphane can copy it as ".spcrc-crontab", in order to see how the > output of `crontab -l | spc -t crontab` looks like. > - add a recommendation from package cron to package supercat. The `bat` package highlights several languages, including crontab. So it would be simpler because there is no need to add a specific file: $ crontab -l | bat --language Crontab `-l` is usable instead of `--language`. For my usage, I will set an alias: alias crontabl='crontab -l | bat --language Crontab' I'm not sure if adding a `recommends: supercat` is a good idea. Perhaps adding the ways to highlight crontab in manpage is enough ? -- Stéphane