For Programmers: Free Programming Magazines  


Home > Archive > AWK > April 2005 > good awk editor









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 good awk editor
news_user

2005-04-11, 3:56 pm

Hello,
Working on W2000, I use notepad to write my awk scripts.
Could perhaps somebody recommend a better editor for awk ?
.... or do you consider notepad good enough ?
Thank you for any advice/pointer.
Kenny McCormack

2005-04-11, 3:56 pm

In article <d3dvbq$f4q$1@domitilla.aioe.org>,
news_user <news.user@tld.invalid> wrote:
>Hello,
>Working on W2000, I use notepad to write my awk scripts.
>Could perhaps somebody recommend a better editor for awk ?
>... or do you consider notepad good enough ?
>Thank you for any advice/pointer.


Obviously, we can't talk about it here.

But we can suggest that you check out, oh, say, a newsgroup called
comp.editors.

Janis Papanagnou

2005-04-11, 3:56 pm

news_user wrote:
> Hello,
> Working on W2000, I use notepad to write my awk scripts.
> Could perhaps somebody recommend a better editor for awk ?
> ... or do you consider notepad good enough ?
> Thank you for any advice/pointer.


I am using gvim for that purpose; it gives me syntax highlighting, and
that's all I need for editing awk programs besides gvim's powerful editing
capabilities. I suppose emacs will be comparable in this respect. Though
given that you use "notepad" as an editor it might turn out that you will
have to spend quite some time learning to use a real editor.

Thinking about it; since you use notepad, you may take _almost any_ editor
you find and be better off.

Janis
Alan Mackenzie

2005-04-12, 3:56 am

news_user <news.user@tld.invalid> wrote on Mon, 11 Apr 2005 15:50:51 +0200:
> Hello,
> Working on W2000, I use notepad to write my awk scripts.
> Could perhaps somebody recommend a better editor for awk ?


Well, Emacs of course! What else? Emacs has even got a special mode for
AWK, which does syntax highlighting, indents your code automatically, and
has all the other Emacs goodies. It doesn't wash your dishes for you,
though.

[Fair warning: this isn't an unbiassed objective viewpoint. ;-]

> ... or do you consider notepad good enough ?


Is notepad good enough for anything?

> Thank you for any advice/pointer.


--
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").

E. Rosten

2005-04-12, 8:55 am

On Mon, 11 Apr 2005 15:50:51 +0200, news_user wrote:

> Hello,
> Working on W2000, I use notepad to write my awk scripts.
> Could perhaps somebody recommend a better editor for awk ?
> ... or do you consider notepad good enough ?
> Thank you for any advice/pointer.


Although a bit OT (but it is for AWK specific editors...), I use vim (I
think the graphical frontend does native win32, but I'm not
sure). Being vim, you don't even have to get used to the mode-basedness of
vi, since it does a pretty good job of pretending to be a normal editor as
well (yuck, evil, EVILLL!!!!). One slight problem, though, the syntax
highlighting has a slight bug in it. Thake the following expression:

a = b / c / d
|___|
It thinks that this is a regexp.

Actually, thinking about this, I'm and I'm going to send another
post to the group.

-Ed

--
(You can't go wrong with psycho-rats.) (er258)(@)(eng.cam)(.ac.uk)

/d{def}def/f{/Times findfont s scalefont setfont}d/s{10}d/r{roll}d f 5/m
{moveto}d -1 r 230 350 m 0 1 179{1 index show 88 rotate 4 mul 0 rmoveto}
for /s 15 d f pop 240 420 m 0 1 3 { 4 2 1 r sub -1 r show } for showpage

Alan Mackenzie

2005-04-15, 8:55 am

news_user <news.user@tld.invalid> wrote on Mon, 11 Apr 2005 15:50:51 +0200:
> Hello,
> Working on W2000, I use notepad to write my awk scripts.
> Could perhaps somebody recommend a better editor for awk ?


Well, Emacs of course! What else? Emacs has even got a special mode for
AWK, which does syntax highlighting, indents your code automatically, and
has all the other Emacs goodies. It doesn't wash your dishes for you,
though.

[Fair warning: this isn't an unbiassed objective viewpoint. ;-]

> ... or do you consider notepad good enough ?


Is notepad good enough for anything?

> Thank you for any advice/pointer.


--
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com