2021-10-28 回文検出ワンライナー その他 while read n; do m=""; for i in $(seq ${#n} -1 0); do m=$m${n:$i:1}; done ; [ "$m" == "$n" ] && echo $m; done < kaibun.txt