Solved

awk elseif?

Posted on 2001-09-02
2
2,374 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
lucky13 challenge 11 158
Dell Alienware Graphics Amplifier Driver for non-Alienware systems 18 471
mapAB Challlenge 35 173
Problem to event 3 112
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.

749 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