[Wien] Syntax error: Bad fd number

Peter Blaha pblaha at theochem.tuwien.ac.at
Wed May 18 07:59:13 CEST 2022


Hi,
Your suggestion for the redirect does not work for me.

Could you try to add the tcsh shell explicitly into the command and let 
me know if this works for you, like:


                istat=system('tcsh ls /proc/cpuinfo >& /dev/null')

Regards

Am 18.05.2022 um 06:10 schrieb Tomohiko Tasaka:
> grep -i avx2 /proc/cpuinfo > /dev/null 2> /dev/null

-- 
--------------------------------------------------------------------------
Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna
Phone: +43-1-58801-165300             FAX: +43-1-58801-165982
Email: blaha at theochem.tuwien.ac.at    WIEN2k: http://www.wien2k.at
WWW:   http://www.imc.tuwien.ac.at
-------------------------------------------------------------------------


More information about the Wien mailing list