help-make
[Top][All Lists]
Advanced

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

RE: Extracting variable


From: Joshi, Vikas
Subject: RE: Extracting variable
Date: Thu, 14 Apr 2005 08:44:34 -0500

One can use \ as line continuation in makes. So put \ at the end of each
line and the next line will be counted as continuation of the previous.

-VJ

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of Uri
Shkolnik
Sent: Thursday, April 14, 2005 6:46 AM
To: address@hidden
Subject: Extracting variable

Hi,

The problem

I have a variable, that defined to be multiple
attributes with some space(s) and/or tab(s) between
them.
I would like to extract it to be multiline with single
parameter per line.

Example:

LIBS<space>:=<space><tab>genlib<space><space><space>phonelib<tab><tab><s
pace>lcdlib<tab>mmilib<CR>

to be -->

LIBS<space>:=<space><CR>
<tab>genlib<space><space><CR>
<space>phonelib<CR>
<tab><tab><space>lcdlib<tab><CR>
mmilib<CR>

note: the location of the spaces and tabs in the
result is unimportant (they can be voided altogether)
BUT two consequent <CR> must have exactly one (and
only one)  parameter between them.


ideas?


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/


_______________________________________________
Help-make mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-make





reply via email to

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