Re: Reintroducing fish, the friendly interactive shell
- From: Stephane Chazelas <stephane_chazelas@xxxxxxxx>
- Date: 08 Mar 2006 18:12:22 GMT
On 6 Mar 2006 09:49:29 -0800, liljencrantz@xxxxxxxxx wrote:
[...]
There are a great many features in fish that have little to do with[...]
syntax, like syntax highlighting, advanced tab completion, X clipboard
intergration, etc.. But this post is only mean to discuss the design
and implications of the changes made to regular shell syntax in fish.
Specifically, I'd be interested in opinions on security considerations,
regressions and further possible changes to the syntax. To try out
fish, visit http://roo.no-ip.org/fish/ or use the prepackaged version
avaialable for many systems including Debian. Fish is GPL:ed, and it
works on most Linux versions, NetBSD, FreeBSD, OS X, Solaris and
possibly Cygwin.
You say on your web site:
the string **l will match doc/html and user_doc/html. The **
wildcard will only match directory names, not file names. The
recursive wildcard matching feature has been borrowed from
zsh, but the ability to mix recursive wildcards with other
tokens, such as user**/ is unique to fish.
What do you mean by that?
In zsh, **/ is the same as (*/)# (** alone is not special, # is
an extended globbing operator)
So **/*l in zsh would seem to return what fish's **l returns.
But what would user**/ be?
**/user*/
(user*/)#
or **/user*/**/*/ ?
(Note that ksh93 also borrowed ** from zsh (in yet another way,
and is not enabled by default))
--
Stephane
.
- Follow-Ups:
- Re: Reintroducing fish, the friendly interactive shell
- From: liljencrantz@xxxxxxxxx
- Re: Reintroducing fish, the friendly interactive shell
- References:
- Reintroducing fish, the friendly interactive shell
- From: liljencrantz@xxxxxxxxx
- Reintroducing fish, the friendly interactive shell
- Prev by Date: Re: Reintroducing fish, the friendly interactive shell
- Next by Date: Re: Reintroducing fish, the friendly interactive shell
- Previous by thread: Re: Reintroducing fish, the friendly interactive shell
- Next by thread: Re: Reintroducing fish, the friendly interactive shell
- Index(es):
Relevant Pages
|