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?

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 2012-03-26 06:05 -0700
Organization http://groups.google.com
Message-ID <27040023.807.1332767159645.JavaMail.geo-discussion-forums@ynjl17> (permalink)
References <70b0549c-d9be-41cf-bb63-bb05e48e9d59@x10g2000pbi.googlegroups.com>

Show all headers | 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