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
docidx_lang_syntax(3tcl) Documentation tools docidx_lang_syntax(3tcl)
__________________________________________________________________________________________________________________________________________________
NAME
docidx_lang_syntax - docidx language syntax
DESCRIPTION
This document contains the formal specification of the syntax of the docidx markup language, version 1 in Backus-Naur-Form. This document
is intended to be a reference, complementing the docidx language command reference. A beginner should read the much more informally writ-
ten docidx language introduction first before trying to understand either this document or the command reference.
FUNDAMENTALS
In the broadest terms possible the docidx markup language is like SGML and similar languages. A document written in this language consists
primarily of markup commands, with text embedded into it at some places.
Each markup command is a just Tcl command surrounded by a matching pair of [ and ]. Which commands are available, and their arguments, i.e.
syntax is specified in the docidx language command reference.
In this document we specify first the lexeme, and then the syntax, i.e. how we can mix text and markup commands with each other.
LEXICAL DEFINITIONS
In the syntax rules listed in the next section
[1] <TEXT> stands for all text except markup commands.
[2] Any XXX stands for the markup command [xxx] including its arguments. Each markup command is a Tcl command surrounded by a matching
pair of [ and ]. Inside of these delimiters the usual rules for a Tcl command apply with regard to word quotation, nested commands,
continuation lines, etc.
[3] <WHITE> stands for all text consisting only of spaces, newlines, tabulators and the comment markup command.
SYNTAX
The rules listed here specify only the syntax of docidx documents. The lexical level of the language was covered in the previous section.
Regarding the syntax of the (E)BNF itself
[1] The construct { X } stands for zero or more occurrences of X.
[2] The construct [ X ] stands for zero or one occurrence of X.
The syntax:
index = defs
INDEX_BEGIN
[ contents ]
INDEX_END
{ <WHITE> }
defs = { INCLUDE | VSET | <WHITE> }
contents = keyword { keyword }
keyword = defs KEY ref { ref }
ref = MANPAGE | URL | defs
At last a rule we were unable to capture in the EBNF syntax, as it is about the arguments of the markup commands, something which is not
modeled here.
[1] The arguments of all markup commands have to be plain text, and/or text markup commands, i.e. one of
[1] lb,
[2] rb, or
[3] vset (1-argument form).
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, docidx_lang_cmdref, docidx_lang_faq, docidx_lang_intro
KEYWORDS
docidx commands, docidx language, docidx markup, docidx syntax, markup, semantic markup
CATEGORY
Documentation tools
COPYRIGHT
Copyright (c) 2007-2009 Andreas Kupries <andreas_kupries@users.sourceforge.net>
doctools 1.0 docidx_lang_syntax(3tcl)