Whenever I start typing in a command which uses $(  ) expansion, and I press tab while typing in the inner command, I get an error:  unexpected EOF while looking for matching `)'   Thus, for example, I might see:  $ echo $(echo hbash: unexpected EOF while looking for matching `)' bash: syntax error: unexpected end of file   on my terminal. Where is bash encountering the error? How can I determine which file?  Notes:   I've recently installed a new (and incompatible) distribution but have kept my home directory, so some settings/files are bound be messed up. In case it helps, I'm now on Devuan Ascii.
it seems my bash-completion got corrupted. Every time I try to use command substitution, for example when I type  ls $(ls Deskto&lt;Tab&gt;   ..result is..  ls $(ls Desktobash unexpected eof while looking for matching ")".   I tried removing my .bashrc file and cp /etc/skel/bashrc ~/ to get a new one. That works until I add something into my new bashrc. Even when I do echo '#" &gt;&gt; ./.bashrc it breaks again. Removing my bash_aliases did not help either.  Also sudo apt-get install --reinstall bash-completion did not do the trick.  However there are some threads about similar problem, nothing works.  ANY hint will be greatly appreciated! :)
I recently received this rather amusing message while reviewing a user's first post:  Congratulations! This was only a test, designed to make sure you were paying attention. This post has already been removed, but thanks for taking time to leave feedback for the author.   What is the purpose of this test? How does the audit work? What happens if I fail? Why was the system expecting me to negatively review a good post, or positively review a bad post? A review is obviously an audit. Should I report it? Do review audits count toward the Reviewer badge? Do robo-reviewers dream of electric sheep? Will store bought chicken eggs hatch? Is there a rule for pronouncing “th” at the beginning of a word? Consider the th in thistle versus the th in this: the former is unvoiced, while the latter is voiced.  Is there a rule or reason for the differences? Given a collection of sets $\mathcal{C}$ and $E$ an element in the $\sigma$-algebra generated by $\mathcal{C}$, how do I show that $\exists$ a countable subcollection $\mathcal{C_0} \subset \mathcal{C}$ such that $E$ is an element of the $\sigma$-algebra, $\mathcal{A}$ generated by $\mathcal{C_0}$?    The hint says to let $H$ be the union of all $\sigma$-algebras generated by countable subsets of $\mathcal{C}$....although I don't know why. Construction of a Borel set with positive but not full measure in each interval Multiple vs single field capture for phone number form input Working on a form dealing with phone numbers, I've seen two methods to capture user input .   In past practices example 2 (image below) has proved effective in controlling phone number lengths on forms.   However with responsive in mind it would seem example 1 is considered a more popular pattern on forms. I've researched both patterns with the findings below.     Example 1  Pros   1 input = less taps on mobile device 1 input = less coding   Cons   could be difficult to control phone number format (1-555-555-5555, +22444455555, and etc)   Example 2  Pros   easier to control phone format reduced user error   Cons   3 inputs = more taps on mobile device more inputs = more coding   Both inputs have pros and cons and I'm not such which method would provide the best user experience for responsive environments. Can anyone share some insight or provide a better way to use phone number inputs? How can I cure lycanthropy? I really want to get rid of it. I've been through the whole companion’s quest line and cured Kodlak's. I killed all 5 witches and have 4 of the heads left in my inventory.  I've been back to that same flame and tried to use it with the head, but nothing going; activating it does nothing. I've heard this is how you cure it; however I have not heard a first-hand account of anyone actually curing it.  If you have, can you explain what you do? Do you go to the same tomb where you fought Kodlak's beast form? Do you do something special with the witch head in your inventory, or just have it in there and activate the harbinger flame or whatever? .NET Attributes: Why does GetCustomAttributes() make a new attribute instance every time? Proving $1^3+ 2^3 + \cdots + n^3 = \left(\frac{n(n+1)}{2}\right)^2$ using induction How can I prove that     $$1^3+ 2^3 + \cdots + n^3 = \left(\frac{n(n+1)}{2}\right)^2$$    for all $n \in \mathbb{N}$? I am looking for a proof using mathematical induction.  Thanks How to create a GUID / UUID I'm trying to create globally-unique identifiers in JavaScript.  I'm not sure what routines are available on all browsers, how &quot;random&quot; and seeded the built-in random number generator is, etc. The GUID / UUID should be at least 32 characters and should stay in the ASCII range to avoid trouble when passing them around. Blank lines in an equation and some other similar function Why blank lines between equation makes error? there are a lot of commands in latex and almost for all of them these blank lines are not important,  but why in this case is important and is there any similar function? How to insert HTML to PHP DOMNode? Why do networks need a common ground cable? How to turn off the iOS-style character picker menu How to install ubuntu on lenovo g580? I'd like to install Ubuntu 13.04 on Lenovo g580 and I have this issue. After a few seconds of booting liveUSB screens gets black and nothing happens. I've read somewhere about connecting second screen to solve similar issue. Of course this didn't solve it, but it provided something like terminal with     initramfs>   and few basic commands ..  Is it possible to install Ubuntu on Lenovo g580 hardware? I also checked  Ubuntu 12.04: failed  Mint 13: SUCCEED (x32 and x64)  Is it because of drivers? Of course I want Ubuntu instead of Mint. :) How do humans dominate the Federation in Star Trek? My wireless has suddenly became disabled by hardware switch, BIOS, rfkill, fn+f8 do nothing How does new shield system work? I was trying to run chmod -R 777 ./ but ended up typing chmod -R 777 / and set 777 on my entire machine. What can go wrong? How can I fix it? I posted a question which was closed as off-topic and it seems like it could fit on another site in the network. How can I go about moving it there?   What is migration? When can a question be migrated, and who can migrate it? When should I consider migration, and when is it inappropriate? What causes a migration to be blocked and what happens after? What causes a migration to be rejected and what happens after? Anything else I should know about migration?