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
doctools_intro(3tcl) Documentation tools doctools_intro(3tcl)
__________________________________________________________________________________________________________________________________________________
NAME
doctools_intro - doctools introduction
DESCRIPTION
doctools (short for documentation tools) stands for a set of related, yet different, entities which are working together for the easy cre-
ation and transformation of documentation. These are
[1] A tcl based language for the semantic markup of text. Markup is represented by Tcl commands interspersed with the actual text.
[2] A package providing the ability to read and transform texts written in that markup language. It is important to note that the actual
transformation of the input text is delegated to plugins.
[3] An API describing the interface between the package above and a plugin.
Which of the more detailed documents are relevant to the reader of this introduction depends on their role in the documentation process.
[1] A writer of documentation has to understand the markup language itself. A beginner to doctools should read the more informally writ-
ten doctools language introduction first. Having digested this the formal doctools language syntax specification should become
understandable. A writer experienced with doctools may only need the doctools language command reference from time to time to
refresh her memory.
While a document is written the dtplite application can be used to validate it, and after completion it also performs the conversion
into the chosen system of visual markup, be it *roff, HTML, plain text, wiki, etc.
[2] A processor of documentation written in the doctools markup language has to know which tools are available for use.
The main tool is the aforementioned dtplite application provided by Tcllib. A more powerful one (in terms of options and ability to
configure it) is the dtp application, provided by Tclapps. At the bottom level, common to both applications, however sits the pack-
age doctools, providing the basic facilities to read and process files containing text in the doctools format.
[3] At last, but not least, plugin writers have to understand the interaction between the doctools package and its plugins, as described
in the doctools plugin API reference.
RELATED FORMATS
doctools does not stand alone, it has two companion formats. These are called docidx and doctoc, and they are for the markup of keyword
indices, and tables of contents, respectively. They are described in their own sets of documents, starting at the docidx introduction and
the doctoc introduction, respectively.
BUGS, IDEAS, FEEDBACK
This document, will undoubtedly contain bugs and other problems. Please report such in the category doctools of the Tcllib SF Trackers
[http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have.
SEE ALSO
docidx_intro, doctoc_intro, doctools, doctools_lang_cmdref, doctools_lang_faq, doctools_lang_intro, doctools_lang_syntax, doctools_plug-
in_apiref
KEYWORDS
markup, semantic markup
CATEGORY
Documentation tools
COPYRIGHT
Copyright (c) 2007 Andreas Kupries <andreas_kupries@users.sourceforge.net>
doctools 1.0 doctools_intro(3tcl)