[Top][All Lists]

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

Re: (should-be) simple directory parsing

From: Paul D. Smith
Subject: Re: (should-be) simple directory parsing
Date: Mon, 15 May 2006 21:26:21 -0400

%% "Paul D. Smith" <address@hidden> writes:

  pds>     dir := $(shell pwd | sed -e "s,/TOP.*$$,,")

Actually, also, adding the "$" to the end here is redundant, since .*
will match everything anyway.  You could just write:

    dir := $(shell pwd | sed -e 's,/TOP.*,,')

 Paul D. Smith <address@hidden>          Find some GNU make tips at:            
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

reply via email to

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