[Ilugc] storing result in variables

  • From: askgopal@xxxxxxxx (Gopalarathnam V.)
  • Date: 23 Feb 2004 10:36:49 +0530

x=`ipx_configure | cut -d" " -f5`
y=`tail -1 | cut -d: -f3`

http://steve-parker.org/sh/sh.shtml

On Mon, 2004-02-23 at 10:23, babu jayapaul wrote:

how to store the resulting values of expression in a
variable.

for example

  x=ipx_configure | cut -d " " -f 5
  y= tail -l | cut -d : -f 3

the variable x/y is empty empty ?

kindly give me a solution to do this.

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with 
"unsubscribe <password> address"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
-- 
How To Ask Questions The Smart Way:
http://www.catb.org/~esr/faqs/smart-questions.html



Other related posts: