remove nl
This commit is contained in:
parent
1949c2100c
commit
bff29b1637
@ -58,7 +58,7 @@ else
|
|||||||
if [[ $selection == 0 ]]; then
|
if [[ $selection == 0 ]]; then
|
||||||
echo "Exiting.."
|
echo "Exiting.."
|
||||||
exit
|
exit
|
||||||
elif ! echo -e "$cont_search}" | nl -s ") " | grep -qs ^"$selection)" ; then
|
elif ! echo -e "$cont_search}" | grep -qs ^"$selection)" ; then
|
||||||
echo "Error: \"$selection\" was not an option.. Try again"
|
echo "Error: \"$selection\" was not an option.. Try again"
|
||||||
sleep 3
|
sleep 3
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user