#!/bin/sh
SAVE_PATH="/home/kyungwon/바탕화면/TEST/test"
i=0
while read line
do
test[i]=$line
echo -e "$i 번째 \c"
#echo ${test[i]}
echo "===file test==="
echo "${test[i]}" > $SAVE_PATH/tt${i}.txt
cat $SAVE_PATH/tt${i}.txt
echo
(( i++ ))
done < test.txt
#echo "${test[0]}" > tt.txt
#cat tt.txt