You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
compgen output may contain whitespace and/or wildcards.
Naive ($(...)) approach would parse such inputs incorrectly
Resulting COMPREPLY array needs sanitization in case any of the values
contain special characted, hence the extra loop with printf.
Relevant blog post:
https://www.baeldung.com/linux/reading-output-into-arrayClose#23
0 commit comments