Gents,
from these sample lines:
ZUCR.MI ZUCCHI SPA RISP NC 2,5000 6 ott 0,0000
ZV.MI ZIGNAGO VETRO 3,6475 16:36 Up 0,0075
is it possible to get this:
ZUCR.MI 2,5000
ZV.MI 3,6475
i.e. the first field, a separator and the first decimal number?
(in Europe we... (9 Replies)
Hi,
the text line looks like this:
"test1" " " "test2" "test3" "test4" "10" "test 10 12" "00:05:58" "filename.bin" "3.3MB" "/dir/name" "18459"
what's the best way to select any of it? So I can for example get only the time or size and so on.
I was trying awk -F""" '{print $N}' but... (3 Replies)
The text line has the following formats:
what.ever.bla.bla.C01G06.BLA.BLA2
what.ever.bla.bla.C11G33.BLA.BLA2
what.ever.bla.bla.01x03.BLA.BLA2
what.ever.bla.bla.03x05.BLA.BLA2
what.ever.bla.bla.Part01.BLA.BLA2
and other similar ones, I need a way to select the "what.ever.bla.bla" part out... (4 Replies)
FOLKS ,
i have a text file that is generated automatically of an another korn shell script, i want to bring in the fifth line of the text file in to my korn shell script and look for a particular word in the line . Can you all share some thoughts on this one.
thanks...
Venu (3 Replies)
* hdisk99 U5791.001.9920BZ4-P1-C05-T1-W500507630E060C14-L401140BA00000000 IBM MPIO FC 1750
* hdisk100 U5791.001.9920BZ4-P1-C05-T1-W500507630E060C14-L401140BB00000000 IBM MPIO FC 1750
* hdisk185 U5791.001.9920BZ4-P1-C05-T1-W500507630E060C14-L401140A000000000 IBM MPIO FC... (2 Replies)
I have created one file that contains all the necessary info in it to create a download link. In each of the lines /results/analysis/output/Home/Auto_user_S5-00580-6-Medexome_67_032/plugin_out/FileExporter_out.67... (8 Replies)
I have been searching and trying to come up with an awk that will perform the following on a
converted text file (original is a pdf).
1. Since the first two lines are (begin with) text they are removed
2. if $1 is a number then all text is merged (combined) into one line until the next... (3 Replies)
The awk below will create sub-directories in a directory (which is always the last line of file1, each block separated by an empty line), if the number in line 2 (always the first 6 digits in the format xx-xxxx) of file2 is found in $2 of file1. This is the current awk output.
If there is a... (0 Replies)
Discussion started by: cmccabe
0 Replies
LEARN ABOUT REDHAT
sgml2latex
SGML2LATEX(1) General Commands Manual SGML2LATEX(1)NAME
sgml2latex - create LaTeX, DVI, PostScript or PDF output from a LinuxDoc DTD SGML source file
SYNOPSIS
sgml2latex [generic-option...] [--output=tex|dvi|ps|pdf] [--bibtex] [--makeindex] [--pagenumber=n] --quick [--latex=hlatexp|platex]
[--dvips=dvips|dvi2ps] file[.sgml]
DESCRIPTION
sgml2latex is an old and obsoleted form of the latex converter command of LinuxDoc-Tools. It is recommended to switch the new form linux-
doc -B latex now. It converts a LinuxDoc DTD SGML source file to LaTeX output, using the nsgmls(1) or onsgmls(1) parser, and the sgml-
sasp(1) translator. Using the LaTeX output, and the latex(1) text formatter, you can then create DVI output, and PostScript output using
the dvips(1) converter. Output will appear in file.tex for LaTeX output, file.dvi for DVI output, or file.ps for PostScript output, where
file is the name of the SGML source file.
Using the LaTeX output, and the pdflatex(1) text formatter, you can then create a nice PDF output, suitable for viewing with PDF viewers
as xpdf(1), acroread(1) or ghostview(1).
The attribute/value pair "output=latex2e" is set for conditionals.
OPTIONS
sgml2latex accepts all the generic options described in linuxdoc(1), and the following specific options:
--output=fmt, -o
Specify the desired output format. The specifier fmt may be ``tex'', ``dvi'', ``ps'', or ``pdf''.
Note: This version does not overwrite/remove the intermediate files: tex file for dvi output, or tex/dvi files for ps output. This is dif-
ferent behavior from the original SGML-Tools 1.0.9, so you are warned here.
--bibtex, -b
Process the generated TeX with bibtex(1).
--makeindex, -m
Generate a TeX index file suitable for processing with makeindex(1) from and <idx> and <cdx> tags present in the SGML source.
--pagenumber, -n
Set the starting page number in the output DVI or PS file.
--quick, -q
Do only one pass of LaTeX formatting. This is often not sufficient to produce final output (because of references, etc.) but is
useful for spotting TeX errors and justification problems.
--pass, -P
The argument of the pass option is inserted just after the LaTeX preamble generated by the document-type tag. Specify the desired
output format. The specifier fmt may be ``tex'', ``dvi'', ``ps'', or ``pdf''.
--latex=alternate_latex_command, -x
This option is currently for Korean and Japanese. The alternate_latex_command can be ``latex'' (default), ``hlatexp'' (for Korean),
``platex'' or ``jlatex'' (for Japanese). This option can be used to render Korean document using HLaTeXp, or to render Japanese
document using pLaTeX/jLaTeX. If not, HLaTeX should be installed to render Korean document. On the other hand, Japanese document
can be rendered with jLaTeX
(which is the default when ``-c nippon'' is specified), so if you already have jLaTeX, you may not need to install the pLaTeX.
--dvips=alternate_dvips_command, -s
This option is currently for Japanese. The alternate_dvips_command can be ``dvips'' or ``dvi2ps''. If you don't know this, then
you may not need this.
file The SGML source file, named either file or file.sgml
FILES
Many files and executables in /usr/share/linuxdoc-tools and /usr/bin are used.
BUGS
None known.
AUTHOR
Originally written by Greg Hankins <greg.hankins@cc.gatech.edu>, based on scripts by Tom Gordon and Alexander Horz. Later rewritten by Cees
de Groot <cg@cdegroot.com>. PDF patches by Juan Jose Amor <jjamor@hispalinux.es>. Currently maintained by Taketoshi Sano
<sano@debian.org> for Linuxdoc-Tools.
SEE ALSO linuxdoc(1), sgml2html(1), sgml2info(1), sgml2lyx(1), sgml2rtf(1), sgml2txt(1), sgmlcheck(1).
18 May 2000 SGML2LATEX(1)