scripts

misc scripts and tools
git clone git://git.2f30.org/scripts
Log | Files | Refs

commit 88075cc40662116c136537ca7d967ed194c090c2
parent a6f82f0590ce78aa9fd637f3004438fef37e0861
Author: sin <sin@2f30.org>
Date:   Thu, 28 Nov 2013 13:46:38 +0000

Use echo -n instead of read -p

Diffstat:
Mitor | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/itor b/itor @@ -35,7 +35,7 @@ fi isnum() { test "$1" && printf '%d' "$1" >/dev/null 2>/dev/null; } while :; do - read -p "Your selection: " index + echo -n "Your selection: "; read index isnum $index if [ $? -eq 0 ]; then if [ $index -ge $idx ]; then