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
Overview You will write a loadable kernel module. If you have an idea which you can convince me is a good idea that can not be done as a module, but only via direct modificatio

At the core of DHTML is the Document Object Model, or DOM, which represents the HTML or XML of a Web page that is displayed in a browser. The Document Object Model that represents

Extend the SpaceRocks game and provide a warp feature which allows the ship to jump to a random location to escape a rock. The warp feature is only activated once the shields have

You will create a simple network management configuration which checks that certain programs are running on your network and are performing as expected, and that certain system det

A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''a''-''z'') and the asci

2. Design an ER diagram for an IT training group database that will meet the information need’training programme. Clearly indicate the entities, relationships and the key constrain

program the following exercises using JAVA and JENA API: SPARQL endpoint to be queried: QUERY:">http://services.data.gov.uk/education/sparql QUERY: What are the school’s names th

Write a program (calculation.ccp) to allow the user to perform an arithmetic operation on the two complex numbers entered.  The user can key in one of the four operations: addition

i have a=[0 1 1 2 2 3 6 7 0 4 ] i want to delent elemet but keep its position i.e a(4)=[] it gives me 0 1 1 2 3 6 7 0 4 but i need 0 1 1 [] 2 3 6 7 0 4

(a) Write a procedure called (lookup n t). This procedure has 2 arguments: n is the value being looked up, t is the AVL tree. The subtree with n as its root is returned (or '() if