Sponsored Content
Full Discussion: nroff question.
Top Forums UNIX for Dummies Questions & Answers nroff question. Post 302600539 by drl on Tuesday 21st of February 2012 10:34:41 AM
Old 02-21-2012
Hi.

Here's one instance:
Code:
#! /bin/sh
# Emulate nroff with groff.
# $FreeBSD: src/contrib/groff/src/roff/nroff/nroff.sh,v 1.18.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $

cheers, drl
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Next Question:

what is the function of swap in linux why i have to create apsolutely a particion for the swap when i install (i installed lnx4win mandrake and made an automat. disk particion and the install program one of my disk partitions that was 3gb devidet in 4 one native 700mb swap 600mb and the others i... (1 Reply)
Discussion started by: user666
1 Replies

2. UNIX for Dummies Questions & Answers

nroff command

Hi, Can anyone brief me about 'nroff' command? Is it's usage much differed in Solaris and Linux OS? Your help is appreciated. With Regards Dileep Pattayath (1 Reply)
Discussion started by: DILEEP410
1 Replies

3. Shell Programming and Scripting

question

how do i write a script that'll open what i entered and scan it for a certain line of text. for example, i enter a filename (that exists) and in that file i want to scan a certain word that'll show how much of that word appears throughout the file. (2 Replies)
Discussion started by: mrhenry
2 Replies

4. Shell Programming and Scripting

vi question

hello! i am very new to this, so please bear with me. i used red hat linux to creat a little two page website for school, which was really just an exercise in absolute and relative paths. so, now, its all done, and i want to play with it some more, but i think there may be a problem with vi. i... (3 Replies)
Discussion started by: jojodancer
3 Replies

5. UNIX for Dummies Questions & Answers

Question

I need to write a script file that will tell me the largest number in a group of numbers. ANy help is greatly appreciated (2 Replies)
Discussion started by: twan
2 Replies

6. UNIX for Dummies Questions & Answers

Help me these Question??

1. How the Unix system identify the Other User to access for file permission? 2. What command we use to convert the extension of a file name? 3. What command use to convert other editing file to Unix based text file? Please answer of these Question???Its necessary for me?? (3 Replies)
Discussion started by: pradipta_pks
3 Replies

7. Programming

C++ little question

Hi, I am doing a C++ self-study and I got stuck with this problem. I want to have a code that asks the suer to enter two numbers and then it lists the numbers between these two numbers. It has also to print a message if these two numbers are equal. Here is what I wrote: #include <iostream>... (11 Replies)
Discussion started by: faizlo
11 Replies

8. Shell Programming and Scripting

A question

Hi, I'm new to unix and got struck here.Can any one help me out.My question is .. is the command if ; then echo "do some stuff" fi correct? Thanks in advance abhijeet (18 Replies)
Discussion started by: Abhijeet_Atti
18 Replies

9. UNIX for Dummies Questions & Answers

Ls -l question

Hi, When doing ls -l, is it right to assume that all files with the date and time on it are files that are created/modified on the current year? Is there any way to display the creation/modified date of a file that are not created/modified in the current year? (4 Replies)
Discussion started by: newbie_01
4 Replies
NROFF(1)                                                      General Commands Manual                                                     NROFF(1)

NAME
nroff - emulate nroff command with groff SYNOPSIS
nroff [-CchipStUvwW] [-dcs] [-Mdir] [-mname] [-nnum] [-olist] [-rcn] [-Tname] [file ...] nroff --help nroff -v | --version DESCRIPTION
The nroff script emulates the nroff command using groff. Only ascii, latin1, utf8, and cp1047 are devices accepted by nroff to select the output encoding emitted by grotty, groff's TTY output device. If neither the GROFF_TYPESETTER environment variable nor the -T command line option (which overrides the environment variable) specifies a (valid) device, nroff checks the current locale to select a default output device. It first tries the locale program, then the environment variables LC_ALL, LC_CTYPE, and LANG, and finally the LESSCHARSET environ- ment variable. The -h and -c options are equivalent to grotty's options -h (using tabs in the output) and -c (using the old output scheme instead of SGR escape sequences). The -d, -C, -i, -M, -m, -n, -o, -r, -w, and -W options have the effect described in troff(1). In addition, nroff silently ignores the options -e, -q, and -s (which are not implemented in troff). Options -p (pic), -t (tbl), -S (safer), and -U (unsafe) are passed to groff. -v and --version show the version number, --help prints a help message. ENVIRONMENT
GROFF_TYPESETTER The default device for groff. If not set (which is the normal case), it defaults to 'ps'. GROFF_BIN_PATH A colon separated list of directories in which to search for the groff executable before searching in PATH. If unset, '/usr/bin' is used. NOTES
This shell script is basically intended for use with man(1). nroff-style character definitions (in the file tty-char.tmac) are also loaded to emulate unrepresentable glyphs. SEE ALSO
groff(1), troff(1), grotty(1) COPYING
Copyright (C) 1989-2014 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions, except that this permission notice may be included in translations approved by the Free Software Foundation instead of in the original English. Groff Version 1.22.3 10 February 2018 NROFF(1)
All times are GMT -4. The time now is 10:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy