removed unused variable

This commit is contained in:
Jesse Gardner 2021-04-25 10:50:00 -07:00
parent 09880ae7fe
commit 04ea4dd952
1 changed files with 1 additions and 3 deletions

View File

@ -2222,14 +2222,12 @@ convert_to_seq ()
# PARAMETERS: $1: A set
#=========================================================================#
{
local s="$1"
{ [[ "$1" =~ ^[,-] ]] || [[ "$1" =~ [,-'^']$ ]] ||
[[ "$1" =~ [,-][,-] ]] || [[ "$1" =~ [[:space:]] ]] ||
[[ "$1" =~ ^.(.*[^',']\^) ]]; } && return 1
declare -a parts
IFS="," read -ra parts <<<"$s"
IFS="," read -ra parts <<<"$1"
local states i p not LH RH minus plus
states="$(list_states| tr " " "|")"