Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

REBOL/Power-Tools Help needed!

 [1/6] from: robbo1mark:aol at: 22-Feb-2001 7:12


Iam currently working on a Look-at function which I will post her soon. Basically this function examines & print the contents of a file or url like the old unix less & more commands. It also will have /Page traversal & /Start & /End refinements for looking at the first & last lines of a file or url. Iam also trying to write a LOCATE function which will traverse your file system and match / list files which meet your search criteria, this is a bit more tricky however and I need help, anybody any offers? Mark Dickson

 [2/6] from: bo:rebol at: 22-Feb-2001 10:07


Mark, I have a script that may be a good starting point for your LOCATE function. Have fun! -Bo On 22-Feb-2001/7:12:39, [Robbo1Mark--aol--com] wrote:
>Iam currently working on a Look-at function which I will post her soon. >Basically this function examines & print the contents of a file or url like the old unix less & more commands.
<<quoted lines omitted: 5>>
>[rebol-request--rebol--com] with "unsubscribe" in the >subject, without the quotes.
-- Bohdan "Bo" Lechnowsky REBOL Adventure Guide REBOL Technologies 707-467-8000 (http://www.rebol.com) The Official Source for REBOL Books (http://www.REBOLpress.com) -- Binary/unsupported file stripped by Listar -- -- Type: application/octet-stream -- File: recsearch.r

 [3/6] from: bo:rebol at: 22-Feb-2001 10:44


On 22-Feb-2001/10:07:01-7:00, [bo--rebol--com] wrote: Doh! It wasn't that important anyway...
>-- Binary/unsupported file stripped by Listar -- >-- Type: application/octet-stream >-- File: recsearch.r
-- Bohdan "Bo" Lechnowsky REBOL Adventure Guide REBOL Technologies 707-467-8000 (http://www.rebol.com) The Official Source for REBOL Books (http://www.REBOLpress.com)

 [4/6] from: arolls:bigpond:au at: 24-Feb-2001 1:00


Hi Mark, In my dir-utils.r, (http://users.bigpond.net.au/datababies/anton/rebol/index.r) you can find 'cp, which recurses (iteratively, using a stack) through directories in order to copy files from one location to another, and 'ls, which accepts a pattern for listing files. You can join the bits of code together to make a search function. I am planning to write my own. I just can't say when. Anton.

 [5/6] from: gjones05:mail:orion at: 23-Feb-2001 16:02


From: "Anton"
> In my dir-utils.r, > (http://users.bigpond.net.au/datababies/anton/rebol/index.r) > you can find 'cp, which recurses (iteratively, using a stack) through > directories in order to copy files from one location to another, > and 'ls, which accepts a pattern for listing files.
Hi, Anton, your utilities are great. Thanks! Makes my Windows Rebol console feel just like Unix. Maybe it should be called the RebNix shell utilities. :) --Scott

 [6/6] from: arolls::bigpond::net::au at: 24-Feb-2001 20:37


Scott, Glad you like them, just be careful with 'mv. It think 'mv should be fine, but be careful because after copying, it deletes... I haven't tested it that thoroughly yet. Anton.

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted