bug-make
[Top][All Lists]
Advanced

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

strangeness about variable inside the shell


From: Huiseok Kim
Subject: strangeness about variable inside the shell
Date: Fri, 30 May 2003 11:01:23 +0900 (KST)

it looks strange that the variable in the shell doesn't work with builtin function. following is one of the situation:

 

list = foo/bar google deep/deeper/deepest

test:
        for item in $(list); do \
                echo $(notdir $$item); \
        done

result ?

 

foo/bar

google

deep/deeper/deepest

 

i had expected to be listed it as 'bar google deepest' but it showed as it was.

my gmake version is 3.79.1. any comments or help will be appreciated.

 



"우리 인터넷, Daum" http://www.daum.net  『평생쓰는 무료 한메일넷』
▷2003 다음의 날, 가자 서울랜드로!◁
다음의 날 무료 초대권 받아가세요~
한메일넷 스팸제로 시스템
스팸 없는 편지함! 한메일넷 편지함!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]