OK, I'm going to forgo Rexx and learn bash script! 
I want to input a file into an array. For instance I want the variable xyz to 
have the contents of /tmp/test. /tmp/test looks like:

08:50:01 AM       all      3.48      0.00      0.18      0.15      0.19     
95.99
09:00:02 AM       all      3.51      0.00      0.19      0.15      0.11     
96.05


I tried:

xyz=(`cat /tmp/test`)  
  and
xyz=('grep all /tmp/test`) 

but I only get the first word, the 08:50:01. How can I get everything? 

Thanks
Bobby Bauer
Center for Information Technology
National Institutes of Health
Bethesda, MD 20892-5628
301-594-7474

 

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to