10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I´m trying to input a plain text table and I want to output a csv file with semicolon field separator.
I have some problems with the \r and the fields with more of one line.. Some gnu util to do this without problems or awk solution?
I´m attaching the original plain table file and the needed... (2 Replies)
Discussion started by: faka
2 Replies
2. Shell Programming and Scripting
Hi everyone,
Here are the contents of a plain text file created by a SQL query:
SUM(T.TRNQTY) COUNT(D.TRNSEQ)
---------------- ----------------
1380 46
1393 59
2680 134
740 37
... (5 Replies)
Discussion started by: gacanepa
5 Replies
3. Shell Programming and Scripting
Hi everyone,
I want to know, if there is a way to modify one line in a text file with unix script, with out re-writing all the file.
For example, i have this file:
CONFIGURATION_1=XXXX
CONFIGURATION_2=YYYY
CONFIGURATION_3=ZZZZ
supose i have a command or function "modify" that... (7 Replies)
Discussion started by: Xedrox
7 Replies
4. Shell Programming and Scripting
Hi,
I want to display both html and plain in email in my script.
i tried the below code
code:
export MAILTO="ssi@a.com"
export CONTENT1="$htmlfile"
export CONTENT2="$plainfile"
export SUBJECT="INFO "
export MAILFROM="si@a.com"
(
echo "Subject: $SUBJECT"
echo "MIME-Version:... (4 Replies)
Discussion started by: sreelu
4 Replies
5. Shell Programming and Scripting
Hello!
I've got a very big file (from tokenization) which has one word for line.
How is it possible then to rebuild the "original" text, knowing that <s> and </s> are the sentence-delimiters?
My file looks like this:
<s>
&&
tanzania
na
Afrika
kwa
ujumla
ambiwa
na
taifa
kubwa... (6 Replies)
Discussion started by: mjomba
6 Replies
6. Shell Programming and Scripting
Hello,
I would like to export manual pages to plain text files.
man CommandName | col -bx > CommandName.txt
The above statement works successfully on Mac OS X. However, it often fails on my old Linux. The problem occurs if the source file of the manpage contains an escape sequence for... (5 Replies)
Discussion started by: LessNux
5 Replies
7. Programming
hi, i want to ask, how to make a plain text database (u need to call and search all the data manually) in PHP. i am going to apply it in UNIX os. anyone have any idea how to do it? most of the data only using mysql while i am forbid to do so. (2 Replies)
Discussion started by: grandios
2 Replies
8. Shell Programming and Scripting
Hi,
sorry for bothering with this easy problem but I can't understand...
I've a file like this:
"4","0x23a3"
"5","0x4234"
"11",""
"20",""
"11132","0x6456"
I would like to create a file like this:
4,23a3
5,4234
11,999999
20,999999
11132,6456
I've tried:
cat INPUT.txt | sed -e... (7 Replies)
Discussion started by: TheMrOrange
7 Replies
9. Linux
I'm attempting to print to a networked konica printer. No linux drivers that I know of exist, but we've always used HP 5si drivers and have had good results.
We just loaded a box up with CentOS 5, and now when we print any sort of file from the command line (lp -dkonica <filename>), the text is... (0 Replies)
Discussion started by: fender177
0 Replies
10. AIX
Root emailed me this message and thats ok it is supposed to. The thing that concerns me is that the ADMIN password came in plain text. I Xed it out for the purpose of this message of course.
Is there a way for me to set this so the password comes encrypted? OR is not included at all in the... (4 Replies)
Discussion started by: rocker40
4 Replies
GROFF_MOM(7) Miscellaneous Information Manual GROFF_MOM(7)
NAME
groff_mom - groff `mom' macros
SYNOPSIS
pdfmom [-Tps [pdfroff options]] [groff options] files ...
groff [-mom] files ...
groff [-m mom] files ...
DESCRIPTION
mom is a macro set for groff, designed primarily to format documents for PDF and PostScript output.
mom provides two categories of macros: macros for typesetting, and macros for document processing. The typesetting macros provide access
to groff's typesetting capabilities in ways that are simpler to master than groff's primitives. The document processing macros provide
highly customizable markup tags that allow the user to design and output professional-looking documents with a minimum of typesetting
intervention.
Files processed with pdfmom (man(1) pdfmom), with or without the -Tps option, produce PDF documents. The documents include a PDF outline
that appears in the 'Contents' panel of document viewers, and may contain clickable internal and external links.
When -Tps is absent, groff's native PDF driver, gropdf, is used to generate the output. When given, the output is still PDF, but process-
ing is passed over to pdfroff, which uses groff's PostScript driver, grops. Not all PDF features are available when -Tps is given; its
primary use is to allow processing of files with embedded PostScript images.
Files processed with groff -mom (or -m mom ) produce PostScript output by default.
mom comes with her own very complete documentation in HTML format. A separate PDF manual, Producing PDFs with groff and mom, covers full
mom/PDF usage.
FILES
om.tmac
- the main macro file
mom.tmac
- a wrapper file that calls om.tmac directly.
</usr/share/doc/groff-1.22.2/html/mom/toc.html>
- entry point to the HTML documentation
/usr/share/doc/groff-1.22.2/pdf/mom-pdf.pdf
- the PDF manual, Producing PDFs with groff and mom
/usr/share/doc/groff-1.22.2/examples/mom/*.mom
- example files using mom
AUTHOR
mom was written by Peter Schaffter <peter@schaffter.ca>.
PDF support was provided by Deri James <deri@chuzzlewit.demon.co.uk>.
Please send bug reports to the groff-bug mailing list <bug-groff@gnu.org> or directly to the authors.
Groff Version 1.22.2 7 February 2013 GROFF_MOM(7)