12-11-2017
HTML isn't a scripting language. It's not a programming language, but a markup language 'a system for annotating a document in a way that is syntactically distinguishable from the text' (see wikipedia). Therefor a shebang doesn't make any sense.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi Experts,
This may be the wrong category for posting my question, or it could be the perfect category to post. I have no idea how difficult my problem is.
I have python 2.3 installed in my server machine. I am trying to create a web page with python script in it. Now this can be a .html... (1 Reply)
Discussion started by: davidfrank
1 Replies
2. Shell Programming and Scripting
Hi,
I have one file as follows and I need to read this file contents in an HTML format. And send html file to some mail ids using sendmail.
Communications Pvt Ltd
Report
AccountId Name Code IdBill Balance ... (3 Replies)
Discussion started by: Kattoor
3 Replies
3. Shell Programming and Scripting
Hello guys :D
I have a specific small html file which looks like this:
<td><a href="/wiki/File:ABC_red_le_route.jpg" class="image" title="Chicago 'L' 2600 series train"><img alt="Chicago 'L' 2600 series train" src="example.com/random_image.com" width="550" height="255" /></a></td>
I want... (3 Replies)
Discussion started by: hakermania
3 Replies
4. Shell Programming and Scripting
Hi,
I will get an email with a html attachment. I want to copy that html file to server in a particular location.
Is it possible to do this.. If yes could you please help me on this..
Regards
Neethu (1 Reply)
Discussion started by: Neethu
1 Replies
5. Shell Programming and Scripting
Hi,
I am receiving an email to the server with a html attachment. When I check the /var/mail the attachment is showing as junk characters.
I want to move that html file to a particular location in that server.
Please help me.
Regards
Neethu (4 Replies)
Discussion started by: Neethu
4 Replies
6. Shell Programming and Scripting
Hi to everyone :), i have a challenge right now in python that for now needs a bit of help in one part of the c0de.
The task is create a new file with the name of the file defined by the ASCII content between the 3 byte and the 16 byte that is parsed from the binary file, the file is over 20 Mb i... (0 Replies)
Discussion started by: drd0spt
0 Replies
7. Shell Programming and Scripting
I am working on requirement on spreadsheet in python scripting.
I have a spreadsheet containing cell values and with background color.
I am able to read the value value but unable to get the background color of that particular cell.
Actually my requirement is to read the cell value along... (1 Reply)
Discussion started by: giridhar276
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have requirement for automation, wanna confirm whether is it possible in shell scripting.
1) Need to read data from excel sheet
2) And upload the details in html page
I know first requirement is possible by converting excel into csv form, but not sure about the second one.
If... (6 Replies)
Discussion started by: stew
6 Replies
9. Shell Programming and Scripting
more data.txt
user1:psw1:Moni,Admi
user2:psw2:Depl,Moni,Admi
I wish to perform the following task on the data.txt in my python script
1. read line by line data.txt
2. Once you read the first line split it using delimiter ":" i.e "user1" "psw1" & "Moni,Admi"
3. split the 3rd string i.e... (4 Replies)
Discussion started by: mohtashims
4 Replies
10. Shell Programming and Scripting
Hello,
I am running under ubuntu 14.04.
I have a python file bringing requested data. When I run, it asks me to enter query info. After that, it gives the data if anything matched can be found.
What I need to accomplish is, instead of entering the requested data from keyboard, to put all... (11 Replies)
Discussion started by: baris35
11 Replies
LEARN ABOUT MOJAVE
docidx_lang_syntax
docidx_lang_syntax(n) Documentation tools docidx_lang_syntax(n)
__________________________________________________________________________________________________________________________________________________
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(n)