Operating System - HP-UX
1756181 Members
3082 Online
108842 Solutions
New Discussion юеВ

AWK & SED Complete Reference

 
SOLVED
Go to solution
Ranjith_5
Honored Contributor

AWK & SED Complete Reference

Hi Friends,

I am searching for a complete reference for AWK and SED. I tried a lot in www.google.com and ITRC forums as well. But all I got was only very brief docs and tips.

Anyone can help me in finding an elaborated documentation with a link for the same or share any docs? Sure you are going to get full PTS if the doc covers my area of interests.

Thanks in advance.
Regards,
Syam
22 REPLIES 22
Muthukumar_5
Honored Contributor

Re: AWK & SED Complete Reference

Use the followings,

http://www.tldp.org/LDP/abs/html/sedawk.html

http://www.geocities.com/kmuthu_gct/sed_awk_tips.html

http://builder.com.com/5100-6372_14-1050917.html

More read awk,sed man page word by word.

HTH.
Easy to suggest when don't know about the problem!
Ranjith_5
Honored Contributor

Re: AWK & SED Complete Reference

Muthu Anna,

I have already gone through, such tips. I need a document in detail about the same. I will need to write a some complicated scripts some times. So I am planning to learn in deep. So any docs available with you?

regards,
Syam
Hein van den Heuvel
Honored Contributor

Re: AWK & SED Complete Reference

Don't do it!
Do yourself a favor and learn PERL instead!



2c

Hein.
Ranjith_5
Honored Contributor

Re: AWK & SED Complete Reference

Hein,

I dont have a strong programming background. I rate myself as a beginner in programming. So can I start with Perl?

regards,
Syam
Stefan Schulz
Honored Contributor

Re: AWK & SED Complete Reference

Hi,

the awk language was written by Aho, Weinberger and Kernighan. They also wrote a good book about it.

If you search amazon you will find this book:

http://www.amazon.com/exec/obidos/tg/detail/-/020107981X/qid=1106291867/sr=1-6/ref=sr_1_6/104-1131083-0285552?v=glance&s=books

Some years ago i used a older version of this book and it helped me a lot.

But if you need more then field orientated (awk) and line orientated (sed) programming. Then i would go for pearl, which can everything sed and awk can do and a lot more.

Regards

Stefan
No Mouse found. System halted. Press Mousebutton to continue.
Ravi_8
Honored Contributor

Re: AWK & SED Complete Reference

Hi

refer some unix shell programming books,
never give up
Ranjith_5
Honored Contributor

Re: AWK & SED Complete Reference

Friends,

I managed myself to find out lot of free reference in the following place.

http://web.info.com/_1_OEETYD02NSSEFF__infocom.us2/search/web/Awk%2BManual/1/15/1/-/1/0/1/1/1/1?&cmp=1597&tpxnws=1

Now I am searching for SED.


regards,
Syam
Thierry Poels_1
Honored Contributor

Re: AWK & SED Complete Reference

Hi,

I agree with Hein: go for Perl.

But on Unix you definitely need some basic skills of AWK & SED. Don't worry about SED, if you know VI, then you know probably enough about SED.

regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Ranjith_5
Honored Contributor

Re: AWK & SED Complete Reference

Can anyone get me online manuals/PDFs of SED?

regards,
Syam