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
1. Write a function that converts a character array to a signed decimal integer. Function prototype must be as follows: int asciiToInt( char *str, unsigned char* eflag) YOU MAY NO


How to make game in pascal language

In this section we need to take a brief look at systems of differential equations which are larger than 2 x 2. The problem now is not like the first few sections where we looked at

creating system flowchart for website

i want another php script like that one in assignment: EM201484 SA727PHP i want to parse out an urls form log file i will post attachments for a demo

Objective: In a programming language of your choice, write an intelligent agent able to play block Dominoes against a player. Together with this assignment you will find two pa


Implement a two-dimensional table in Prolog. Your program will contain: 1.  An insert_entry predicate that takes a table, row, column and an entry and inserts the entry at the g

A string s is said to be periodic with a period α, if s is α k for some k > 2. (Note that α k is the string formed by concatenating k times.) A DNA sequence s is called a tande