as you know when we writing list=$(ls -l) all the files added to $list like this :  total 0 drwx------ 7 mine-pc staff 238 Dec 22 11:32 Applications drwxr-xr-x@ 6 mine-pc staff 204 Jan 11 11:00 Applications (Parallels) drwx------+ 21 mine-pc staff 714 Jan 9 22:33 Desktop drwx------+ 33 mine-pc staff 1122 Jan 7 23:43 Documents drwx------+ 83 mine-pc staff 2822 Jan 11 00:42 Downloads drwx------@ 71 mine-pc staff 2414 Dec 22 01:10 Library drwx------+ 21 mine-pc staff 714 Jan 10 23:48 Movies drwx------+ 4 mine-pc staff 136 Sep 27 17:48 Music drwxr-xr-x 5 mine-pc staff 170 Jan 4 16:25 Parallels drwx------+ 9 mine-pc staff 306 Dec 29 13:06 Pictures drwxr-xr-x+ 5 mine-pc staff 170 Sep 27 15:41 Public   how can I insert it to $list like this :  drwx------   7 mine-pc  staff   238 Dec 22 11:32 Applications drwxr-xr-x@  6 mine-pc  staff   204 Jan 11 11:00 Applications (Parallels) drwx------+ 21 mine-pc  staff   714 Jan  9 22:33 Desktop drwx------+ 33 mine-pc  staff  1122 Jan  7 23:43 Documents drwx------+ 83 mine-pc  staff  2822 Jan 11 00:42 Downloads drwx------@ 71 mine-pc  staff  2414 Dec 22 01:10 Library drwx------+ 21 mine-pc  staff   714 Jan 10 23:48 Movies drwx------+  4 mine-pc  staff   136 Sep 27 17:48 Music drwxr-xr-x   5 mine-pc  staff   170 Jan  4 16:25 Parallels drwx------+  9 mine-pc  staff   306 Dec 29 13:06 Pictures drwxr-xr-x+  5 mine-pc  staff   170 Sep 27 15:41 Public
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?
UK Visa in an expired Nigerian passport - what to use? I have a new HP Z800 Workstation, running Windows 7 Enterprise 64 bit. Z800 Specs are .  The machine has 4GB of RAM -- windows reported 1.99GB available, 2GB was "hardware reserved".  I added another 2 GB and windows reports that there is 6GB of physical RAM, but now 4GB is "hardware reserved".  The BIOS sees the full RAM amount as well.  The video card is an nVidia Quadro FX 580, so it shouldn't be using any shared memory at all.    Why is all my extra RAM marked as "hardware reserved" in Windows 7? Proving $\sqrt{2}+\sqrt[3]{3}$ is algebraic. PHP Change Array Keys Is there a way to change all the numeric keys to &quot;Name&quot; without looping through the array (so a php function)? [     0 =&gt; 'blabla',     1 =&gt; 'blabla',     2 =&gt; 'blblll',     // etc ... ] Is FFmpeg missing from the official repositories in 14.04? How do I give players already enchanted Tools/Armour/Weapons Some questions about Hilbert matrix This Exercise $12$ page $27$ from Hoffman and Kunze's book Linear Algebra.     The result o Example $16$ suggests that perhaps the matrix      $$A = \begin{bmatrix} 1 &amp; \frac{1}{2} &amp; \ldots &amp; \frac{1}{n}\\  \frac{1}{2} &amp; \frac{1}{3} &amp; \ldots &amp; \frac{1}{n+1}\\ \vdots &amp; \vdots &amp;  &amp; \vdots \\ \frac{1}{n} &amp;\frac{1}{n+1} &amp;\ldots &amp;\frac{1}{2n-1} \end{bmatrix}$$      is invertible and $A^{-1}$ has integer entries. Can you prove that?   I will copy their words before that example:      Some people find it less awkward to carry along two sequences of   matrices, one describing the reduction of $A$ to the identity and the   other recording the effect of the same sequence of operations starting   from the identity.   In this , Adrián Barquero says:      If your linear algebra textbook is Kenneth Hoffmann and Ray Kunze's   Linear Algebra book then I was in the same situation you're right now   a few years ago, but I was adviced at the moment that this particular   exercise wasn't as easy as one might expect at first.      The matrix you have is called the Hilbert matrix and the question you   have was already asked a couple of times in math overflow  and   . They have excellent answers so I will just point you to them.   My question: Is it possible answer the question made by the authors without using high techniques?  I am not allowed to use determinants here.  PS: Those answers in MO don't answer the question above. I apologise if this question is unappropriated or if I was unable to understand their answers. Show that $S$ is compact. Let $A \in M_n(\bf C)$ and let   $S=\{ A \in M_n(\bf C) : A=A ^*$ and  $\rho (A) \leq 1 \}$, $\rho(A)$ denotes spectral radius of $A$.     Show that $S$ is compact subset of $M_n(\bf C) \cong \bf C^{n^2} $ with usual topology.    $S$ is subset of $\bf O_n(C)$ which is compact so I think its enough to show that $S$ is closed.Please help. AllureRestAssured , how to ignore logging headers I am using rest-assured and allureRestAssured for testing api given().header(&quot;Content-Type&quot;, &quot;application/json&quot;)                 .header(&quot;key&quot;, key()).filter(new AllureRestAssured())                 .body(body.toString())                 .post(baseURI);  Problem here is its logged headers also , which contains auth key , which I dont want to be exposed in report generated , how can I ignore that . Are there rules about using "that" to join two clauses? Change how questions marked as duplicates by the asker are represented Situation: when a user self-marks their post as a duplicate, it shows as closed by "community" rather than the original poster.  Problems: this is not clear at all to most users of SE what has happened. It looks like the question was "mod closed" as a duplicate against the asker's wishes.    Suggestion: instead of the community user "closing" the post, have the final close user be the asker (or make it "Community &amp; Asker"). This will help clear up confusion and streamline the process for understanding what happens. My new laptop came preinstalled with Windows 8. Naively, as I am, I just formatted the harddrive and installed fine old Ubuntu. Now I want to install Windows 8 for dual boot again, but I have no DVD and to download the ISO one needs a product key. That key is not on the back of the laptop anymore but somewhere on the mainboard.  Is there any way to recover the product key from the mainboard using Ubuntu? If I close (is delete an option ?) my Gmail account, will somebody be able to register using my email address and read my mails?  I want to close my Gmail account but I don't want anybody to impersonate me with my old address.  Same question with Yahoo! Mail. Do they allow addresses to be re-used? Where is the Layers panel in Blender 2.8? Headless linux install How do you do a headless install of linux? No monitor, no keyboard. Machine has floopy and cd drive. Can I configure a live cd to run sshd with a preconfigured pass or something similar and manage it via that?  Instructions for fedora 8+ would be ace but anything else also welcomed.  Cheers. Does Gentle Repose work on a Circle of Spore Druid's Fungal Infestation Ability? The Circle of Spores Druid feature Fungal Infestation states:  If a beast or humanoid that is Small or Medium dies within 10 feet of you, you can use your reaction to animate it, causing it to stand up immediately with 1 hit point. The creature uses the zombie statistics. It remains animate for 1 hour, after which time it collapses and dies.  Circle of Spore druids also gain access to the  spell, which states:  You touch a corpse or other remains. For the duration, the target is protected from decay and can’t become undead. The spell also effectively extends the time limit on raising the target from the dead, since days spent under the influence of this spell don’t count against the time limit of spells such as raise dead.  There seem to be some good arguments that they cannot work together:  First, Gentle Repose states the target cannot become undead, which would seem to preclude Gentle Repose working on a fungally infested creature that appears to be in some sense raised from the dead. Second, gentle repose states you touch a corpse or other remains - one could argue that using the zombie statistics, the fungally infested entity is neither a corpse or remains, but an undead zombie.  However, there are also some reasonable arguments that they could work together:  First, the Fungal Infestation does not say that the creature is undead or a zombie, but that it uses the statistics of a zombie, which might leave room for a RAW interpretation that the features could work together (for example, it could be considered a fungally infested corpse or fungally raised remains). Second, Gentle Repose says that it extends the time limit of raising the target from the dead and makes reference to spells like Raise Dead, which in flavour are similar to what happens with Fungal Infestation.  RAW, can a player cast gentle repose on a zombie created by Fungal Infestation? How can I evaluate $\int_{-\infty}^{\infty} e^{-x^2} dx$ without using polar coordinates I've been doing ASP.NET development for a little while now, and I've used both the GridView and the DataGrid controls before for various things, but I never could find a really good reason to use one or the other. I'd like to know:  What is the difference between these 2 ASP.NET controls? What are the advantages or disadvantages of both? Is one any faster? Newer? Easier to maintain?  The intellisense summary for the controls doesn't seem to describe any difference between the two. They both can view, edit, and sort data and automatically generate columns at runtime.  Edit: Visual Studio 2008 no longer lists DataGrid as an available control in the toolbox. It is still available (for legacy support I assume) if you type it in by hand though. Which style is preferred? Is there a good reason for one vs. the other?  Thanks in advance!  1) cmds.each do |cmd|    end  2) cmds.each { |cmd|    }   Example code:  cmds = [ "create", "update", "list", "help" ]  # Block style one # cmds.each do |cmd|   puts "loop1, cmd: #{cmd}" end  # Block style two # cmds.each { |cmd|   puts "loop2, cmd: #{cmd}" } Factoring $x^n + y^n$ over the integers