[Ilugc] I wanna read a text files values into a variable....But I want

  • From: shaikaman@xxxxxxxxx (Aman)
  • Date: Tue, 9 Jul 2002 04:56:01 -0700 (PDT)

--0-1983717124-1026215761=:45969
Content-Type: text/plain; charset=us-ascii


Hi all,
    Thanx for the efforts.
 
    But, What I want is, to read the text file as a whole into a single 
variable declared
in Makefile. The internal seperator does not matter.

Ex:
   The text file is : txt1.txt and contains,
                        
                      RegInfo.txt:RegError.jsp:
   I want to read the entire file into a variable in the Makefile something
   like this,

   TXTFILE < txt1.txt ( Iyo i'm not getting the syntax )

 TIA,


--Experience is what you get, when you did not get what you wanted       Cheers 
,          Aman   653 0236


---------------------------------
Do You Yahoo!?
New! SBC Yahoo! Dial - 1st Month Free & unlimited access
--0-1983717124-1026215761=:45969
Content-Type: text/html; charset=us-ascii

<P>Hi all,
<P>&nbsp;&nbsp;&nbsp; Thanx for the efforts.<BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp; 
But, What I want is, to read the text file as a whole into a single variable 
declared<BR>in Makefile. The internal seperator does not matter.
<P><BR>Ex:<BR>&nbsp;&nbsp; The text file is : txt1.txt and 
contains,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 RegInfo.txt:RegError.jsp:
<P>&nbsp;&nbsp; I want to read the entire file into a variable in the Makefile 
something<BR>&nbsp;&nbsp; like this,
<P><BR>&nbsp;&nbsp; TXTFILE &lt; txt1.txt ( Iyo i'm not getting the syntax )<BR>
<P>&nbsp;TIA,</P><BR><BR><DIV>--</DIV>
<DIV><FONT face="Garamond, Times, Serif" size=4>Experience is what you get, 
when you did not get what you wanted&nbsp;</FONT><FONT face="Lucida 
Handwriting, Cursive"> </FONT><IMG height=12 
src="http://graphics.hotmail.com/emsmile.gif" width=12></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; Cheers <IMG height=12 
src="http://graphics.hotmail.com/emcocktl.gif" width=12>,</DIV>
<DIV></DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Aman</DIV>
<DIV><IMG height=12 src="http://graphics.hotmail.com/emphone.gif" ;
width=12>&nbsp;&nbsp; 653 0236</DIV><p><br><hr size=1><b>Do You Yahoo!?</b><br>
New! <a 
href="http://pa.yahoo.com/*http://rd.yahoo.com/sbcyahoo/consumer/evt=640/*http://sbc.yahoo.com";
 target="_blank">SBC Yahoo! Dial</a> - 1st Month Free &amp; unlimited access
--0-1983717124-1026215761=:45969--

Other related posts: