Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-15-2009, 04:28 AM   #1
LQ Newbie
Registered: Dec 2009
Posts: 8

Rep: Reputation: 0
what signifies the end of a case option?

what signifies the end of a case option?
Old 12-15-2009, 04:31 AM   #2
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,037

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407
Depends on the language. But if you are talking about Bourne shell variants: esac

EDIT: Sorry, my answer was for a block.
Again if a Bourne variant, then two semicolons: ;;


Last edited by evo2; 12-15-2009 at 04:39 AM. Reason: option, not statement
1 members found this post helpful.
Old 12-15-2009, 04:42 AM   #3
Senior Member
Registered: Aug 2006
Posts: 2,697
Blog Entries: 5

Rep: Reputation: 244Reputation: 244Reputation: 244
your questions from previous posts are often short. please provide more info next time. From my guess of your other posts that you may referring to ksh, use esac for "close" the case construct. Otherwise, you have to spell out your problem more clearly


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a flag or option to discard case sensitivity to find package is installed or redhatwannabe Linux - Newbie 1 08-25-2009 01:48 PM
LXer: Microsoft moves to quash 'Vista Capable' case, end flood of embarrassing e-mail LXer Syndicated Linux News 0 11-23-2008 08:30 PM
LXer: Staking the Vampire: SCO's case comes to an end? LXer Syndicated Linux News 0 07-06-2006 06:03 PM
LXer: SGI warns that bankruptcy might be year-end option LXer Syndicated Linux News 0 02-10-2006 02:01 PM
ls option for ignoring the case gururaj Linux - General 5 08-19-2005 12:58 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:55 PM.

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