Getting hidden characters after extracting I'm trying to extract value after Colon in a string  which will be integer value later to compare, but I see $ and \r after extracting, so I'm not able to compare integers  Ex:  count=$(echo "Bengaluru:10" | awk -F":" '{print $2}')   Result will be 10 only, but actually it's having additional hidden characters like $'10\r'  So I'm not able to compare this value with some other integer.  Please help me, how can i remove those values $ and \r
Invisible space when trying to remove file (but exclude all files in a list)? I'm trying to accomplish a simple task using the excellent post : I would like to remove all files from a folder except those listed in a .txt file contained in the folder. The syntax works fine, but for some reason all files are removed - basically the script is saying that there are no correspondences between the filenames in the folder and those in the .txt file - but I can see that there are!   I thought maybe there might be some invisible white space after my file names that I cannot see (in the folder or the .txt file). But I don't think so...Is there another solution that I am not thinking of?
I have a shape (rounded rectangle) in PowerPoint 2007 of which I would like to increase the vertical size only (to illustrate de-bottlenecking). So, the width will stay the same but the height will grow (both from the top and bottom, so the centre will remain in the same location).  Custom Animation -> Emphasis only appears to change the whole shape.  Is it possible to increase only the vertical size (stretch the shape)?  This is during animation of the shape. Can the milky way actually be photographed ? I know the image is manipulated, and is probably a composite, but how do you capture such contrast in the milky way? Is an equitorially mounted scope required? Any advice or pointers are welcome, thanks.  I'm heading out towards much less light polluted areas middle of next week and I want to try some nighttime sky captures with my 7D.  Additional info: I just found  on wikipedia that says: 54s, tripod mounted 5D, 16mm lens, f/2.8, ISO800. What else do I need to be aware of? My 7D is only an APS-C and the widest lens I have is 19mm. I'm thinking that might not be wide enough to capture an interesting shot? How do I read a text file with variable hexadecimal value columns in matlab? Why is this clause unsatisfiable? Is there a way to disable the hotkeys? I navigate with Ctrl-n,p,f,b (readline/ keys), so that I don't have to move my hands too much and get  again. Is there a way to disable Ctrl-b being hotkey for bold?  Note that this is not just an Emacs thing. Standard web browsers, like Firefox and Chrome, use things like  Ctrl + K and Ctrl + L to navigate to the Google search bar and address bar respectively. Its a .vbproj and looks like this  &lt;Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt;     &lt;PropertyGroup&gt;         &lt;ProjectGuid&gt;15a7ee82-9020-4fda-a7fb-85a61664692d&lt;/ProjectGuid&gt;   all i want to get is the ProjectGuid but it does not work when a namespace is there...   Dim xmlDoc As New XmlDocument()  Dim filePath As String = Path.Combine(mDirectory, name + "\" + name + ".vbproj")  xmlDoc.Load(filePath)  Dim value As Object = xmlDoc.SelectNodes("/Project/PropertyGroup/ProjectGuid")   what can i do to fix this? Usage of Some: Does "some" require a plural or singular verb? I am a new user of Ubuntu 12.04.   I installed Ubuntu and Windows XP, and I want to use both operating systems. When I restart or boot my PC the GRUB menu does not appear.  How can I solve this problem? What is a word that means "someone who pretends to be your friend but is actually your enemy?" What do you call someone who pretends to be your friend but is actually your enemy?  A friend suggested spy for me, but that does not nearly describe the word I need for an English project. The character is very good at manipulating how people see him. He's a good liar. And pretends to be your friend but actually is your enemy. In the Tiny Tina DLC "The Beard Makes the Man" quest, the objectives are (1) Crush five drunk dwarves, (2) Pick up five beards, and (3) Get five dwarves drunk. (The last one's optional.) I found the miner dwarves in the mine on the minimap, but they won't follow me into the crusher machine. How do I lure them? Does it have to do with getting them drunk, and how can I do that with no alcohol around? I thought getting drunk was optional? How to use IDM on Mozilla Firefox Quantum I want to use Internet Download Manager for downloading on Firefox. According to this  it can be done with the extension called Flashgot. But Flashgot does not work on new Firefox Quantum. However, I found  that can be used to interrupt browser's downloading jobs by redirecting these jobs to an external download manager like Internet Download Manager (IDM). But I don't know how to integrate IDM with this new extension. I wrote IDM's location (/.wine/drive_c/Program Files (x86)/Internet Download Manager/IDMan.exe) in the box that says "Path to the executable" but when I try to download something, an error is appearing.     The preference page of the extension        The error that is appearing while trying to download files     How can I make it work? Thanks beforehand! How can I get rid of ants in an environmently friendly way? Remove Personal Options section from Profile I want to hide/remove the Personal Options in the Your Profile (wp-admin/profile.php) admin page.  I am aware that solutions for this exist, but I they use jQuery to do hide this section. This works, but when a user has JavaScript disabled in their browser, it will show up again. Therefore it is not a proper way to remove Personal Options.  Is there a way to remove the Personal Options section from the HTML source of the page? This means no jQuery or CSS hacks, or core file modification. Countries with no visa requirements on its visitors My book (Concepts of Physics by H.C. Verma) writes:  It has been reported () that the force between two masses may be better represented by $$F = \frac{G_{\infty} m_{1} m_{2}}{r^2} \left[1 + \left(1 + \frac{r}{\lambda} \right) \alpha e^{-\frac{r}{\lambda}}\right]$$ where $\alpha \approx - 0.007$ and $\lambda \approx 200~\mathrm{m}$.  What is this? Such a horrendous formula! So, what about Newton's? And what's the difference between $G$ &amp; $G_{\infty}$? error in running bash script as root I have a simple shutdown script which i want to run as root  shutdown -h +30; echo "succesfull";   I have followed these answer, to make my script root.  first I run this command  sudo chown root.root $HOME/test/test.sh sudo chmod 4755 $HOME/test/test.sh   and then made changes in sudoers  sudo visudo   added this command after this line %sudo   ALL=(ALL:ALL) ALL  eka ALL=(ALL) NOPASSWD: $HOME/test/test.sh   But when i executed my script its showing this error  shutdown: Need to be root succesfull How do I start Chrome using a specified "user profile"? Get a "step-by-step" evaluation in Mathematica Some examples include:     We fear the damned.   He honored our fallen.   This is a given.   You are the chosen.   The lost were among us.   They obey the venerated.   My beloved kissed me. (TIL “beloved” is a verb thanks to RegDwight АΑA)   Is there a word to describe the past participle used as a noun? I’m hesitant to refer to it as a gerund, since it doesn’t end in -ing. Another possibility is adjectival noun, if you originally treat the word as a participle (e.g. “the damned man”) that has given up its modified noun.  Also, why does English tend to preface such nouns with the? How can I play encrypted DVD movies?