it's ok to learn awk and not learning sed?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting it's ok to learn awk and not learning sed?
# 1  
Old 01-27-2011
it's ok to learn awk and not learning sed?

please reflect... since I am beginner and dont know what to do

---------- Post updated at 04:25 AM ---------- Previous update was at 04:19 AM ----------

I am aware that awk is programming language and sed is just a tool (however people created some games with it). thanks
# 2  
Old 01-27-2011
Learn both and learn to use them appropriately.
# 3  
Old 01-27-2011
A modicum of both is very useful. I have been using UNIX 20 odd years, and I picked up awk quite quickly, but only really ever used the string replace in sed. I have noticed, since joining this forum that things that can be quite tricky in awk, can sometimes be easy in sed. I personally found awk easier to use, and I think in the long run it probably is slightly more useful, but dont ever forget sed....try to spend just a few hours on a tutorial and learn what it can do.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

UNIX for learning sed/awk/grep..etc..

Greetings all, I am looking for a version of Linux that I can practice my scripting skills on. Currently, I support a massive system running on AIX. I want to do more with awk, sed, grep, and even perl. I am looking for something I can throw on a VM on my personal laptop and mess around with.... (5 Replies)
Discussion started by: jeffs42885
5 Replies

2. Shell Programming and Scripting

I am learning regular expression in sed,Please help me understand the use curly bracket in sed,

I am learning SED and just following the shell scripting book, i have trouble understanding the grep and sed statement, Question : 1 __________ /opt/oracle/work/antony>cat teledir.txt jai sharma 25853670 chanchal singhvi 9831545629 anil aggarwal 9830263298 shyam saksena 23217847 lalit... (7 Replies)
Discussion started by: Antony Ankrose
7 Replies

3. Shell Programming and Scripting

sed and awk giving error ./sample.sh: line 13: sed: command not found

Hi, I am running a script sample.sh in bash environment .In the script i am using sed and awk commands which when executed individually from terminal they are getting executed normally but when i give these sed and awk commands in the script it is giving the below errors :- ./sample.sh: line... (12 Replies)
Discussion started by: satishmallidi
12 Replies

4. Shell Programming and Scripting

Should I focus efforts on learning Perl or develop skills in awk, sed, etc

Good afternoon, I am not trying to start a debate. Please don't take it that way. I'm not trying to make this a Perl versus Bash scripts thing. I have been writing shell scripts for several years. I am not 100%, but I seem to get the job done. I would like to start focusing on spending... (11 Replies)
Discussion started by: brianjb
11 Replies

5. Shell Programming and Scripting

""Help Me!""Beginner awk learning issue

Hi All, I have just now started learning awk from the source - Awk - A Tutorial and Introduction - by Bruce Barnett and the bad part is that I am stuck on the very first example for running the awk script. The script is as - #!/bin/sh # Linux users have to change $8 to $9 awk ' BEGIN ... (6 Replies)
Discussion started by: csrohit
6 Replies

6. UNIX for Dummies Questions & Answers

Good resource for learning awk with example

Hi Guys, I need to learn awk and looking for some good resource with example. I have been using Unix from long time but awk is something always allude me. would be great if you guys could point me on some good stuff but less complicated one :) Thanks Javin (2 Replies)
Discussion started by: javabuddy
2 Replies

7. Shell Programming and Scripting

Have to learn sed and awk commands in kSH?

Links Please??? (2 Replies)
Discussion started by: Diddy
2 Replies

8. AIX

virutal unix server to learn awk..

Hi Guys, My laptop has a Windows XP installed. i like to learn awk command on the aix server.. i don knw how to dual boot the linux servers on my XP.. is there any virtual unix program which runs on windows which will allow me to learn 'awk ' command.. Please help me guys.. ... (2 Replies)
Discussion started by: mac4rfree
2 Replies

9. UNIX for Advanced & Expert Users

sed in awk ? or nested awk ?

Hey all, Can I put sed command inside the awk action ?? If not then can i do grep in the awk action ?? For ex: awk '$1=="174" { ppid=($2) ; sed -n '/$ppid/p' tempfind.txt ; }' tempfind.txt Assume: 174 is string. Assume: tempfind.txt is used for awk and sed both. tempfind.txt... (11 Replies)
Discussion started by: varungupta
11 Replies

10. Shell Programming and Scripting

Learning Sed and Awk

Hello, Im new to Sed and Awk, and would like to read through a nice tutorial. Could you please suggest me one. Thanks (1 Reply)
Discussion started by: 0ktalmagik
1 Replies
Login or Register to Ask a Question