diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ak-sm-merkle-tree-to-file | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ak-sm-merkle-tree-to-file b/bin/ak-sm-merkle-tree-to-file index 2dd9a43..5959250 100755 --- a/bin/ak-sm-merkle-tree-to-file +++ b/bin/ak-sm-merkle-tree-to-file @@ -10,7 +10,8 @@ then echo "Please an output filename" exit 2 fi -echo $1 | grep ".\{128\}" + +echo $1 | grep "[0123456789abcdef]\{128\}" if [ $? -ne 0 ] then echo "Look, I asked for a SHA512 hash, please try again" |