pathnames.h (103d66460c2154040ed1adba896258932911f276) pathnames.h (1f05bc6c92b037a24315c8408aab875bbd6453b8)
1/*
2 * Copyright � 2002, J�rg Wunsch
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

--- 35 unchanged lines hidden (view full) ---

44/* Each subdirectory of PATH_PORTS will be appended to PATH_SOURCES. */
45#define PATH_PORTS "/usr/ports"
46
47/* How to query the current manpath. */
48#define MANPATHCMD "manpath -q"
49
50/* How to obtain the location of manpages, and how to match this result. */
51#define MANWHEREISCMD "man -S1:8:6 -w %s 2>/dev/null"
1/*
2 * Copyright � 2002, J�rg Wunsch
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

--- 35 unchanged lines hidden (view full) ---

44/* Each subdirectory of PATH_PORTS will be appended to PATH_SOURCES. */
45#define PATH_PORTS "/usr/ports"
46
47/* How to query the current manpath. */
48#define MANPATHCMD "manpath -q"
49
50/* How to obtain the location of manpages, and how to match this result. */
51#define MANWHEREISCMD "man -S1:8:6 -w %s 2>/dev/null"
52#define MANWHEREISALLCMD "man -a -w %s 2>/dev/null"
52#define MANWHEREISMATCH "^.* [(]source: (.*)[)]$"
53
54/* Command used to locate sources that have not been found yet. */
55#define LOCATECMD "locate '*'/%s 2>/dev/null"
53#define MANWHEREISMATCH "^.* [(]source: (.*)[)]$"
54
55/* Command used to locate sources that have not been found yet. */
56#define LOCATECMD "locate '*'/%s 2>/dev/null"