#!/bin/csh
foreach f \(`ls *.mol2`\)
set name = `basename $f .mol2`
echo $name
../script/prepare_ligand4.py -l "$name".mol2 -o "$name".pdbqt -d ../etc/ligand_dict.py
end
---------------------------------------------------------------------------------------------
下面是错误提示
foreach: Too few arguments.