zsh-workers
 help / color / mirror / code / Atom feed
From: TGAPE! <tgape@cyberramp.net>
To: sve6!zhouyh%ichp7@inethp1.bidc.cn.net (zhouyhong)
Cc: zsh-workers@math.gatech.edu
Subject: Re: Help!A Question
Date: Wed, 5 Nov 1997 21:49:25 +0000 (GMT)	[thread overview]
Message-ID: <199711052149.VAA05013@dal-tsa8-16.cyberramp.net> (raw)
In-Reply-To: <199711050426.XAA25930@math.gatech.edu> from "zhouyhong" at Nov 5, 97 12:11:20 pm

zhouyhong wrote:
> 
> Dear Zsh workers:
> 	I'm a newcomer of Zshell.
> 	I encounter a problem when I use Zshell
> 	when I use the following alias:
> 	alias fn='find . -name ''*''\!:1''*'' -print'
                                ^^^^

What's this *thing*?  You been using csh, or something?  Get it hence.
You need a function here:
 	function fn { find . -name '*'$1'*' -print }


This is in the FAQ, when explaining differences from csh.  It is
apparently not explicitly mentioned anywhere else, which I think is a
documentation bug (I think it should be under HISTORY EXPANSION or under
ALIASING, or both.)  I do realize that if someone read the evaluation
order, it'd be obvious, but be honest - how many people do you expect
would read something that unrelated?

(Ed covers his face with his hand as everyone but shoughong raises their
hand.)  NO!  Not you developer types - you've read the documentation
just because it's there.  I mean the user types, dang it!  Generally, if
they read the docs which are obviously directly related to what they're
doing, it's pretty amazing.  Put stuff like this there.

Ed


           reply	other threads:[~1997-11-08  1:40 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <199711050426.XAA25930@math.gatech.edu>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199711052149.VAA05013@dal-tsa8-16.cyberramp.net \
    --to=tgape@cyberramp.net \
    --cc=sve6!zhouyh%ichp7@inethp1.bidc.cn.net \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).