syntax error: unexpected end of file
Jump to navigation
Jump to search
How to define Bash function in one line
Solution: add ";" at the end of your line of code https://stackoverflow.com/questions/38595559/how-to-define-a-function-on-one-line
Related[edit]
See also[edit]
Bash [ -c ],alias,&&, Bash history, Autocompletion,set,unset,export,.bash_aliases, .bashrc and .bash profile,PS1,echo,brace expansion, Function,shopt,trap,set -e,source,PATH,complete,disown,.hushlogin,.bashrc,builtin,eval,set,$PATH,$HOME,TZ,.profile,-e, -i,Builtin (Bash),mapfile,~, return (Bash), for, until,declare, dirname, basename, functions.sh, Bash arithmetic expansion,shift, bash --rcfile, readonly, $1, $@, Bash versions, Backslash \
Advertising: