| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function cli { |
| |
| |
| local FUNCNAM='' |
| local ACTIONNAM='' |
| local ACTIONVAL='' |
| local REGEX='' |
| local ARGUMENTS='' |
| |
| |
| cli_doParseArgumentsReDef "$@" |
| |
| |
| |
| |
| |
| cli_getArguments |
| |
| |
| if [[ ! "$EDITOR" =~ '/usr/bin/(vim|emacs|nano)' ]];then |
| EDITOR='/usr/bin/vim' |
| fi |
| |
| |
| cli_checkFiles $EDITOR 'x' |
| |
| |
| |
| |
| REGEX='.+' |
| |
| |
| |
| cli_getFunctions |
| |
| } |