Comment detail

出力の一時停止と再開 (Nested Flatten)

man bashしたらいけることがわかったので作ってみました

1
2
3
4
5
6
7
stty -echo
while echo -n a && read -t 1 -n 1 a || [ "$a" != q ]; do
  if [ "$a" = p ]; then
    while read -n 1 a && [ "$a" != p ]; do :; done
    a=
  fi
done

Index

Feed

Other

Link

Pathtraq

loading...