scripts

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

commit 0a496c6f3c2f95ba7e651cb1d33b8ca0dcfd73d4
parent 1a480e96c0b06b6998f670c0168524b918ecb0bd
Author: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Date:   Wed, 27 Nov 2013 11:02:17 +0000

Indices cannot be floats

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

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