LinuxQuestions.org
Help answer threads with 0 replies.
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 05-27-2013, 01:46 AM   #1
Agnihotram Srikanth
LQ Newbie
 
Registered: May 2013
Posts: 3

Rep: Reputation: Disabled
Question can i know how to write a awk program and how to save,compile and excute it?any one


i was new learne rto shell scripting and i want to learn the awk programming language

so, i want to write a awk program

can anyone tell how to write the awk program like in shell scripting we

have #!/bin/bash like this we have to write in awk program or not

and to run it

and execute it
 
Old 05-27-2013, 02:39 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
http://www.grymoire.com/Unix/Awk.html and note that like bash, there's no compilation reqd.
 
Old 05-27-2013, 02:56 AM   #3
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
It's not easy to summerize shell scripting and awk programming here. However following guides would help you in learning scripting and awk:

http://www.gnu.org/software/gawk/manual/gawk.pdf
http://tldp.org/LDP/Bash-Beginners-G...ners-Guide.pdf
http://tldp.org/LDP/abs/abs-guide.pdf

If you face any problem or doubts, you can post here.
 
1 members found this post helpful.
Old 05-27-2013, 04:33 AM   #4
kooru
Senior Member
 
Registered: Sep 2012
Posts: 1,385

Rep: Reputation: 273Reputation: 273Reputation: 273
Hi and welcome to Lq!
Another link: http://robert.wsi.edu.pl/awk/
 
Old 05-28-2013, 01:12 AM   #5
Agnihotram Srikanth
LQ Newbie
 
Registered: May 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
thanks for valuable contribution towards my querry


can any one send me the power point presentation and pdf files to reference

with regards

Agnihotram Srikanth
 
Old 05-28-2013, 01:27 AM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by Agnihotram Srikanth View Post
can any one send me the power point presentation and pdf files to reference
LinuxQuestions is a place for Linux users and questions about Linux. Powerpoint is Windows program. You will either have to build the presentation yourself or go to a Windows site and ask someone to do it for you. It's not clever to ask questions about Windows on a Linux site.
ciao,
jdk
 
Old 05-28-2013, 02:25 AM   #7
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Quote:
Originally Posted by Agnihotram Srikanth View Post
... can any one send me the power point presentation and pdf files to reference
Did you read and follow above posts? I don't think so. People, including me, have already given you links for awk/shell scripting reference books and PDFs. If your purpose is just to study and learn then those PDFs are more than enough.

Last edited by shivaa; 05-28-2013 at 02:38 AM.
 
1 members found this post helpful.
  


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
[SOLVED] AWK - to find a string and save the third sector after medirecpr Linux - Newbie 4 05-01-2012 04:07 PM
How to Write, Save & Compile first C Program in SUSE 11.3 Qudsia Programming 8 04-30-2011 12:34 PM
steps to write, compile, and execute a C program in Linux environment arnoldschrewanger Programming 1 03-10-2009 11:17 AM
help me write a program to save independant music wearerowan General 10 09-12-2005 10:26 AM
Quake 2 - cant save or write to disk crm Linux - Games 4 10-18-2004 04:42 AM


All times are GMT -5. The time now is 05:06 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