[Wien] spaghetti problem in over 10 case.klist_band_* parallel calculation

Hongming Weng whoming at sohu.com
Thu Jan 6 10:49:59 CET 2005


It should be 
grep -ce "^[0-9]* :" .processes
instead of
grep -ce "^[0-9]+ :" .processes
Many thanks to Buero!
Best wishes!

----- Original Message ----- 
From: "Hongming Weng" <whoming at sohu.com>
To: <wien at zeus.theochem.tuwien.ac.at>
Sent: Friday, December 31, 2004 1:59 PM
Subject: Re: [Wien] spaghetti problem in over 10 case.klist_band_* parallel calculation


> 
> Dear Buero,
>         I have tried to use 
>  grep -ce "^[0-9]+ :" .processes
> but it doesn't work in the right, it returns 0.
> Would you please check it?
>   Best wishes and Happy New Year to all!
> 
> Yours,
> Hongming Weng
> 
> ----- Original Message ----- 
> From: <buero at luitz.at>
> To: <wien at zeus.theochem.tuwien.ac.at>
> Sent: Wednesday, December 29, 2004 8:02 PM
> Subject: Re: [Wien] spaghetti problem in over 10 case.klist_band_* parallel calculation
> 
> 
> > 
> > On Wed, 29 Dec 2004, Hongming Weng wrote:
> > 
> > >      So I have changed "grep -ce "^[0-9] :" .processes"  to
> > >                                   "grep -ce "^[0-9][0-9] :" .processes"
> > > and add 0 to the first nine lines in .processes:
> > 
> > you should change the x-script to
> > grep -ce "^[0-9]+ :" .processes
> > and leave the .processes file alone. This should then (in contrast to your 
> > solution) also find lines starting with 101 or 789 :-)
> > 
> > All the best + happy New Year to @ll
> >    Joachim
> > 
> > --
> > luitz.at - Interfacing Art, Science and Technology
> > 
> > Dipl.-Ing. Joachim Luitz KEG | Wohlmuthgasse 18 | A-3003 Gablitz
> > Tel.: +43 2231 61254 | Fax +43 2231 67443 | buero at luitz.at
> > http://www.luitz.at
> > 
> > _______________________________________________
> > Wien mailing list
> > Wien at zeus.theochem.tuwien.ac.at
> > http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> > 
> > 
> 
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> 




More information about the Wien mailing list