How would I do this:

file A contains a line of characters always looking like "hostname XXXXX". 
I want to take the XXXXX and assign that to a scalar...I tried making an
array out of it by using grep to search for the line starting with
"hostname", but then the  one and only element of the array is "hostname
XXXXX" and I cant figure out how to extract the XXXXX out...

Any help would be greatly appreciated.


__________________________________________________
Tim Grossner
Field Operations Manager        CCNA, MCP, A+
Southwestern Bell Datacom
voice - 217-522-7564
pager - 217-467-3148
cell - 217-971-3060
data - [EMAIL PROTECTED]


Reply via email to