help_text=[ CHARACTER(LEN=128) :: &
fman(1f) - [DEVELOPER] output descriptions of Fortran intrinsics (LICENSE:PD)
Synopsis
Description
Options
Examples
fman NAME(s) [[-ignorecase][--regex Regular_Expression]]|[-topic_only] [--color][--demo]fman [ --help| --version]
fman(1) prints descriptions of Fortran intrinsics as simple flat text.The text is formatted in the txt2man(1) markdown language so one can easily generate man-pages on ULS (Unix-Like Systems).
TOPIC(s) A list of Fortran intrinsic names or the special names "toc" and "manual" (which generate a table of contents and the entire set of documents respecively). The default is "toc" and to ignore case. --regex,-e Search all output per the provided Regular Expression. Output is prefixed with the topic it was found in. --topic_only,-t Only show topic names. Other switches are ignored. --ignorecase,-i Ignore case when searching for a Regular Expression. --demo,-d extract first demo program found for a topic (starting with "program demo_*" and ending with "end program demo_*"). --color Use ANSI in-line escape sequences to display the text in set colors. Does not work with all terminal emulators or terminals. Must use the -r switch with less(1) for less(1) to display colors. --help Display this help and exit --version Output version information and exit
Sample commands
fman # list table of contents fman -e character # check TOC for string. try "trigo","size","complex" fman tan|less # display a description of tan(3f)fman --regex character # look for string in the TOC ignoring case
fman manual>fortran.txt # create a copy of all descriptions
# list the topic "scan" if found and lines containing "scan" from the entire # manual, prefixing the lines with the section name, while ignoring case. fman -e scan -i manual
fman -d verify >demo_verify.f90 # get sample program to try VERIFY(3f).
Nemo Release 3.1 | flower (1) | July 22, 2023 |