Re: find specific line from file

2014-05-20 Thread Jim Gibson
Benjamin: Please post messages to the list, not individual members. On May 20, 2014, at 6:51 PM, Benjamin Fernandis wrote: > Hey Jim, > > I tried to use while loop to read file line by line, but facing problem to > get exact phrase or a way to start reading from predefined partition name and

Re: find specific line from file

2014-05-20 Thread Benjamin Fernandis
Hi peter, i can see it clearly. Regards Ben On Wed, May 21, 2014 at 11:29 PM, Peter Gordon wrote: > On Wed, 21 May 2014 11:19:36 +1200, Benjamin Fernandis wrote: > >Hi, > > > >I want to fetch rawuuid from below file for each partition name. > > > > > >I tried to use while loop and all but no l

Re: find specific line from file

2014-05-20 Thread Jim Gibson
On May 20, 2014, at 4:19 PM, Benjamin Fernandis wrote: > Hi, > > I want to fetch rawuuid from below file for each partition name. > > I tried to use while loop and all but no luck. > > example : partition name : ada0p2 > rawuuid: 5899824d-e019-11e3-9cbc-08002731cc9a > file :

find specific line from file

2014-05-20 Thread Benjamin Fernandis
Hi, I want to fetch rawuuid from below file for each partition name. I tried to use while loop and all but no luck. example : partition name : ada0p2 rawuuid: 5899824d-e019-11e3-9cbc-08002731cc9a file : Geom name: ada0 modified: false state: OK fwheads: 16 fwsectors: 63 last: