Solved

awk elseif?

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

Author Comment

by:tel2
ID: 6451947
Thanks ahoffmann
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
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 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.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

707 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now