You need some sort of exit from the select loop. Either a break to step on further in the script if that is applicable, or an exit or return to terminate the script if that is the preference.
first off, i am new to unix so please bear with me. i was reading somewhere that if your i-nodes get critical that it can slow your network down. what are i-nodes and when do they become a critical number? this is what mine states:
/ (/dev/root ): 777058 blocks 569290 i-nodes... (4 Replies)
Does anyone know something about this? I have no idea what it means and how to do it. but if anyone can give me and explanation and also point me to a website, i'd really appreciate it (5 Replies)
Hi folks,
I'm a bit of a novice at this but here goes. I want to read in nodes from an XML file, and map the path to each.
eg the file is structured
<node><nodename>.</nodename>
<node><nodename>topnode</nodename>
<node><nodename>subnode1</nodename></node>
... (1 Reply)
Dear all,
I am bit confused lately, I have a xmlfile here:
file: book.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<bookstore>
<book category="COOKING">
<title lang="en">Everyday Italian</title>
<author>Giada De Laurentiis</author>
<year>2005</year>
... (2 Replies)
hello Gurus,
My current set up is 3 to 1 Cluster (SUN Cluster 3.2) running oracle database. Task is to reboot the servers. My query is about the procedure to do the same.
My understanding is suspend the databases to avoid switchover. Then execute the command scshutdown to down the cluster... (4 Replies)
Hello All,
Anybody knows how can I run script on the AIX HACMP offline node, without logon a offline node?
I would like to run a script on the online node and at same time or after the online node on the offline node.
Any IDEA? :confused: (3 Replies)
I am new to cluster commands. But I have tried utilizing: -pe, but I do not know my parallel computing environment. We are running SGE, is there a simpler command to request more nodes?
also: qsub -N auto -M name@email.com -m abe auto.sh
does not email me at all.
Help would be appreciated (0 Replies)
Hi all. I have two nodes taken different places. They are connected together on a network. So, i have a service, it works on one of nodes and when the node is unavailable the service should will be launched on other node.
Solution: rhel cluster, keepalive, hearbeat...may be Carp
but what if... (2 Replies)
Hello to all,
I'd like to tabulate the content of the XML file below, I've been trying with AWK putting the Top node (<KIND>) as RS and so far I'm able to print the first and second field of each record, but I don't know how to continue with the following nodes that have more inner nodes.
The... (4 Replies)
Discussion started by: Ophiuchus
4 Replies
LEARN ABOUT DEBIAN
sqlformat
SQLFORMAT(1) User Commands SQLFORMAT(1)NAME
sqlformat - reformat SQL
SYNOPSIS
sqlformat [ OPTION ] ... [ FILE ] ...
DESCRIPTION
The `sqlformat' command-line tool can be used to reformat SQL file according to specified options or prepare a snippet in in some program-
ming language (only Python and PHP currently supported). Use "-" for FILE to read from stdin.
OPTIONS -i CHOICE|--identifiers=FORMAT
Change case of identifiers. FORMAT is one of "upper", "lower", "capitalize".
-k CHOICE|--keywords=FORMAT
Change case of keywords. FORMAT is one of "upper", "lower", "capitalize".
-l CHOICE|--language=LANG
Output a snippet in programming language LANG. LANG can be "python", "php".
-o FILE|--outfile=FILE
Write output to FILE (defaults to stdout).
-r|--reindent
Reindent statements.
--indent_width=INDENT_WIDTH
Set indent width to INDENT_WIDTH. Default is 2 spaces.
--strip-comments
Remove comments.
-h|--help
Print a short help message and exit. All subsequent options are ignored.
--verbose
Verbose output.
--version
Print program's version number and exit.
AUTHORS
This man page was written by Andriy Senkovych <jolly_roger@itblog.org.ua>
python-sqlparse version: 0.1.2 December 2010 SQLFORMAT(1)