>>74

#!/bin/sh
for i in 1 2 3 4 5 6 7 8 9; do
touch hoge$1
chmod a-w hoge$1
done

rm hoge* | yes

こんな感じ?
ライトプロテクトされてるけど消す?
みたいなメッセージにいちいちyって答えないですむ