Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #10513

Re: is forth bad for string and file operations? anyone know forth and use it rather than awk bash tcl?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
From Helmar Wodtke <helmwo@gmail.com>
Newsgroups comp.lang.forth
Subject Re: is forth bad for string and file operations? anyone know forth and use it rather than awk bash tcl?
Date Mon, 26 Mar 2012 06:05:59 -0700 (PDT)
Organization http://groups.google.com
Lines 21
Message-ID <27040023.807.1332767159645.JavaMail.geo-discussion-forums@ynjl17> (permalink)
References <70b0549c-d9be-41cf-bb63-bb05e48e9d59@x10g2000pbi.googlegroups.com>
NNTP-Posting-Host 62.158.114.10
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-Trace posting.google.com 1332767262 20009 127.0.0.1 (26 Mar 2012 13:07:42 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Mon, 26 Mar 2012 13:07:42 +0000 (UTC)
In-Reply-To <70b0549c-d9be-41cf-bb63-bb05e48e9d59@x10g2000pbi.googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=62.158.114.10; posting-account=nibe3QoAAADcYL8fC0WC6vCas4By1Xgn
User-Agent G2/1.0
Xref csiph.com comp.lang.forth:10513

Show key headers only | View raw


Am Donnerstag, 22. März 2012 20:21:06 UTC+1 schrieb quiet_lad:
> for file stuff on unix?

Tcl? In this case you can say that Forth is at least as good as this thing.
Bash? Why you note this language for string processing - it's used to call awk or sed.

awk! Yes, this is better than Forth in specific tasks. But well, this language is designed to do some specific things.

What you do not consider here is: Forth is flexible. If you have the task to manipulate strings you can "extend" it (program something) that is better than the standard given things. How you extend Forth for this depends on your own skills and ideas how to do the things.

My HelFORTH and forth4p do have own string manipulation - it is implemented in Forth (or Forth-like if you want) and they work good for the things I want. But for a 1-liner awk or perl is better for such tasks usually.

Regards,
-Helmar

Back to comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

is forth bad for string and file operations? anyone know forth and use it rather than awk bash tcl? quiet_lad <gavcomedy@gmail.com> - 2012-03-22 12:21 -0700
  Re: is forth bad for string and file operations? anyone know forth and use it rather than awk bash tcl? Jason Damisch <jasondamisch@yahoo.com> - 2012-03-22 12:36 -0700
    Re: is forth bad for string and file operations? anyone know forth and use it rather than awk bash tcl? quiet_lad <gavcomedy@gmail.com> - 2012-03-25 22:44 -0700
      Re: is forth bad for string and file operations? anyone know forth and use it rather than awk bash tcl? jc <john.comeau@gmail.com> - 2012-03-25 23:06 -0700
        Re: is forth bad for string and file operations? anyone know forth  and use it rather than awk bash tcl? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-03-26 09:43 +0000
          Re: is forth bad for string and file operations? anyone know forth  and use it rather than awk bash tcl? Bernd Paysan <bernd.paysan@gmx.de> - 2012-03-26 17:42 +0200
            Re: is forth bad for string and file operations? anyone know forth and use it rather than awk bash tcl? Alex McDonald <blog@rivadpm.com> - 2012-03-27 07:49 -0700
              Re: is forth bad for string and file operations? anyone know forth and use it rather than awk bash tcl? Bernd Paysan <bernd.paysan@gmx.de> - 2012-03-28 01:26 +0200
    Re: is forth bad for string and file operations? anyone know forth and use it rather than awk bash tcl? Mark Wills <markrobertwills@yahoo.co.uk> - 2012-03-27 02:46 -0700
      Re: is forth bad for string and file operations? anyone know forth and use it rather than awk bash tcl? quiet_lad <gavcomedy@gmail.com> - 2012-03-28 22:43 -0700
        Re: is forth bad for string and file operations? anyone know forth and use it rather than awk bash tcl? Jason Damisch <jasondamisch@yahoo.com> - 2012-03-29 10:18 -0700
  Re: is forth bad for string and file operations? anyone know forth and use it rather than awk bash tcl? Mark Wills <markrobertwills@yahoo.co.uk> - 2012-03-26 03:30 -0700
  Re: is forth bad for string and file operations? anyone know forth and use it rather than awk bash tcl? Helmar Wodtke <helmwo@gmail.com> - 2012-03-26 06:05 -0700
    Re: is forth bad for string and file operations? anyone know forth and use it rather than awk bash tcl? quiet_lad <gavcomedy@gmail.com> - 2012-03-28 22:39 -0700
  is forth bad for string and file operations? anyone know forth and use it rather than awk bash tcl? jeffbopp@gmail.com - 2012-03-26 19:48 -0700
    Re: is forth bad for string and file operations? anyone know forth and use it rather than awk bash tcl? jc <john.comeau@gmail.com> - 2012-03-26 22:50 -0700
    Re: is forth bad for string and file operations? anyone know forth and use it rather than awk bash tcl? "Elizabeth D. Rather" <erather@forth.com> - 2012-03-27 08:27 -1000

csiph-web