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
specify the function of the instruction and also specify whether its right or wrong-: (5) 1) MOV [BX],AX? Register Indirect addressing 2) MOV CX,[BX+DI]?Base plus index add

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

I have to create a bank atm machine using MS-DOS. I am struggling to create LIST ALL ACCOUNTS ROLL-BACK TRANSACTIONS ACCESS AN ACCOUNT

(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

Corrected Exercise #1: 1. Explain the following unexpected result: why did you get the system date command instead of the script? $ whereis date date: /bin/date ... $ echo $PATH

Use an insertion sort to sort an array (sequence) of long word integers. The size of the list will appear just before the list itself. Use the same labels as in this example: LE

Question: (i) Prepare brief notes on the Logical Storage Manager. (ii) Show benefits that can be achieve by using the LSM Manager. (iii) LSM organizes and optimizes disk

Develop a Windows Forms Application by creating a new project named "xxxxxxxx" in a new folder named "xxxxxxxxas3" where xxxxxxxx is your student id. You should delete file(s) with

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

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