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 are the Functions in Computer Programming? A program is completed up of one or more functions, with one of these being main(). Function is a self-contained block of progra

Improved Support for JavaScript Debugging ASP.NET has many benefits over vintage ASP in the place of debugging. You can now quickly debug your server-side value using the complete

Write a program to display some data in bar graph form. Have at least 20 elements, which can be positive or negative; draw each element with a vertical bar, going up if the data is

find value of nCr using function

Solve the following initial value problem y (3) - 5y'' - 22y' + 56 y= 0;       y(0) = 1;           y'(0) = -2;         y''(0) = -4 Solution : r 3 - 5r 2 - 22r + 56 = (

Why no Audible support for Linux? Maybe they should use a browser interface?

i want to record in database but how to delete only duplicate field not row in vb 6.0 or ms-access

A hardware store sells the following hardware tools: screwdriver, wrench, and tape measure. You are asked to calculate the profit for the store based on the number of tools sold an


Write a program that inputs two positive integers of, at most, 20 digits and outputs the sum of the numbers. If the sum of the numbers has more than 20 digits, output the sum with