[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:13582] Re: USAGI on Plamo



有家です。

問題が抽出できたのですが、
私は大変なFAQでハマッているようにも思います (^^);

カレントディレクトリで、たとえば以下のような Makefile をつくり、

[./Makefile]
----------------------------------
# Makefile for test 'gzip'

GZIP=./gzip
TEXT=./text

test:
	ls -l gzip* text*
	echo "abcdefg012345" > $(TEXT)
	$(GZIP) $(TEXT)
	ls -l gzip* text*
----------------------------------

$ cp /bin/gzip .

で gzip をカレントに置き、

$ make

すると

ls -l gzip* text*
-r-xr-xr-x   1 root     root        57014  9月 16日 2000年 gzip
-rw-r--r--   1 root     root           14  4月  3日  15:42 text
echo "abcdefg012345" > ./text
./gzip ./text
ls -l gzip* text*
-r-xr-xr-x   1 root     root        27093  9月 16日 2000年 gzip.gz
-rw-r--r--   1 root     root           39  4月  3日  15:45 text.gz

となります。
gzip 自身が gzip されます (;_;)
いったい何が起こっているのでしょう。

-- 
pba00250@nifty.com
yoariie@ehime.med.or.jp
-------------------------
有家佳紀  Yoshinori Ariie

Follow-Ups
[plamo:13583] Re: USAGI on Plamo, Shun-ichi TAHARA (田原 俊一)
References
[plamo:13566] USAGI on Plamo, Yoshinori Ariie
[plamo:13568] Re: USAGI on Plamo, KOJIMA Mitsuhiro
[plamo:13573] Re: USAGI on Plamo, Yoshinori Ariie

[検索ページ] [メール一覧]
Plamo ML 公開システム