How to add new line in shell scripting I'm using rhel7 and trying to print my output from shadow for example to be like this : test1 !! test2 !! test3 *  I am running this command: i=`cat /home/mydir/shadow1 |awk -F ':' '{print $1,$2}' `  When I do echo $i, it will print the output in 1 line: test !! test2 !! test3 *  Can anyone advice how should I modify my '{print $1,$2}' so that it will print a new line?
Why does my shell script choke on whitespace or other special characters? Or, an introductory guide to robust filename handling and other string passing in shell scripts.  I wrote a shell script which works well most of the time. But it chokes on some inputs (e.g. on some file names).  I encountered a problem such as the following:   I have a file name containing a space hello world, and it was treated as two separate files hello and world. I have an input line with two consecutive spaces and they shrank to one in the input. Leading and trailing whitespace disappears from input lines. Sometimes, when the input contains one of the characters \[*?, they are replaced by some text which is is actually the name of files. There is an apostrophe ' (or a double quote ") in the input and things got weird after that point. There is a backslash in the input (or: I am using Cygwin and some of my file names have Windows-style \ separators).   What is going on and how do I fix it?
Where are minecraft languages stored and how can I add a new one? Custom date format with jQuery validation plugin How can I specify a custom date formate to be validated with the  for jQuery? What regression model is the most appropriate to use with count data? I am trying to get a little into statistics, but I am stuck with something.  My data are as follows:  Year   Number_of_genes 1990          1 1991          1 1993          3 1995          4   I now want to build a regression model to be able to predict the number of genes for any given year based on the data. I did it with linear regression until now, but I have done some reading and it does not seem to be the best choice for this kind of data. I have read that Poisson regression might be useful, but I am unsure what to use. So my question is:  Is there a general regression model for this kind of data? If no, what do I have to do to find out which method is the most  appropriate to use ( in terms of what I have to find out about the data)? Why is AES resistant to known-plaintext attacks? Question about "surely" and "certainly" Today I saw a sentence:  She surely can do it.  What does that mean? How does it differ from:  She certainly can do it. Surely she can do it.  This slight difference in meaning of those sentences I am not able to notice. Could you please help me? Thanks in advance! What is the white smoke-like fog called? It's not really fog, mist or haze. I used to think that it's mist, but from what I've read here, it turns out that it isn't.  It's the white smoke-like fog that is close to the ground. I've seen it recently above a couple of small ponds (and ground) in a damp forest. It was almost as white as smoke, you can barely see through it, but it is close to the ground, from 20cm to a meter or so.  Since it isn't fog (which is a cloud that you can see, say from a mountaintop, and if it's not mist (which is more like 'rain'), then what is it? I'm examining a part of my dataset containing 46840 double values ranging from 1 to 1690 grouped in two groups. In order to analyze the differences between these groups I started by examining the distribution of the values in order to pick the right test.  Following a guide on testing for normality, I did a qqplot, histogram &amp; boxplot.       This doesn't seem to be a normal distribution. Since the guide states somewhat correctly that a purely graphical examination isn't sufficient I also want to test the distribution for normality.   Considering the size of the dataset and the limitation of the shapiro-wilks test in R , how should the given distribution be tested for normality and considering the size of the dataset, is this even reliable? ()  Edit:  The limitation of the Shapiro-Wilk test I'm referring to is that the dataset to be tested is limited to 5000 points.  To cite  concerning this topic:     An additional issue with the Shapiro-Wilk's test is that when you feed   it more data, the chances of the null hypothesis being rejected   becomes larger. So what happens is that for large amounts of data even   very small deviations from normality can be detected, leading to   rejection of the null hypothesis event hough for practical purposes   the data is more than normal enough.      [...] Luckily shapiro.test protects the user from the above described   effect by limiting the data size to 5000.   As to why I am testing for normal distribution in the first place:  Some hypothesis tests assume normal distribution of the data. I want to know whether or not I can use these tests. How to change the chapter number to display as text (One, Two, ...)? ffmpeg working from command line in Terminal but not in an Automator shell script! If $p$ is a prime and $p \mid ab$, then $p \mid a$ or $p \mid b$. How can I install a package without installing some dependencies? I'm trying to install the package LaTeXila, and the output looks like this:  $ sudo apt-get install latexila --no-install-recommends Reading package lists... Done Building dependency tree        Reading state information... Done The following extra packages will be installed:   latexila-data latexmk luatex tex-common texlive-base texlive-binaries   texlive-common texlive-doc-base texlive-latex-base Suggested packages:   rubber texlive-latex-extra debhelper Recommended packages:   texlive texlive-latex-recommended texlive-luatex lmodern   texlive-latex-base-doc The following NEW packages will be installed:   latexila latexila-data latexmk luatex tex-common texlive-base   texlive-binaries texlive-common texlive-doc-base texlive-latex-base 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. Need to get 29.3 MB of archives. After this operation, 74.5 MB of additional disk space will be used. Do you want to continue [Y/n]?   I don't want to install the texlive packages. I've installed texlive manually from . Any suggestions? Is temperature in vacuum zero? From      The temperature of an ideal monatomic gas is a measure of the average kinetic energy of its atoms.    Now if I remove all the particles from the box shown below will the temperature be zero? Can a continuous function from the reals to the reals assume each value an even number of times? Can I award user with special bounty after accepting his anwer? I have a , and I haven't start a bounty for this question. After I got my answer I'd like to give a user a special bounty, because I consider his answer very helpful and it saved me a lot of time. I've already accepted the answer. Is there a way how can I give him some bounty?  Thank you How to delete contacts from the Windows 8 People app? I never really bothered to keep my Hotmail contact information up to date, so now that I connected it to Windows 8, suddenly I see all this outdated contact information or people I've long stopped talking to.    I don't see any buttons or options where I can click to delete someone.  So how do I clean up my Windows 8 People app and remove these contacts? How to programmatically create a WPF window in a WinForm application E: Problem executing scripts APT Update::Post-Invoke-Success error during apt-get update I cannot install any package. It seems the command apt-get update must be run but it throws some errors:  $ sudo apt-get update Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]      Hit:2 http://ve.archive.ubuntu.com/ubuntu xenial InRelease                      Hit:3 http://ve.archive.ubuntu.com/ubuntu xenial-updates InRelease              Hit:4 http://ve.archive.ubuntu.com/ubuntu xenial-backports InRelease            Fetched 102 kB in 23s (4337 B/s)                                                *** Error in `appstreamcli': double free or corruption (fasttop): 0x000000000210f4b0 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fac8d8317e5] [...] Aborted (core dumped) Reading package lists... Done E: Problem executing scripts APT::Update::Post-Invoke-Success   'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli;   then appstreamcli refresh &gt; /dev/null; fi' E: Sub-process returned an error code After mis-reading this question:  I found myself wondering if there are other non-weapon items such as tools that utilize lightsaber technology.  Example: the lightsaber bread knife Dupehammer creates and deletes a comment, causing notifications to go out How can I produce the codes to get the symbols of pencil, ruler and compass in LATEX? I'm gonna write a sentence I can draw this figure by using simple tools in my presentation. So I prefer to include symbols pencil, ruler and compass instead of the words simple tools. Is it possible?