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 10-27-2009, 02:45 AM   #16
ghostdog74
Senior Member
 
Registered: Aug 2006
Posts: 2,697
Blog Entries: 5

Rep: Reputation: 244Reputation: 244Reputation: 244

Quote:
Originally Posted by foodown View Post
When used in concert, grep, sed, awk can do almost anything with text.
fact: you do not have to use grep or sed when you use awk. Contrary to what people may perceive Perl as being X times better, when it comes to text processing, awk does it as well as, sometimes even better than Perl.
 
Old 10-27-2009, 02:48 AM   #17
foodown
Member
 
Registered: Jun 2009
Location: Texas
Distribution: Slackware
Posts: 611

Rep: Reputation: 219Reputation: 219Reputation: 219
Quote:
Originally Posted by ghostdog74 View Post
fact: you do not have to use grep or sed when you use awk. Contrary to what people may perceive Perl as being X times better, when it comes to text processing, awk does it as well as, sometimes even better than Perl.
This is correct . . . for the truly well initiated, awk can be a one-stop shop for many, many applications. It is a scripting language unto itself.
 
Old 10-27-2009, 04:12 AM   #18
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by foodown View Post
They also all three pre-date perl, which shows up for the first time in 1987, and so it is impossible for them to be imitations, weak or otherwise.
They are weak imitations now.

I have an Apple II in my closet. It was once the only personal computer. Now it is a weak imitation of any current PC.

I didn't mean to make Perl sound like the ultimate scripting language -- I might take that position were Perl code not so hard to read. But sed, awk and the rest are the detritus of a bygone era. Just like my Apple II.
 
Old 10-27-2009, 11:32 AM   #19
foodown
Member
 
Registered: Jun 2009
Location: Texas
Distribution: Slackware
Posts: 611

Rep: Reputation: 219Reputation: 219Reputation: 219
Quote:
Originally Posted by lutusp View Post
They are weak imitations now.

I have an Apple II in my closet. It was once the only personal computer. Now it is a weak imitation of any current PC.

I didn't mean to make Perl sound like the ultimate scripting language -- I might take that position were Perl code not so hard to read. But sed, awk and the rest are the detritus of a bygone era. Just like my Apple II.
Hmm . . . what, then, are their replacements? What in the current era has replaced these "relics?" Please don't say perl . . . that is not apples to apples. By your reasoning, the CLI in entirety is vestigial.

I would not call your Apple ][ an "imitation" of any kind, and certainly not in relation to a modern PC. If anything it is an "obsolete fore-bearer."
 
  


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
Bash text search query basildon Linux - Newbie 2 09-17-2008 08:41 PM
Search and Replace from bash hammertime1983 Linux - Newbie 4 11-02-2007 04:18 PM
Non greedy Regex in C crazyjimbo Programming 5 11-15-2006 12:19 PM
Something is greedy (do you know what) command line xpression Linux - General 2 09-22-2005 05:44 PM
case of the greedy gui wlfdgcrkz Linux - Software 12 04-29-2003 07:30 PM


All times are GMT -5. The time now is 11:39 PM.

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