in localpath i have files with names
myfile1_20090821.dat
myfile2_20090831.dat
myfile3_20090811.dat
myfile4_20090822.dat
myfile5_20090825.dat
type="OP"
module="abc"
if [ $type == 'OP' ]; then
case $module in
abc) x=1
while [ $x -le 5 ]
do
INPUT_FILE[$x]=`ls localpath/myfile$x*.dat`
x=$(($x + 1))
done;;
*) echo "not.......";;
esac
fi
その与えるエラー:LS localPathに/ myfileを$ 1 *UNIXのcase文でワイルドカードを使用する際の問題?
を見つけていないの.dat plzはあなたのプログラムの