On Wed, Aug 23, 2006 at 01:17:20PM -0400, Philip Ganchev wrote:
> I guess the only reason a builtin may be less discoverable than a
> variable is that there are much fewer variables (and that other shells
> use a variable).

are you talking about history?
in bash it's a builtin.

> > * Fish uses a 'random' builtin instead of a $RANDOM varaible as bash
> > does, because it really is more a function than a variable 

yup, i agree, it's a lot better that way.

> > * $history allows you to do neat things like array slicing because it
> > is an array  and fish has some pretty nice tools for manipulating
> > arrays.

is there a way to search for strings, wildcards or regular expressions?

> Of course, it would be nicer if ``(history)[2 4]`` worked.

that would be really neat...

btw: quote from a friend who likes lisp a lot:
  fish and SBCL with linedit running side-by-side... 
  I'm in tab-completion heaven
(SBCL is steel banks common lisp)

greetings, martin.
-- 
cooperative communication with sTeam      -     caudium, pike, roxen and unix
offering: programming, training and administration   -  anywhere in the world
--
pike programmer   travelling and working in europe             open-steam.org
unix system-      bahai.or.at                        iaeste.(tuwien.ac|or).at
administrator     (caudium|gotpike).org                          is.schon.org
Martin Bähr       http://www.iaeste.or.at/~mbaehr/

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to