sed 's/^/\'&/g' 01.txt
#在所有行前加單引號
sed "s/^/'&/g" 01.txt
#在所有行尾加單引號
sed "s/$/&'/g" 01.txt
sed 's/$/&TAIL/g' 01.txt
#在所有行前行尾加單引號
sed "/./{s/^/'&/;s/$/&', /}" 01.txt > a01.txt
sed 's/^/\'&/g' 01.txt
#在所有行前加單引號
sed "s/^/'&/g" 01.txt
#在所有行尾加單引號
sed "s/$/&'/g" 01.txt
sed 's/$/&TAIL/g' 01.txt
#在所有行前行尾加單引號
sed "/./{s/^/'&/;s/$/&', /}" 01.txt > a01.txt