home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!news.iastate.edu!john
- From: john@iastate.edu (John Hascall)
- Subject: foreach in csh alias (possible?)
- Message-ID: <BzH1qo.2yt@news.iastate.edu>
- Sender: news@news.iastate.edu (USENET News System)
- Organization: Iowa State University, Ames, IA
- Date: Fri, 18 Dec 1992 20:18:23 GMT
- Lines: 17
-
- Well, I Read The Fine FAQ, but no mention of this, and I dinked with
- it for the better part of an evening, but no luck. So, is something like
- this:
-
- alias doit 'foreach xx (`list-o-xxs`) \\
- setenv $xx /foo/$xx \\
- end'
-
- possible?
-
- Many thanks,
- John
- --
- John Hascall ``An ill-chosen word is the fool's messenger.''
- Systems Software Engineer
- Project Vincent
- Iowa State University Computation Center + Ames, IA 50011 + 515/294-9551
-