Solved

awk elseif?

Posted on 2001-09-02
2
2,352 Views
Last Modified: 2013-12-26
Is there an equivalent of elseif (eg: "elif" in ksh, and "elsif" in Perl) in awk, or do I have to simulate it by coding an "if" within an "else"?
0
Comment
Question by:tel2
2 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 20 total points
ID: 6450034
if (...) { ... }
else if ( ... ) { ... }
0
 
LVL 12

Author Comment

by:tel2
ID: 6451947
Thanks ahoffmann
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
iSeries FTP Exit Program 8 135
Shell script to login to remote m/c and execute commands 10 78
bigDiff challenge 17 106
Capture logon name 13 73
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question