fan(1f) - [FUNIX] output descriptions of Fortran intrinsics (LICENSE:PD)
Synopsis
Description
Options
Examples
fan NAME(s) [[-ignorecase][--regex Regular_Expression]]|[-topic_only] [--color][--demo]fan [ --help| --version]
fan(1) prints descriptions of Fortran intrinsics using the M_intrinsics(3f) module as simple flat text, but formatted in the txt2man(1) markdown format so it can easily generate man-pages on ULS (Unix-Like Systems).
TOPIC(s) Topic names. A list of Fortran intrinic names or the special names "toc" and "manual", which generate a table of contents and the entire set of documents respectively. 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. --itopic_only,-t only show topic names. Other switches are ignored. --ignorecase,-i ignore case when searching for a Regular Expression --demo,-d extra 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. **PRELIMINARY ALPHA VERSION** --help display this help and exit --version output version information and exit
Sample commands
fan # list table of contents fan -e character # check TOC for string. try "trigo","size","complex" fan tan|less # display a description of tan(3f)fan -regex character # look for string in the TOC ignoring case
fan 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 ignore case. fan -e scan -i manual fan -d verify >demo_verify.f90 # get sample program to try VERIFY(3f)
fan (1) | March 11, 2021 |