home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!Sirius.dfn.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!fuug!kiae!isknews!pczz!sfera!mickey
- From: mickey@sfera.kharkov.ua (Mickey Serg Antonoff)
- Subject: alias problems
- Message-ID: <1992Aug29.140835.15176@sfera.kharkov.ua>
- Summary: csh alias problem
- Keywords: alias, csh
- Organization: PC Center TECHNO (Kharkov BB)
- Date: Sat, 29 Aug 1992 14:08:35 GMT
- Lines: 22
-
- Hello everybody
-
- there is a little problem to write alias in such way:
-
- alias md "sh -c 'for f in \!*;do mkdir $f ; cd $f;done'"
-
- it have to do:
- make directory, than cd to it;
- call:
- cd ~
- md 1 2 3 4 5 6
- result:
- cwd = ~/1/2/3/4/5/6
-
- In such way implementation there are a couple of errors reported, including
- "f": variable not found, and so on...
-
- Help me, please.
-
- With the best wishes,
- --
- Mickey <mickey@sfera.kharkov.ua>
-