edrcman

Package: WA2L/edrc 1.5.57
Section: General Commands (1)
Updated: 27 April 2025
Index Return to Main Contents

 

NAME

edrcman - display WA2L/edrc manual pages

 

SYNOPSIS

edrc/bin/edrcman [ -h | -w | -s | -m | -l ([ os ]| sys ) ]

edrcman [ manpage ]

edrcman [ section ] manpage
edrcman manpage[.section]

edrcman [ man_options ] [ section ] manpage
edrcman [ man_options ] manpage[.section]

edrcman -o [ OS ] [ man_options ] [ section ] manpage
edrcman -o [ OS ] [ man_options ] manpage[.section]

edrcman -i [ SYSTEM ] manpage[.section]

 

AVAILABILITY

WA2L/edrc

 

DESCRIPTION

With edrcman you can view the manual pages provided with WA2L/edrc without setting the $MANPATH environment variable. To display the manpages the operating system`s own man command is used internally.

 

OPTIONS

-h
show edrcman usage.

--help
show man(1) usage.

-w
print $MANPATH that is searched by the man command.

-s
print $MANSECT that defines the manual page sections that are searched by the man command.

-m
list man page mappings from edrc/etc/edrcman.map.

-l ([ os ]| sys )
list available bundled OS or SYSTEM man pages.

-o [ OS ]
show/search only the WA2L/edrc bundled native manual pages of the related operating system.

The OS (not case sensitive) can be an operating system ID as returned by osid(3), or the operating system name and version (use: -l to list the possible OS specifications).

If the OS is not specified, the $MAN_OSID is used as OS.

-i [ SYSTEM ]
show internet based (https://manned.org/, https://man.freebsd.org/) manual pages of the given operating SYSTEM variant.

Available SYSTEMs are: alpine, arch, centos, darwin, debian, dragonfly, fedora, freebsd, hpux, irix, linux, macos, macosx, minix, netbsd, openbsd, opendarwin, opensuse, osf1, plan9, rocky, slackware, solaris, sunos, sunos4, sunos5, suse, true64, ubuntu, ultrix, v7, x11, xfree86 and to query the general manual pages: [M]ANNED or [F]REEBSD, whereas the default is derived from the /etc/os-release file, if possible.

man_options
all native man options.

manpage
manual page to be read. If no manpage is specified, the edrcintro(1) is displayed.

section
manual page section.

 

ENVIRONMENT

$MAN_OSID
if this environment variable is not set, the osid is resolved by the osid(3) command. The only reason to set the $MAN_OSID variable is, when it is needed to check manual pages of operating system dependent commands without logging in to a system resolving that operating system to the related OS-id.

$LANG
if LC_ALL in edrcman.cfg is not set and $LANG is not empty, the contents of $LANG is used as $LC_ALL for the man command. Else the C locale is used as default.

$LC_ALL
if LC_ALL is not defined in edrcman.cfg the contents of the environment variable is used for the man command

other
for other possible environment variable settings see man(1).

 

EXIT STATUS

4
usage displayed.

6
config file edrcman.cfg not found.

16
manual page requested does not exist. If the requested page is a currently missing WA2L/edrc manual page, a message indicating to call edrcman edrcintro is printed.

17
for the operating system specified in the -o OS option no native manual pages are bundled with WA2L/edrc.

x
the exit status of native man, see man(1) for more information.

 

FILES

edrc/man/
manual pages.

edrc/man/all
WA2L/edrc manual pages and manual pages for all operating systems.

edrc/man/all/man1/EDRC.1
index man page of WA2L/edrc.

edrc/man/<OS-id>/
manpages of operating system dependent WA2L/edrc commands.

edrc/man/OS/<OS-id>/
manpages collection of operating system commands. This to provide (closely native) operating system manual pages on systems where the manual pages are not installed or to check command usage of other operating systems (export MAN_OSID=osid) when developing commands (see also: mandir(4) manpage). To view this manual pages, add


  `approot`/man/OS/${MAN_OSID} 

preferably as last entry to the MAN_PAGE=... setting in edrc/etc/edrcman.cfg.

edrc/etc/edrcman.cfg
configuration file of edrcman, see edrcman.cfg(4) for more information.

edrc/etc/edrcman.map
mapfile to map certain manual pages.

edrc/etc/perl_wrapper.cfg
configuration file of perl_wrapper(3). The MODULE_DIR setting of this file is read to resolve the man page location of perl modules bundled with WA2L/edrc. See perl_wrapper.cfg(4) for more information.

edrc/var/cache/edrcman/
resolution cache of the edrcman command if the CACHE setting in the configuration file edrc/etc/edrcman.cfg is not set to False.

edrc/var/cache/edrcman/meta
meta data for the resolution cache. This file is used to check if the cache data is still valid.

edrc/var/cache/edrcman/data
this file contains the cache data, the resolved MANPATH and MANSECT settings for the system where edrcman has been executed.

/etc/os-release
Linux operating system release information file.

 

EXAMPLES

-

 

SEE ALSO

edrcintro(1), edrcman.cfg(4), edrcman.map(4), edrc(1m), man(1), mandir(4), manpages(4), osid(3), perl_wrapper.cfg(4)

 

NOTES

If you called the shell command within edrc the man command is an alias to edrcman.

 

BUGS

-

 

AUTHOR

edrcman was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net .

 

COPYRIGHT

Copyright © 2021 Christian Walther

This is free software; see edrc/doc/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
OPTIONS
ENVIRONMENT
EXIT STATUS
FILES
EXAMPLES
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 12:39:19 GMT, April 27, 2025