The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ksh scripting help praveenbvarrier Shell Programming and Scripting 1 04-15-2008 10:19 AM
sql scripting help sam786 Shell Programming and Scripting 3 12-10-2007 12:31 PM
difference between AIX shell scripting and Unix shell scripting. haroonec Shell Programming and Scripting 2 04-12-2006 08:12 AM
scripting guru's pls help me with scripting on AIX thatiprashant Shell Programming and Scripting 1 01-20-2006 07:58 PM
Scripting? woofie What's on Your Mind? 1 03-09-2005 07:03 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
  #1 (permalink)  
Old 12-10-2001
laydb laydb is offline
Registered User
  
 

Join Date: Dec 2001
Location: Wilmington, Delaware
Posts: 1
Unhappy Help with scripting

I am having trouble writing a script file doing the following functions:
putting one word on each line then
sort these words with frequencies in reverse order then putting them in alphabetical order then
finding the most frequently used 50 words then
sort them in ascending oder by frequency then
show words only (remove frequency column) then
cut these words and using colum 3-6 only.
If you can help me please do. I have the Unix complete book but have been trying to put this together for some time.
then then
  #2 (permalink)  
Old 12-10-2001
rwb1959's Avatar
rwb1959 rwb1959 is offline
Registered User
  
 

Join Date: Aug 2001
Location: Virginia, USA
Posts: 438
It sounds like you will need to make extensive use
of the "sort" command. Take a look at...
http://unix.about.com/library/weekly/aa021201a.htm

...Once you have absorbed that info. try out some things.
If/When you get stuck, post some details like...

Version of UNIX (AIX, Linux, HP, etc)
Version of Shell (sh, ksh, csh, bash)

...as well as code fragments and any error messages
you may get attempting to execute it.
You may also want to check the FAQ's on this
forum for books and sites on shell programming.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:48 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0