Shell script to display words of a file in ascending order, Programming Languages

 W.A.S.S to display all the words of a file in ascending order.

 

Program

 

# W.A.S.S to display all the words of a file in ascending order.

 

cat base.sh|tr -s " "|tr " " "\n"|tr -cd "[a-z][A-z][\n]"|sort

 

Output

 

base

base

bc

echo

echo

echo

echo

echo

Enter

Enter

Enter

i

ibaseiobaseox

input

no

no

o

Posted Date: 9/26/2012 7:56:59 AM | Location : United States







Related Discussions:- Shell script to display words of a file in ascending order, Assignment Help, Ask Question on Shell script to display words of a file in ascending order, Get Answer, Expert's Help, Shell script to display words of a file in ascending order Discussions

Write discussion on Shell script to display words of a file in ascending order
Your posts are moderated
Related Questions
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

I need help with this question. The problem i''m having is that what''s the syntax for using dynamic memory allocation of objects of one class in the constructor of some other clas

COS-101: INTRODUCTION TO COMPUTERS PROJECT DESCRIPTION The Computer Fundamentals Project provides you with a chance to apply what you have learned about computer fundamentals to

Design an application that opens and analyses word files. Requirements: Create an application that analyses text documents. It should open a text file, read each word in

What is "No_Data_Found" in Oracle?

can you give me online education system E-R daigram..

Question 1 Explain the history of Internet Question 2 What are the advantages of DHTML? Question 3 Explain the concept of DOM Question 4 How does AJAX work

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

#quFollow the my shell programming guidelines as in the other assignments. Write a shell script to send a customized mail message to the users listed on the command line by login (

Problem Solving 1. Write Pascal code that accepts as input the names of the students, course work score and exam score for a unspecified number of students who have taken a subjec