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

  • From: smohan@xxxxxxxx (S Mohan)
  • Date: Tue, 9 Jul 2002 18:49:18 +0530

More careful way in bash.

TXTFILE=$(cat txt1.txt)

Mohan

-----Original Message-----
From: ilugc-admin@xxxxxxxxxxxxxxxxxx
[mailto:ilugc-admin@xxxxxxxxxxxxxxxxxx] On Behalf Of Bharathi S
Sent: 09 July, 2002 5:50 PM
To: Indian Linux User Group of Chennai
Subject: Re: [Ilugc] I wanna read a text files values into a
variable....But I want


On Tue, 9 Jul 2002, Aman wrote:

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

   TXTFILE=`cat txt1.txt`  -- Note ` not '
   
   I tried in bash. Not in Makefile.

HTH :)
-- 
--==| Bharathi S | BSB-364 DONLab | IIT-Madras |==--
The words of mouth are of no use
When eye to eye agrees the gaze.
*In Tirukkural of Holy Tamil poet Tiruvalluvar.

_______________________________________________
Ilugc mailing list
Ilugc@xxxxxxxxxxxxxxxxxx
http://www.aero.iitm.ernet.in/mailman/listinfo/ilugc


Other related posts: