02-06-2009
-s option stands for ? *Urgent
if [[ -s $FTPFILE ]]
in the above command, i want to know what exactly -s options stands for, more detailed help is most welcomed, thanks in advance,
and $FTPFILE is a variable, wchich contains some filename,
pls..help asap.
thanks in advace,
regards
Kunal
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi, what does this mksys stands for in unix?
seems like its something to do with the os.
i am using aix (1 Reply)
Discussion started by: yls177
1 Replies
2. Shell Programming and Scripting
Hi all,
I am parsing command line options using getopts.
The problem is that mandatory argument options following ":" is taking next option as argument if it is not followed by any argument.
Below is the script:
while getopts :hd:t:s:l:p:f: opt
do
case "$opt" in
-h|-\?)... (2 Replies)
Discussion started by: gurukottur
2 Replies
3. UNIX for Dummies Questions & Answers
Hi ,
I have already posted a post regarding this, but i didn't get my problem solve, so some body help me as it was urgent for me, my mail option is not working, when i send a mail, it is strucking in /var/spool/mqueue folder. and i am getting struck there itself, i see below two files are... (1 Reply)
Discussion started by: mars_girish9
1 Replies
4. Shell Programming and Scripting
Hi all
cc +DA1.1 +DS1.1 -o /tmp/testapis /tmp/file.c
While compiling the temp.c file i encounter the above line in my shell script.
I would like to know what the options +DA1.1 and +DS1.1 is used for.
After googling i found that we need to use it on PA RISC machines but a more detailed... (0 Replies)
Discussion started by: gurubarancse
0 Replies
5. Red Hat
Hi
can any one please tell what yp stands for in ypserv daemon (1 Reply)
Discussion started by: Gopi Krishna P
1 Replies
6. Shell Programming and Scripting
To find all the files in your home directory that have been edited in some way since the last tar file, use this command:
find . -newer backup.tar.gz
Is anyone familiar with an older solution?
looking to identify files older then 15mins across several directories.
thanks,
manny (2 Replies)
Discussion started by: mr_manny
2 Replies
7. UNIX for Dummies Questions & Answers
Below is a part of a script -
if
I know -eq means equals in a n if statement but what does this -e means here ?
Please help.
Thanks (2 Replies)
Discussion started by: csrohit
2 Replies
8. Solaris
Hi,
I installed some packages required by an app built with python.
But when I try python setup.py install, I get the following error:
/opt/csw/lib/gcc/sparc-sun-solaris2.10/5.2.0/../../../../sparc-sun-solaris2.10/bin/as: unrecognized option `-m32'
Could anyone tell me what's wrong... (4 Replies)
Discussion started by: Kimkun
4 Replies
9. Shell Programming and Scripting
I am trying to write a shell script which takes an input file as an arguement in the terminal e.g. bash shellscriptname.sh input.txt. I would like for the file to be read line by line each time checking if the .txt file contains certain words or letters(validating the syntax). If the line being... (1 Reply)
Discussion started by: Gurdza32
1 Replies
LEARN ABOUT OSX
doctoc_lang_syntax
doctoc_lang_syntax(n) Documentation tools doctoc_lang_syntax(n)
__________________________________________________________________________________________________________________________________________________
NAME
doctoc_lang_syntax - doctoc language syntax
DESCRIPTION
This document contains the formal specification of the syntax of the doctoc markup language, version 1.1 in Backus-Naur-Form. This document
is intended to be a reference, complementing the doctoc language command reference. A beginner should read the much more informally writ-
ten doctoc language introduction first before trying to understand either this document or the command reference.
FUNDAMENTALS
In the broadest terms possible the doctoc 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 doctoc 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 doctoc 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:
toc = defs
TOC_BEGIN
contents
TOC_END
{ <WHITE> }
defs = { INCLUDE | VSET | <WHITE> }
contents = { defs entry } [ defs ]
entry = ITEM | division
division = DIVISION_START
contents
DIVISION_END
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
doctoc_intro, doctoc_lang_cmdref, doctoc_lang_faq, doctoc_lang_intro
KEYWORDS
doctoc commands, doctoc language, doctoc markup, doctoc syntax, markup, semantic markup
CATEGORY
Documentation tools
COPYRIGHT
Copyright (c) 2007-2009 Andreas Kupries <andreas_kupries@users.sourceforge.net>
doctools 1.0 doctoc_lang_syntax(n)