Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > which is more powerfull ?

Reply
Thread Tools

which is more powerfull ?

 
 
ehabaziz2001@gmail.com
Guest
Posts: n/a
 
      02-19-2007
I need to process some files to create new one with OMR marks . which
is more powerfull in processing files ? awk/sed or perl or others ?
Thanks

 
Reply With Quote
 
 
 
 
David Harmon
Guest
Posts: n/a
 
      02-19-2007
On 19 Feb 2007 12:01:16 -0800 in comp.lang.perl.misc,
wrote,
>I need to process some files to create new one with OMR marks . which
>is more powerfull in processing files ? awk/sed or perl or others ?
>Thanks


BEFORE POSTING read the welcome message posted twice per week in
comp.lang.c++ under the subject "Welcome to comp.lang.c++! Read this
first." or available at http://www.slack.net/~shiva/welcome.txt


 
Reply With Quote
 
 
 
 
Ted Davis
Guest
Posts: n/a
 
      02-19-2007
On 19 Feb 2007 12:01:16 -0800, wrote:

>I need to process some files to create new one with OMR marks . which
>is more powerfull in processing files ? awk/sed or perl or others ?
>Thanks


Assembly language, followed by C.

That comes close to being a stupid question, and is ceratinly a troll.

--
T.E.D. ()
Remove "gearbox.maem." from address - that one is dead
 
Reply With Quote
 
Bruce Barnett
Guest
Posts: n/a
 
      02-20-2007
writes:

> I need to process some files to create new one with OMR marks . which
> is more powerfull in processing files ? awk/sed or perl or others ?


one can convert sed to perl, and awk to perl.
You can't convert a generic perl to sed or awk script.

In short, perl is more powerful, but more complicated. If you are new
to all of them, I'd use AWK.

I think AWK is a wonderful, simple and elegant language. It has a lot
of power, and is easy to learm.

If you need to do something that AWK can't do, and can't easily fix it
by piping the results to another utility liek sed or sort, try
converting it to perl (using "a2p") and adding the new stuff to
perl. And since you know how AWK works, you get a head start on perl
by using the perl flavor of the AWK script.

--
Sending unsolicited commercial e-mail to this account incurs a fee of
$500 per message, and acknowledges the legality of this contract.
 
Reply With Quote
 
Patrick TJ McPhee
Guest
Posts: n/a
 
      02-20-2007
In article <>,
Bruce Barnett <spamhater123+> wrote:
% writes:
%
% > I need to process some files to create new one with OMR marks . which
% > is more powerfull in processing files ? awk/sed or perl or others ?
%
% one can convert sed to perl, and awk to perl.
% You can't convert a generic perl to sed or awk script.

Because to do that, you'd have to be able to read it.
--

Patrick TJ McPhee
North York Canada

 
Reply With Quote
 
Keith Thompson
Guest
Posts: n/a
 
      02-23-2007
David Harmon <> writes:
> On 19 Feb 2007 12:01:16 -0800 in comp.lang.perl.misc,
> wrote,
>>I need to process some files to create new one with OMR marks . which
>>is more powerfull in processing files ? awk/sed or perl or others ?
>>Thanks

>
> BEFORE POSTING read the welcome message posted twice per week in
> comp.lang.c++ under the subject "Welcome to comp.lang.c++! Read this
> first." or available at http://www.slack.net/~shiva/welcome.txt


How would that be helpful to someone posting to comp.lang.awk,
comp.unix.shell, comp.unix.questions, and comp.lang.perl.misc?

--
Keith Thompson (The_Other_Keith) kst- <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
 
Reply With Quote
 
Bill Marcum
Guest
Posts: n/a
 
      02-23-2007
["Followup-To:" header set to comp.unix.shell.]
On Fri, 23 Feb 2007 11:22:11 -0800, Keith Thompson
<kst-> wrote:
>
>
> David Harmon <> writes:
>> On 19 Feb 2007 12:01:16 -0800 in comp.lang.perl.misc,
>> wrote,
>>>I need to process some files to create new one with OMR marks . which
>>>is more powerfull in processing files ? awk/sed or perl or others ?
>>>Thanks

>>
>> BEFORE POSTING read the welcome message posted twice per week in
>> comp.lang.c++ under the subject "Welcome to comp.lang.c++! Read this
>> first." or available at http://www.slack.net/~shiva/welcome.txt

>
> How would that be helpful to someone posting to comp.lang.awk,
> comp.unix.shell, comp.unix.questions, and comp.lang.perl.misc?
>

It might help them learn to trim their crossposts.


--
* joeyh_ wonders if linux is supposed to lock up when you ask 100
processes to cat the entire cd drive
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
powerfull foto sasi Digital Photography 0 05-07-2008 11:42 AM
Recently Launched and So Powerfull t0l7poo0 Cisco 0 09-19-2007 09:08 AM
Network over taken by much powerfull outside machine =?Utf-8?B?UmljaGFyZA==?= Wireless Networking 1 08-18-2006 08:19 PM
RiverLayout: simple, but powerfull stanberka Java 2 02-21-2006 11:01 AM
HTTPhandler as powerfull as isapi extensions? =?Utf-8?B?eWFjaHRJVA==?= ASP .Net 2 11-12-2005 01:25 AM



Advertisments