Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-04-2009, 11:46 PM   #1
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 01:16 AM.
Old 03-05-2009, 07:47 PM   #2
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 01:58 AM.


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 07:08 AM
How Do I Run/Compile a Program Written in C? debsan Fedora 2 05-25-2006 03:58 PM
differences+between+mainframe+cobol+and+AIX+cobol+data+type ssrividhya AIX 1 08-09-2004 10:13 AM
How to compile and run my first program vanhelsing Programming 2 07-11-2004 03:41 PM
how to compile and run c program under mandrake 9.2 ?? mschua44 Mandriva 7 02-26-2004 12:13 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:28 AM.

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