LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices


Reply
  Search this Thread
Old 06-11-2019, 04:52 PM   #1
LXer
LXer NewsBot
 
Registered: Dec 2005
Posts: 128,328

Rep: Reputation: 118Reputation: 118
LXer: Bash Case Statement with Examples


Published at LXer:

Bash case statements can be used to replace multi-level if… else statement. You can use the case statement to match one variable against several values. The bash case statement is similar to switch statement in C programming but bash switch statement does not go ahead one it’s found.

Read More...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Bash Case Statement LXer Syndicated Linux News 0 03-01-2019 09:13 PM
Perl switch statement throwing error like Bad case statement (invalid case value?) kavil Programming 2 10-07-2010 04:50 AM
Case statement with If statement cbo0485 Linux - Newbie 4 11-07-2007 08:05 PM
Pattern matching with a "case" statement in BASH King V Programming 8 04-27-2006 04:19 PM
bash'ed by case statement??? 3inone Programming 2 04-29-2004 04:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 04:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration