Home > Archive > PERL Miscellaneous > February 2007 > which is more powerfull ?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
which is more powerfull ?
|
|
| ehabaziz2001@gmail.com 2007-02-19, 7:02 pm |
| 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
| |
| David Harmon 2007-02-19, 7:02 pm |
| On 19 Feb 2007 12:01:16 -0800 in comp.lang.perl.misc,
ehabaziz2001@gmail.com 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 w 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
| |
| Ted Davis 2007-02-19, 7:02 pm |
| On 19 Feb 2007 12:01:16 -0800, ehabaziz2001@gmail.com 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. (tdavis@gearbox.maem.umr.edu)
Remove "gearbox.maem." from address - that one is dead
| |
| Sherm Pendley 2007-02-19, 7:02 pm |
| ehabaziz2001@gmail.com 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 ?
What a lame attempt at starting an argument.
sherm--
--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
| |
| Bruce Barnett 2007-02-19, 10:01 pm |
| ehabaziz2001@gmail.com 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.
| |
| Patrick TJ McPhee 2007-02-20, 4:01 am |
| In article <yeky7mt5wk3.fsf@grymoire.com>,
Bruce Barnett <spamhater123+U070219223241@grymoire.com> wrote:
% ehabaziz2001@gmail.com 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
ptjm@interlog.com
| |
| Keith Thompson 2007-02-23, 7:07 pm |
| David Harmon <source@netcom.com> writes:
> On 19 Feb 2007 12:01:16 -0800 in comp.lang.perl.misc,
> ehabaziz2001@gmail.com wrote,
>
> BEFORE POSTING read the welcome message posted twice per w 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-u@mib.org <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.
| |
| Bill Marcum 2007-02-23, 7:07 pm |
| ["Followup-To:" header set to comp.unix.shell.]
On Fri, 23 Feb 2007 11:22:11 -0800, Keith Thompson
<kst-u@mib.org> wrote:
>
>
> David Harmon <source@netcom.com> writes:
>
> 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
| |
|
| On Feb 19, 3:20 pm, Sherm Pendley <spamt...@dot-app.org> wrote:
> What a lame attempt at starting an argument.
Based on his subject...
"Which is more powerful?"
New improved Ajax with bleach is more powerful than standard Ajax any
day.
| |
| kim kubik 2007-02-24, 7:01 pm |
|
<ehabaziz2001@gmail.com> 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 ?
if all you need is a one-to-one remapping don't bother with
learning a scripting language -- just use a text editor like
emacs or vi -- and anyone can tell you which one of those
is the more powerfull (sic) . . .
:-)
|
|
|
|
|