This is topic Help with Linux in forum Books, Films, Food and Culture at Hatrack River Forum.


To visit this topic, use this URL:
http://www.hatrack.com/ubb/main/ultimatebb.php?ubb=get_topic;f=2;t=045804

Posted by Blayne Bradley (Member # 8565) on :
 
Okay so if I do a=$(perl randm 500)

and get 100 as the number.

then $a should equal 100 neh?

but grep doesnt recognize $a as meaning a, it simply tries to find end of line.

So how do I get greb to recognize a variable?
 


Copyright © 2008 Hatrack River Enterprises Inc. All rights reserved.
Reproduction in whole or in part without permission is prohibited.


Powered by Infopop Corporation
UBB.classic™ 6.7.2