[Wien] minor bug in x_lapw, wien2k_08.1
Peter Blaha
pblaha at theochem.tuwien.ac.at
Wed Apr 16 12:07:11 CEST 2008
Thank's,
It was noted before and will be fixed in the next release (coming soon!)
Michal Wierzbicki schrieb:
> At line 183 the unix "cut" utility is called with options
> after the filename. This is contrary to "cut" man page which requires
> options before filename. This is not a problem in Linux,
> where often programs run different as advertised in man pages.
> However, when I run wien2k in FreeBSD I got an error.
>
> I append the following patch:
>
> --- x_lapw.orig 2008-04-16 11:08:32.000000000 +0200
> +++ x_lapw 2008-04-16 11:08:46.000000000 +0200
> @@ -180,7 +180,7 @@
> endif
>
> if !($?cmplx) then
> -set cmplx=`cut $file.struct -b -6|\
> +set cmplx=`cut -b -6 $file.struct|\
> awk 'BEGIN{c="c"};{if ($0 == "-1 0 0") {\
> getline; {if ($0 == " 0-1 0"){\
> getline; {if ($0 == " 0 0-1"){c= ""}}}}}};\
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
--
P.Blaha
--------------------------------------------------------------------------
Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna
Phone: +43-1-58801-15671 FAX: +43-1-58801-15698
Email: blaha at theochem.tuwien.ac.at WWW: http://info.tuwien.ac.at/theochem/
--------------------------------------------------------------------------
More information about the Wien
mailing list