[REBOL] file splitting howto?

2004-05-31 Thread Tom Foster
Hi guys, I would like to split a large (40m) file into 1m chunks, being sure to split on line breaks. Each chunk will be written to a seperate file. The linux utility "split" does almost what I want, execept for where it breaks the file. does my solution involve open/direct/lines, and copy/

[REBOL] Re: any chance of a core/pro?

2004-05-31 Thread Tom Foster
Gregg Irwin wrote: > > If you want all the commercial features in a free version, I guess my > answer to "why not?" would be, "How will RT stay in business if they > give everything away for free?" > RT would probably flourish in a big way, and rebol's user base would double or triple almost o

[REBOL] remove/part on open file port

2004-05-27 Thread Tom Foster
hi! if I do a: open %file remove/part (find a "this")(find a "that") close a it acts like I expect. If I try to loop it through a directory, though, foreach file read %dir/ [ a: open file remove/part (find a "this")(find a "that") close a ] I get this error remove expected range argume

[REBOL] any chance of a core/pro?

2004-05-23 Thread Tom Foster
Hi guys, it would sure be nice to have call, encryption, etc, in rebol/core. is a core/pro version in the works? Why not? :-) -- signature indignant: "hey!" -tom -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.

[REBOL] command line stuff

2004-05-05 Thread Tom Foster
Hey guys, I'm pretty sure this has been covered before, but I couldn't remember it, and a search couldn't find it. if I have a script, say, blap.r, that has a function, a: func['b 'c] ["blah" "blah"] how can I, from bash (my shell) execute something like, $ blap.r b c -- -tom -- signat

[REBOL] preserving file permissions?

2004-03-22 Thread Tom Foster
Hey guys, will using the /binary refinements of read and write preserve file permissions exactly? I'd like to write something to copy my home directory into an arbitrary number of directories. I want all the hidden files, and all the permissions preserved. has anyone done this already? tha

[REBOL] Re: oss revisited (briefly!)

2004-02-09 Thread Tom Foster
On Mon, Feb 09, 2004 at 12:24:20PM -0500, [EMAIL PROTECTED] wrote: > > Open source is a set of marketing strategies <...snip> > No, open source means the source is open. It doesn't need to be any more complicated than this. The reasons it is a Good Thing(tm) :-) have been exhaustively covered

[REBOL] oss revisited (briefly!)

2004-02-08 Thread Tom Foster
Hey guys, My wishful thinking forces me to bring up what may be a dead horse issue, so I apologise in advance. What's up with rebol and open source these days? Rsharp seems stalled. Rebol is very useful,and is very cool to play with, but among my linux friends, no one cares. I'd like to see i

[REBOL] Re: bit of mysql help?

2004-01-07 Thread Tom Foster
On Wed, Jan 07, 2004 at 09:00:55AM -0200, Carlos Lorenz wrote: > > Em Ter 06 Jan 2004 19:21, you wrote: > > did you try a: open mysql://user:[EMAIL PROTECTED]/database instead? > Thanks guys, I fixed it. It was two things: networking was disabled with mysqly and I had to grant my user privilag

[REBOL] bit of mysql help?

2004-01-06 Thread Tom Foster
hi guys, I can open up the mysql listener from bash, and access a database, but when I try to use the mysql.r protocol, a: open mysql://user:[EMAIL PROTECTED]/database I get, "cannot connect to localhost" what can I look at to fix this? -- signature riding a horse: "clopclopclopclop" -tom -

[REBOL] removing stuff from a file?

2003-11-06 Thread Tom Foster
Hi guys, There are a bunch of ways I'd like to manipulate a bunch of files. One way is by removing all

[REBOL] Re: check me? deleting files based on a pattern

2003-10-28 Thread Tom Foster
Anton Rolls wrote: >Looks pretty safe to me. >You are just in one directory. >This will delete all files with "editpost" >in the name somewhere. >I would catch errors while deleting the file >so you are not interrupted by a single >"file access error" because one file is in use. > > foreach

[REBOL] check me? deleting files based on a pattern

2003-10-28 Thread Tom Foster
hi guys, is this script "safe?" it was taking forever, but then there are alot of files... I killed the process. is there a better way to do this? REBOL [ Title: "removealot" Date: 27-Oct-2003 File: %removealot.r RCS-Id: "$Id$" ] ;trace on home: to-file rejoin ["~" "/"] ba

[REBOL] Re: Rebol Browser 4 Command Line RedHat Install

2003-10-26 Thread Tom Foster
Ben Minton wrote: >Yes, I have Lynx. Read about Dillo yesterday. Is it a >non-X browser? Was not able to discern. > > nope, dillo needs X. You would probably appreciate w3m as a text-mode browser, though... -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with uns

[REBOL] permissions reminder?

2002-05-14 Thread Tom Foster
Hey guys, A long time ago, in a galaxy far, far away, someone posted an example of how to set file permissions with rebol, as in: chmod 755 file.r Could someone please help me locate the old post, or just tell me how it's done? Thanks, -tom -- To unsubscribe from this list, please send

[REBOL] file transfer, no ftp?

2001-10-11 Thread Tom Foster
Howdy Guys, I just got a free shell account to play with, but I can't ftp to it. I can telnet to it using little-bell.r... I know the path to my root web directory...can I write files to it using tcp? -- signature mischievous: "heh, heh, heh" -tom -- To unsubscribe from this list, please sen