2 examples euse -i xattr /etc/make.conf: line 16: unexpected EOF while looking for matching `"' /etc/make.conf: line 18: syntax error: unexpected end of file /etc/make.conf: line 16: unexpected EOF while looking for matching `"' /etc/make.conf: line 18: syntax error: unexpected end of file /etc/make.conf: line 16: unexpected EOF while looking for matching `"' /etc/make.conf: line 18: syntax error: unexpected end of file another one /etc/make.conf: line 16: unexpected EOF while looking for matching `"' /etc/make.conf: line 18: syntax error: unexpected end of file /etc/make.conf: line 16: unexpected EOF while looking for matching `"' /etc/make.conf: line 18: syntax error: unexpected end of file /etc/make.conf: line 16: unexpected EOF while looking for matching `"' /etc/make.conf: line 18: syntax error: unexpected end of file Reproducible: Always Expected Results: euse shouldn't read comments.
Created attachment 114262 [details] make.conf the problem is on line 5... looks like I duped my example twice the second is actually /etc/make.conf: line 5: userfetch: command not found /etc/make.conf: line 5: userfetch: command not found /etc/make.conf: line 5: userfetch: command not found This one occurs if I remove the quote on the end of line 5
Well, your line 5 in invalid. It's not a comment, you are missing a space there before #.
from the bash info page File: bash.info, Node: Comments, Prev: Quoting, Up: Shell Syntax 3.1.3 Comments -------------- In a non-interactive shell, or an interactive shell in which the `interactive_comments' option to the `shopt' builtin is enabled (*note Bash Builtins::), a word beginning with `#' causes that word and all remaining characters on that line to be ignored. An interactive shell without the `interactive_comments' option enabled does not allow comments. The `interactive_comments' option is on by default in interactive shells. *Note Interactive Shells::, for a description of what makes a shell interactive. where in the hell have you gotten your info from jakub? in 3 years I've never read anything about what your talking about. comments start with the # at the # regardless of where they are in the line. I think this is a problem with you euse progam. correct me if I'm wrong but make.conf is in standard shell and not another program. the only exception I'm aware of is the first line of a file. if it contains #!/path/to/interpreter
^^^
> a word beginning with `#' causes that word... That word is *not* beginning with #, the whole distlocks"# thing is one word. You need either a whitespace or newline there.
Plus this is a duplicate anyway.
*** This bug has been marked as a duplicate of bug 163561 ***