test echo
This commit is contained in:
parent
401903bd0e
commit
eb1ce081d2
@ -15,6 +15,7 @@ figlet "CUTOFF DATA FROM TRAIN SET"
|
|||||||
shift "$(($OPTIND - 1))"
|
shift "$(($OPTIND - 1))"
|
||||||
if [[ "$1" == "--cutoff" ]]; then
|
if [[ "$1" == "--cutoff" ]]; then
|
||||||
shift
|
shift
|
||||||
|
echo "$1"
|
||||||
if [[ ! "$1" =~ ^[1-9][0-9]*$ ]]; then
|
if [[ ! "$1" =~ ^[1-9][0-9]*$ ]]; then
|
||||||
echo "Error: cutoff value must be a positive number"
|
echo "Error: cutoff value must be a positive number"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user