1/* tw.help.c: actually look up and print documentation on a file. 2 * Look down the path for an appropriate file, then print it. 3 * Note that the printing is NOT PAGED. This is because the 4 * function is NOT meant to look at manual pages, it only does so 5 * if there is no .help file to look in. 6 */ 7/*- 8 * Copyright (c) 1980, 1991 The Regents of the University of California. --- 19 unchanged lines hidden (view full) --- 28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33 * SUCH DAMAGE. 34 */ 35#include "sh.h" |
36#include "tw.h" 37#include "tc.h" 38 39 40static int f = -1; 41static void cleanf (int); 42static Char *skipslist (Char *); 43static void nextslist (const Char *, Char *); --- 162 unchanged lines hidden --- |