Shell script toconvert all lowercase to uppercase characters, Programming Languages

Program

 

#Convert all lower case characters to upper case.

cat good.sh | tr "[a-z" "[A-Z]"

 

Output

 

STR=`DATE +%K`

IF TEST $STR -GT 16

THEN

   ECHO "GOOD EVENING!"

 

ELSE

   IF TEST $STR -GT 12

THEN

    ECHO "GOOD AFTERNOON!"

ELSE

   ECHO "GOOD MORNING!"

FI

FI

Posted Date: 9/26/2012 8:08:45 AM | Location : United States







Related Discussions:- Shell script toconvert all lowercase to uppercase characters, Assignment Help, Ask Question on Shell script toconvert all lowercase to uppercase characters, Get Answer, Expert's Help, Shell script toconvert all lowercase to uppercase characters Discussions

Write discussion on Shell script toconvert all lowercase to uppercase characters
Your posts are moderated
Related Questions
For this assignment you will need to design and construct a basic math program which targets elementary school children. Your program must adhere to the following steps and require

Write out the Syntax of Nested if Statements? The universal form is                         If(expression 1)                         {

I have 9 assignments to be completed

Applications of OOP, The promising areas for application of OOP include: Real-time systems Simulation and modelling Object-oriented databases Hypertext, hype

The assignment has two parts: first you generate a simple application for a MID that operates independently of other MIDs. As a second part, the application is extended to keep so

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Scenario A campsite provides cabins for travellers to stay in overnight. A 'cabin' is a small wooden hut, containing bunk beds, table and chairs, a heater, and a small cookin

The GuessingGame class contains a skeleton for a program to play a guessing game with the user. The program should randomly generate an integer between 1 and 10 and then ask the us

Python Programming hmw help!! Write a program that ask the user to input the followings: number of shares, stock price, and broker commission. Last month jim purchased some stock

about how to create the program in c