Prev: Remove last lines
Next: change .bash_login environment variable to reflect a sym link to mysql install directory
From: bob123 on 21 Dec 2009 16:02 Hi, How to set a loop on CBSU16 ...CBSU09 from the output below: Storage Group Name: CBSU16 Storage Group Name: CBSU22 Storage Group Name: CBSU13 Storage Group Name: CBSU12 Storage Group Name: CBSU01 Storage Group Name: CBSU07 Storage Group Name: CBSU09 TEMPO Storage Group Name: CBSU21 Storage Group Name: CBSU09 Thanks
From: Barry Margolin on 21 Dec 2009 17:50 In article <4b2fe280$0$23022$426a34cc(a)news.free.fr>, "bob123" <bob123(a)gmail.com> wrote: > Hi, > > How to set a loop on CBSU16 ...CBSU09 from the output below: > > Storage Group Name: CBSU16 > Storage Group Name: CBSU22 > Storage Group Name: CBSU13 > Storage Group Name: CBSU12 > Storage Group Name: CBSU01 > Storage Group Name: CBSU07 > Storage Group Name: CBSU09 TEMPO > Storage Group Name: CBSU21 > Storage Group Name: CBSU09 > > Thanks for name in $(awk '{print $4}' filename); do ... done -- Barry Margolin, barmar(a)alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me *** *** PLEASE don't copy me on replies, I'll read them in the group ***
From: Stephane CHAZELAS on 22 Dec 2009 02:51 2009-12-21, 22:02(+01), bob123: [...] > How to set a loop on CBSU16 ...CBSU09 from the output below: > > Storage Group Name: CBSU16 > Storage Group Name: CBSU22 > Storage Group Name: CBSU13 > Storage Group Name: CBSU12 > Storage Group Name: CBSU01 > Storage Group Name: CBSU07 > Storage Group Name: CBSU09 TEMPO > Storage Group Name: CBSU21 > Storage Group Name: CBSU09 [...] awk '{whatever with $4}' -- St�phane
From: bob123 on 22 Dec 2009 05:48 > > for name in $(awk '{print $4}' filename); do > ... > done > OK Thanks but the pb is for CBSU09 TEMPO I need name='CBSU09 TEMPO' and not CBSU09
From: bob123 on 22 Dec 2009 05:49
> > awk '{whatever with $4}' > > > -- OK Thanks but the pb is for CBSU09 TEMPO I need name='CBSU09 TEMPO' and not CBSU09 |