For Programmers: Free Programming Magazines  


Home > Archive > AWK > October 2006 > alternatives to awk









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 alternatives to awk
nikunj

2006-10-06, 7:56 am

Hi!,

I need an alternative to awk.
I need to create scripts in Windows hosted QNX Momentics. The existing
scripts use awk and i have to modify them to the new enviornment.

sed is available but perl isnt.

Please suggest some alternative.

Thnx

Jürgen Kahrs

2006-10-06, 6:56 pm

nikunj wrote:

> I need an alternative to awk.
> I need to create scripts in Windows hosted QNX Momentics. The existing
> scripts use awk and i have to modify them to the new enviornment.


Why do you need an alternative to the AWK language ?
An interpreter for the AWK language exists on every Unix.
If there is no AWK, then it's not Unix.

> sed is available but perl isnt.


perl is not a standard Unix command.

> Please suggest some alternative.


The Bourne shell is a standard Unix command.
If you are lucky, then you can find a bash
on your system.
Kenny McCormack

2006-10-06, 6:56 pm

In article <4onssaFfj866U1@individual.net>,
Jürgen Kahrs <Juergen.KahrsDELETETHIS@vr-web.de> wrote:
>nikunj wrote:
>
>
>Why do you need an alternative to the AWK language ?
>An interpreter for the AWK language exists on every Unix.
>If there is no AWK, then it's not Unix.


The guy's running Windows (or worse - looks like something call "QNX
Momentics" running under/on-top-of Windows).

So, assuming Unix and flaming him thusly is probably not productive.

dfeustel@mindspring.com

2006-10-06, 6:56 pm

nikunj <nikunj.poddar@gmail.com> wrote:
> Hi!,
>
> I need an alternative to awk.
> I need to create scripts in Windows hosted QNX Momentics. The existing
> scripts use awk and i have to modify them to the new enviornment.
>
> sed is available but perl isnt.
>
> Please suggest some alternative.
>
> Thnx


Phil Budne's CSnobol 1.1 available for most platforms at
http://www.snobol4.org is an open source version of the
original Snobol4 from Bell Labs.

--
Using OpenBSD with or without X & KDE?
http://dfeustel.home.mindspring.com
Janis Papanagnou

2006-10-06, 6:56 pm

Kenny McCormack wrote:
> In article <4onssaFfj866U1@individual.net>,
> Jürgen Kahrs <Juergen.KahrsDELETETHIS@vr-web.de> wrote:
>
> The guy's running Windows (or worse - looks like something call "QNX
> Momentics" running under/on-top-of Windows).
>
> So, assuming Unix and flaming him thusly is probably not productive.
>


The google results seems to indicate that the above product has something
to do with Unix (keywords "POSIX-compliant", "GNU command-line toolchain").

Janis
Paddy

2006-10-07, 3:56 am


nikunj wrote:
> Hi!,
>
> I need an alternative to awk.
> I need to create scripts in Windows hosted QNX Momentics. The existing
> scripts use awk and i have to modify them to the new enviornment.
>
> sed is available but perl isnt.
>
> Please suggest some alternative.
>
> Thnx


Is this the QNX mentioned?

http://www.qnx.com/developers/docs/...tils/a/awk.html

Which includes:
"The awk shipped with QNX is a port of gawk (GNU awk)".

- Paddy.

Jürgen Kahrs

2006-10-07, 7:57 am

Kenny McCormack wrote:

>
> The guy's running Windows (or worse - looks like something call "QNX
> Momentics" running under/on-top-of Windows).


When I wrote my previous posting, I assumed that
QNX was still the QNX that I got to know in the
early 1980s. I think QNX tries to comply to POSIX.

> So, assuming Unix and flaming him thusly is probably not productive.


I was not flaming. I was just applying my usual
if/then/else rules.
nikunj

2006-10-09, 3:56 am


Paddy wrote:
> nikunj wrote:
>
> Is this the QNX mentioned?
>
> http://www.qnx.com/developers/docs/...tils/a/awk.html
>
> Which includes:
> "The awk shipped with QNX is a port of gawk (GNU awk)".
>
> - Paddy.


Hi!,

the QNX version for windows which i am using does not support awk.
further it is not fully POSIX compliant it doesnt even have support for
chmod.

nikunj

2006-10-09, 3:56 am


Kenny McCormack wrote:
> In article <4onssaFfj866U1@individual.net>,
> J=FCrgen Kahrs <Juergen.KahrsDELETETHIS@vr-web.de> wrote:
>
> The guy's running Windows (or worse - looks like something call "QNX
> Momentics" running under/on-top-of Windows).
>
> So, assuming Unix and flaming him thusly is probably not productive.


Yes you are right. This is a simulation of QNX on top of Windows. So it
is not Windows nor QNX and definately not UNIX. a mixed bag. Not all
utilites are available and a big headache right now. I tried compiling
the gawk but that doesnt work because 'chmod' is not available and
hence 'configure' script doesnt wrk. cant install. Also 'wc' word count
utility is not there.

Sponsored Links







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

Copyright 2008 codecomments.com