09-26-2004
man format file
hello
How can i make a man file from a plain text file, what command should use?
thanks
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
:) Hi
i am trying to convert a file which is in UTF8 format to ANSI format i tried to use the function ICONV but it is throwing error
Function i used it as
$ iconv -f UTF8 -t ANSI filename
Error iam getting is NOT Supported UTF8 to ANSI
please some help me out on this.........Let me... (1 Reply)
Discussion started by: rajreddy
1 Replies
2. UNIX for Dummies Questions & Answers
:confused: Hi
i am trying to convert a file which is in UTF8 format to ANSI format i tried to use the function ICONV but it is throwing error
Function i used it as
$ iconv -f UTF8 -t ANSI filename
Error iam getting is NOT Supported UTF8 to ANSI
please some help me out on... (9 Replies)
Discussion started by: rajreddy
9 Replies
3. UNIX for Dummies Questions & Answers
Hi
I have a file which has ascii , binary, binary decimal coded,decimal & hexadecimal data with lot of special characters (like öƒ.ƒ.„İİ¡Š·œƒ.„İİ¡Š· ) in it. I want to standardize the file into ASCII format & later use that as source .
Can any one suggest a way a logic to convert such... (5 Replies)
Discussion started by: gaur.deepti
5 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
Is there any way to convert a file which is in UNIX format to a PC format....
Flip command can be used , apart form this command can we have any other way.... like usinf "awk" etc ..... main purpose of not using flip is that my Kshell doesnot support this comamnd.... (1 Reply)
Discussion started by: Samtel
1 Replies
5. Shell Programming and Scripting
Hi All,
Is there any way to convert a file which is in UNIX format to a PC format....
Flip command can be used , apart form this command can we have any other way.... like usinf "awk" etc ..... main purpose of not using flip is that my Kshell doesnot support this comamnd.... (2 Replies)
Discussion started by: Samtel
2 Replies
6. Solaris
Hi is it me or is there a typo in the Sun Solaris man page for ps. I thought the option for listing a process by PID was just -p but on the clearcase server at work it reads: -
-ps proclist
Lists only process data whose process ID numbers are
given in proclist.... (5 Replies)
Discussion started by: steadyonabix
5 Replies
7. Shell Programming and Scripting
Hi,
I am having couple of files which i used to copy from windows to Linux, so now in case of text files (CTRL^M) appears at end of line. I know i can convert this windows format file to unix format file by running dos2unix.
My requirement here is that i want to do it automatically using a... (5 Replies)
Discussion started by: sarbjit
5 Replies
8. Shell Programming and Scripting
Hello Everyone,
I have one source file which is genarated by SAP in different format(Which I've never seen). I need to convert that file to required format and I need to read this target file from Datastage to use this in my Jobs. So I do not have any other options except to use Unix script to... (4 Replies)
Discussion started by: Prathyu
4 Replies
LEARN ABOUT REDHAT
dtformatter
formatter(n) Documentation tools formatter(n)
NAME
formatter - Interface specification for formatter code
DESCRIPTION
This manpage specifies the interface between the manpage processor mpexpand and the tcl code implementing the conversion into a particular
output format.
The tcl code has to provide
[1] Implementations of all commands specified in format(n), using the defined names
[2] and additionally implementations for
NumPasses
This command is called after the formatter is setup and has to return the number of passes required by this formatter to
process a manpage. This information has to be an integer number greater or equal to one.
PassSetup
This command is called at the beginning of each pass over the input. It can assume that the current number of the pass is
already set to the correct value and is responsible for setting up the internal state of the formatter for this pass.
PostProcess text
This command is called after last pass, with the expansion result of that pass, and can do any last-ditch modifications of
the generated result. Its result is the final text written to the output.
Most formats will use identity here.
HandleText text
This command is called for any plain text encountered by the processor in the input and can do any special processing
required for plain text. Its result is the string written into the expansion.
Most formats will use identity here.
The tcl code implementing all of the above can make the following assumptions:
[1] It has full access to its own non-safe interpreter. In other words, the formatter cannot damage the other parts of the processor,
but it can do damage to the filesystem. It is trusted in that way.
[2] The surrounding system provides the formatter code with the following commands:
mp_pass
This command returns the number of the current pass.
mp_file
This command returns the full name of the file currently processed, or stdin, if the input is read from there.
mp_module
This command returns the name of the module we are in.
cappend
cget
cis
cname
cpop
cpush
cset
lb
rb All of the above commands are methods of the expander object handling the input. Their arguments and results are described in
expander(n).
SEE ALSO
expander(n), format(n), mpexpand(n)
KEYWORDS
manpage, interface, TMML, HTML, nroff, conversion, markup
doctools 1.0 formatter(n)