LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-04-2009, 10:46 PM   #1
sekhar@gsr
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
how to use sort along with awk


how to use sort along with awk

Last edited by sekhar@gsr; 03-05-2009 at 12:16 AM.
 
Old 03-05-2009, 06:47 PM   #2
T74marcell
Member
 
Registered: Mar 2009
Posts: 102

Rep: Reputation: 18
You can pipe one tool's output into the other tool's input. Something like:
sort file1 | awk -f programfile file2
The actual effect depends on the awk script.

You have not been very verbose about the details of your project, so the only advice to give is read the man pages, google for some clever tutorials and get used to plain basic UNIX concepts.

Arch Linux

Last edited by T74marcell; 03-14-2009 at 12:58 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding DB2 on aix bajaj111 Linux - Software 0 12-15-2006 06:08 AM
How Do I Run/Compile a Program Written in C? debsan Fedora 2 05-25-2006 02:58 PM
differences+between+mainframe+cobol+and+AIX+cobol+data+type ssrividhya AIX 1 08-09-2004 09:13 AM
How to compile and run my first program vanhelsing Programming 2 07-11-2004 02:41 PM
how to compile and run c program under mandrake 9.2 ?? mschua44 Mandriva 7 02-26-2004 11:13 AM


All times are GMT -5. The time now is 02:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration