HomeFreeBSD

content/en: Use <<section>> for linking within a document

Description

content/en: Use <<section>> for linking within a document

I've used the following script to locate all the cases where crossref
was used to link to a section within the same document:

grep -R crossref: | while read -r case; do
    file=${case%%:*}
    dir=${file%/*}
    dir_name=${dir##*/}
    line=${case##*:}
    target_document=${line%%[*}
    if [ "$dir_name" = "$target_document" ]; then
        echo "$case"
    fi
done

Details

Provenance
0mpAuthored on Apr 20 2021, 10:49 AM
Parents
R9:ceee1def00ac: articles/committers-guide: Document change in MFH policy
Branches
Unknown
Tags
Unknown