[REBOL] Re: Console life a bit over-expressive? Try dir-utils
From: jelinem1:nationwide at: 14-Dec-2000 9:57
Anton,
Way ahead of you, although your efforts are commendable nonetheless.
Actually your efforts are abit better than mine for you published yours.
Although...did I post an early version of my shell.r to one of the REBOL
repositories?
Anyway, I took your pattern matching from the directory listing function.
As simple as this is I was too lazy to create the code for it. My shell.r
contains a few extra functions that I just use all the time, not
necessarily outside of a program (script). shell.r also contains things
like:
'rgrep - don't expect regular expressions!
'include - requires setting a "global" 'lib-path to where your library
scripts are
'disp - displays the "first layer" contents of an object, list, or
associative array
'rejoin - redefines this word with a 'with refinement
an object template for defining a 'counter
http://members.home.net/michael1356/shell.r
- Michael Jelinek
Anton
<[arolls--bigpond--net--au]>@rebol.com on 12/13/2000 07:55:46 AM
From: "Anton" <[arolls--bigpond--net--au]>@rebol.com on 12/13/2000 07:55 AM
Please respond to [rebol-list--rebol--com]
Sent by: [rebol-bounce--rebol--com]
To: <[rebol-list--rebol--com]>
cc:
Subject: [REBOL] Console life a bit over-expressive? Try dir-utils
Hello everyone,
I have recently made available a set of filesystem
navigation functions for all to enjoy.
Included are such classics (that we all know and love) as:
'cd - change directory (directory argument optional :)
'ls - list directory contents (with optional pattern matching)
'dir - list sub-directories
and
'wd ~= what-dir
I do %dir-utils.r in my user.r file and it makes my life
much easier. (I don't have to crawl out of my shell.)
Find it here:
http://users.bigpond.net.au/datababies/anton/rebol/dir-utils.r
I have tested these functions on
REBOL/Core 2.3.0.3.1 24-Jun-2000 (win2k)
REBOL/View 0.10.38.3.1 28-Nov-2000 (win2k)
Yours sincerely,
Anton.