The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
grep unix.com with google



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

Reply
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-30-2009
Registered User
 

Join Date: Nov 2009
Posts: 20
Combination of case and If else in shell script

Would it be right forme to combine case statement and if else in one shell script? Would it work?
  #2 (permalink)  
Old 11-30-2009
scottn scottn is offline Forum Staff  
Moderator
 

Join Date: Jun 2009
Location: Zürich, CH
Posts: 1,611
Yes. Why not?

If you're having trouble with such, show what you've done, and we'll sort it out.
  #3 (permalink)  
Old 12-01-2009
Registered User
 

Join Date: Nov 2009
Posts: 13
Yes, it will definitely work...
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Shell script dynamically case in VAR ACTGADE Shell Programming and Scripting 2 10-20-2008 01:38 PM
shell script case statement sriram003 Shell Programming and Scripting 4 10-16-2008 11:45 AM
Shell script to convert to Title case SankarV UNIX for Advanced & Expert Users 5 06-22-2007 08:45 AM
Shell script automation using case statement ianf Shell Programming and Scripting 6 09-12-2002 10:17 AM
lower case to upper case string conversion in shell script dchalavadi UNIX for Dummies Questions & Answers 3 05-29-2002 01:07 AM



All times are GMT -4. The time now is 02:37 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0