H
Huajian Luo
Hi there,
I need to split the following file to 3 parts that's
==>1) Found regular diskset containing disks: to first empty line
==>2) Found regular diskset containing disks: to first empty line
.......
the "Found regular diskset containing disks" maybe 1 or more than 1.
==>the Warning: message, the rest of the file
Any hints on this?
__DATA__
1) Found regular diskset containing disks:
c1t10d0
c1t11d0
Creation time: Mon Nov 14 20:32:17 2005
For more information about this diskset:
metaimport -r -v c1t10d0
To import this diskset:
metaimport -s <newsetname> c1t10d0
2) Found regular diskset containing disks:
c1t12d0
Creation time: Mon Nov 14 20:33:10 2005
For more information about this diskset:
metaimport -r -v c1t12d0
To import this diskset:
metaimport -s <newsetname> c1t12d0
Warning: The following disks have been detected in more than one set.
Import recommendation based upon set creation time.
Proceed with the import with caution.
c1t11d0 - recommend importing with set created at : Mon Nov 14 22:06:48 2005
---end __DATA__
I need to split the following file to 3 parts that's
==>1) Found regular diskset containing disks: to first empty line
==>2) Found regular diskset containing disks: to first empty line
.......
the "Found regular diskset containing disks" maybe 1 or more than 1.
==>the Warning: message, the rest of the file
Any hints on this?
__DATA__
1) Found regular diskset containing disks:
c1t10d0
c1t11d0
Creation time: Mon Nov 14 20:32:17 2005
For more information about this diskset:
metaimport -r -v c1t10d0
To import this diskset:
metaimport -s <newsetname> c1t10d0
2) Found regular diskset containing disks:
c1t12d0
Creation time: Mon Nov 14 20:33:10 2005
For more information about this diskset:
metaimport -r -v c1t12d0
To import this diskset:
metaimport -s <newsetname> c1t12d0
Warning: The following disks have been detected in more than one set.
Import recommendation based upon set creation time.
Proceed with the import with caution.
c1t11d0 - recommend importing with set created at : Mon Nov 14 22:06:48 2005
---end __DATA__