• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2450
  • Last Modified:

awk elseif?

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
tel2
Asked:
tel2
1 Solution
 
ahoffmannCommented:
if (...) { ... }
else if ( ... ) { ... }
0
 
tel2Author Commented:
Thanks ahoffmann
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now