Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get filesystem and server with many lines in between

Status
Not open for further replies.

blarneyme

MIS
Jun 22, 2009
160
US
host1
/
/var
/tmp
/usr
/data
/fs
/mnt server2:/data1
/mnt1 server1:/data

host2
/
/var
/tmp
/usr
/data
/mnt server2:/data1

host3
/
/var
/tmp
/usr
/data
/fs server3:/data2
/mnt1 server1:/data

host4
/
/var
/usr
/mnt1 server1:/data

If I have a match for /fs and/or /mnt and/or /mnt1 print output like this:
host1 server3:/data2::/fs server1:/data::/mnt1
host2 server2:/data1::/mnt
host3 server3:/data2::/fs server1:/data::/mnt1
host4 server1:/data::/mnt1
 
This is not vastly different from the previous problem you posted. Have you tried anything yourself yet? Where are you stuck?

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top