Hi
I have to extract the first field and the last %field of the following out put..
/home (/abc/def/bhd ) : 522328 total allocated Kb
319448 free allocated Kb
202880 used allocated Kb
38 % allocation used
i need to to get only /home and 38% allocation used in a array.
How to do it in a perl script using sed or awk or regular expression.
Regards...