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
What is .NET TECHNOLOGY? .NET technological innovation was presented by Enthusiasm, to get the industry from the SUN's Coffee. Few in the past, Enthusiasm had only VC++ and VB

question 1: In the opening lecture I spoke about general changes in business - flatter organizations, process orientation as opposed to functional silos, focus on supply chains, gr

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

Overview Goals: The goals for this assignment are Design and implement instantiable classes. Use arrays of objects. Read from and write to files. Implement basic

You are to design and create a new class called SelectCallDataDialog, which opens by clicking browse  buttons for selection of ringtones,  vibrations or leds. Depending on which th

Problem Specification I/O programming is the \bread and butter", the raison d'etre, of microcontrollers. After all, our definition of a microcontroller is \a microprocessor wit

This assignment is an individual programming assignment using Perl. It addresses objectives 3, 4, 5 and 8 as listed in the Subject Outline document. The assignment is based on them

a program that enter an alphabet from the user and compare it is vowel or not?

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

#questCustomers of a particular restaurant are described with some categories. If the categories indicate the customer is a senior citizen, or the customer works for the restaurant