7 июня 2010 г.

Пауза в bash-скриптах

$ read -sn1 -p "Press any key to continue..."; echo
 -s = silent
 -n1 = only one symbol needed to continue after the insert

Комментариев нет: