/usr/share/cook/text is in cook 2.33-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | /*
 * NAME
 *      text - process text
 *
 * DESCRIPTION
 *      This cookbook is used to process text documents.
 *
 *      Include file dependencies are automatically detected.
 *      The requirements for various preprocessors are automatically detected
 *      (eg eqn, tbl, pic, graf).
 *
 * RECIPES
 *      %.ps: %.t       PostScript for generic *roff source
 *      %: %.t          straight text from *roff source
 *
 * VARIABLES
 *      text_incl       The text_incl command (finds include dependencies).
 *                      Not altered if already set.
 *      text_roff       The text_roff command (finds preprocessor needs).
 *                      Not altered if already set.
 *      roff_flags      Arguments passed to text_roff,
 *                      and indirectly to the *roff program.
 *                      Not altered if already set.
 *                      Defaults to empty.
 * Copyright (C) 2007 Peter Miller
 */
#pragma once
if [not [defined c_incl]] then
        c_incl = [find_command c_incl];
if [not [defined text_roff]] then
        text_roff = groff -Tascii;
if [not [defined ps_roff]] then
        text_roff = groff;
if [not [defined roff_flags]] then
        roff_flags = ;
%.ps: %.t
{
        [ps_roff] -e [roff_flags] %.t > %.ps;
}
%.doc: %.t
{
        [text_roff] -n [roff_flags] %.t > %.doc;
}
#if [c_incl]
%.t.d: %.t
{
        [c_incl] -r -ns -nc -nrec
                [addprefix "-I" [search_list]]
                --prefix\="'cascade %.t ='"
                --suffix\="';'"
                [resolve %.t]
                -o [target];
}
%.so.d: %.so
{
        [c_incl] -r -ns -nc -nrec
                [addprefix "-I" [search_list]]
                --prefix\="'cascade %.so ='"
                --suffix\="';'"
                [resolve %.so]
                -o [target];
}
#include-cooked [addprefix ".d" [glob "*.t" "*.so"]]
#endif
 |