02-25-2013
Your fi indentation is highly individual, unusual, and misleading, not for the shell, but for the occasional reader!
You can't break out of if constructs, only out of loops. To arrive where you are heading for, you need to reorder/rewrite the entire if- tree.
9 More Discussions You Might Find Interesting
1. HP-UX
Can some one point this UNIX newbie to a web site or directions on the steps needed to break a mirror in HP-UNIX to change a bad hard drive. (4 Replies)
Discussion started by: egress1
4 Replies
2. Linux
Hi ,
I am running this script ( pasting only error code ) to generate some ddl definition for tables . But what I want is to break out of the db2look part when the base_table is not like DIM_$TN or FACT_$TN . After this it should come back to while loop to read the next TN . I read the other... (3 Replies)
Discussion started by: capri_drm
3 Replies
3. Shell Programming and Scripting
My input file is like
USER_WORK.ABC
USER_WORK.DEF
I want output file like
ABC
DEF (4 Replies)
Discussion started by: scorp_rahul23
4 Replies
4. Shell Programming and Scripting
Hi,
I have a file that looks like this - lets call it fileA
>hhm2
IIIIIIIIILLLLLLLMMMMMMMMMNNNNNNNNNNGGGGGGHHHHHHHH
>hhm4
OOOOOKKKKKKKKMMMMMHHHHHLLLLLLLLWWWWWWWWWWW
>hhm9
OOOOOOOIIIIIIIIIKKKKKKKKKMMMMMHHHHHHHHHHHLLLLLLLLLL
So the file is pretty straight forward. The name is indicated... (2 Replies)
Discussion started by: phil_heath
2 Replies
5. Shell Programming and Scripting
Hey,
I have to take one CSV file and break into more files. Let's I have a file prices.csv and the data in the file like
1,12345
1,34567
1,23456
2,67890
2,77720
2,44556
2,55668
10,44996
based on the first column, I want to create files. in this example 1 is repeated three times... (12 Replies)
Discussion started by: bond2222
12 Replies
6. Shell Programming and Scripting
I have a main script with while loop having for loop inside. Again in for loop based on if condition few functions will be called. So when a function is called for certain condition it should come out from the main for loop and should continue with while loop.
Let me explain with example here:
I... (6 Replies)
Discussion started by: vpv0002
6 Replies
7. UNIX for Dummies Questions & Answers
hi,
My input is:
123
1234|123|123|123
123|123|456
123|123|12
12
Expected output is:
123
1234|123
123|123
123|123
456
123|123
12 (1 Reply)
Discussion started by: pandeesh
1 Replies
8. Shell Programming and Scripting
Here's my code -
for File in "${Files}"; do
uuencode "${File}" "$(basename ${File} 2>&-)" 2>&-;
done | mailx -s "subject" "a@b.c"
Now I want to know if there a way to *not* send an email if the "Files" variables turns out to be blank. Any suggestions?
Also, just to clarify, I... (4 Replies)
Discussion started by: nexional
4 Replies
9. Shell Programming and Scripting
Hi folks,
I have a scenario to convert the update statements into insert statements using shell script (awk, sed...) or in database using regex.
I have a bunch of update statements with all columns in a file which I need to convert into insert statements.
UPDATE TABLE_A SET COL1=1 WHERE... (0 Replies)
Discussion started by: dev123
0 Replies
LEARN ABOUT DEBIAN
ml-burg
ml-burg(1) General Commands Manual ml-burg(1)
NAME
ml-burg - a tree parser generator for Standard ML
SYNOPSIS
ml-burg file.burg
DESCRIPTION
This manual page documents briefly the ml-burg command. This manual page was written for the Debian distribution because the original pro-
gram does not have a manual page.
The ml-burg program generates a Standard ML program to perform bottom-up rewriting of an input tree. Cost information associated with each
rewrite rule is used to derive the minimum rewrite cost for the entire tree. A successful reduction corresponds to rewriting the input tree
to a special non-terminal symbol called the start non-terminal. Upon successful reduction, facilities are provided to walk the tree emit-
ting semantic actions corresponding to the rules that matched.
When ml-burg is presented with file.burg, the file file.sml is generated.
SEE ALSO
sml(1), ml-lex(1), ml-yacc(1), ml-makedepend(1), ml-build(1).
The programs are documented fully by The ML-Burg -- Documentation, Florent Guillaume and Lal George, which is available in
/usr/share/doc/ml-burg/doc.pdf.
AUTHOR
This manual page was written by Aaron Matthew Read <amread@nyx.net>, for the Debian GNU/Linux system (but may be used by others)
November 14, 2002 ml-burg(1)