Newsgroups: fj.questions.unix
Path: galaxy.trc.rwcp.or.jp!news.trc!nf2.iij.ad.jp!nr0.iij.ad.jp!news.iij.ad.jp!rim.or.jp!tamaru-news!Q.T.Honey!news.join.ad.jp!sinetnews!eclnews!yecl-news.ecl.ntt.co.jp!isl.ntt.co.jp!maro
From: maro@sucaba.isl.ntt.co.jp (AOKI Kazumaro)
Subject: Re: [Q] Script for moving or copying files
In-Reply-To: kuno@gssm.otsuka.tsukuba.ac.jp's message of 11 Feb 1998 23:18:57 +0900
X-Nntp-Posting-Host: sucaba.isl.ntt.co.jp
Content-Type: text/plain; charset=ISO-2022-JP
Message-ID: <Eo822z.Fx@netnews.isl.ntt.co.jp>
Sender: news@netnews.isl.ntt.co.jp
X-Forwarded: by - (DeleGate/4.1.6)
Reply-To: maro@isl.ntt.co.jp
Organization: NTT Laboratories, Japan
X-Newsreader: GNUS 4.1/NEmacs 3.3.1
References: <6bs822$o2i$1@fu.bekkoame.or.jp>
	<6bsc0h$kh6@utogw.gssm.otsuka.tsukuba.ac.jp>
Mime-Version: 1.0 (generated by MimeKit/1.7)
Date: Wed, 11 Feb 1998 16:06:32 GMT
Lines: 15
Xref: galaxy.trc.rwcp.or.jp fj.questions.unix:7833
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.questions.unix&nb=7833&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

In article <6bsc0h$kh6@utogw.gssm.otsuka.tsukuba.ac.jp>
kuno@gssm.otsuka.tsukuba.ac.jp wrote:
>   $B$^$"%9%/%j%W%H$OMW$i$J$$$G$7$g$&$1$I!#(Bcsh$B7O$N>l9g(B
> 
>   % cd hoge
>   % foreach f (*.a)
>   >   cp $f foo/`basename $f .a`.b

csh$B7O$J$i$o$6$o$6(Bbasename$B$r8F$P$:$H$b=$>~;R$r;H$C$F(B
>  cp $f ../foo/$f:r.b
$B$G$h$$$N$G$O$J$$$G$7$g$&$+!)(B

--
/ $B@DLZOBKcO$!J$"$*$-$+$:$^$m!K(B
/ E-mail: maro@isl.ntt.co.jp
