home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!pmafire!news.dell.com!natinst.com!cs.utexas.edu!usc!wupost!gumby!yale!yale.edu!jvnc.net!darwin.sura.net!eng.ufl.edu!whale!zzang
- From: zzang@whale.uucp (Zhuo Zang[~{j0WA~}])
- Subject: What does \!* mean in csh history subst ?
- Message-ID: <1992Sep2.173037.16135@eng.ufl.edu>
- Sender: news@eng.ufl.edu (Usenet Diskhog System)
- Organization: University of Florida
- Distribution: usa
- Date: Wed, 2 Sep 92 17:30:37 GMT
- Lines: 23
-
- Hello,
- I am confused by the meaning of the
- csh history substitution \!* .
- the man says it means: take word 1-$ from previou cmd.
- my question is: if the previous cmd have pipes, like
- > cat foo.1 | lpr
- what is the 1-$ ? if you use:
- >more !*
- ?: 1-$ is foo.1 or foo.1 |lpr
-
- similar question also can be raised when we use the
- semicolon `;' in the previous cmd .
- my guess is \!* will ignore whatever after the `|' or `;'
- then what can I do if sometimes I really want
- \!* to include the stuff after the `|' or `;'
-
- Many thanks !
-
-
- --
- Zhuo Zang[~{j0WA~}]
- Department of Statistics
- University of Florida Email: zzang@stat.ufl.edu
-