Closing ssh connection/shell errors withreturn: : numeric argument required#175 New issue Closed Description SuperSandro2000
运行报错:expr: non-numeric argument,最后各种测试,单独给HIT和MISS赋值,没报错,就是不知道哪里的原因,查看运行详细模式: 仔细一看,后面有"\r",以为是编码的问题 # cat -v 1.sh#!/bin/bashHIT=$(/app/local/redis/bin/redis-cli-h127.0.0.1-p6379info|grep"keyspace_hits"|awk-F':''{print $2}')...