how do I sort lists like the one below using sort or any related commands?  12.ale.panal.sel.blr.teta.hf.ew.rr.lwq.ors.2018 34.ev.we.ars.lmn.2017 5.lam.bere.meto.belagn.hede.we.e.2020 54.arad.met.kal.sil.tek.br.yz.2005   I want to sort them according to the last word which is the year chronologically?  N.B basically something like sort -t. -k-1 although -1 is not allowed. Any command just to address the last part?
I have this input:  sdkxyosl 1 safkls 2 asdf--asdfasxy_asd 5 dkd8k  jasd 29 sdi44sw 43 asasd afsdfs 10 rklyasd 4   I need this output:  sdi44sw 43 dkd8k  jasd 29 asasd afsdfs 10 asdf--asdfasxy_asd 5 rklyasd 4 safkls 2 sdkxyosl 1   So i need to sort the lines by the last column.  I don't know how many columns are in one line.  I just can't figure it out, how to do it. I don't have "perl powers". I just have ~average scripting powers with sed, awk, cut, etc..   Does somebody know how to do it?
I need to cast single figures (1 to 9) to (01 to 09). I can think of a way but its big and ugly and cumbersome. I'm sure there must be some concise way. Any Suggestions Reason for the current trend to use «she» as the gender-neutral pronoun? There are some questions on gender-neutral pronouns both  and on .  User Christine Letts :     In academia, there is currently a   movement toward using the feminine   pronoun at all times.   I wonder why that is. I came across several examples on papers I read, but the only one I can remember at the moment is a book: Seth Godin's . While some might not be comfortable labeling it as part of academia, it suits my point perfectly. Every time he refers to a person, he uses the feminine pronoun.  User Senseful  the following, potentially identifying affirmative action as the precursor for this trend.     I remember reading somewhere that it   was recommended to use the opposite of   what most people stereotype the   profession as. So, for example, when   talking about a chiropractor, you   would use "her", and when talking   about a secretary, you would use   "his".   So, where do you think this trend comes from? How can I get back a system file after deleting it from my Mac? I've deleted a system file from my Mac and need to get it back.  System files can include:   hidden files in the root of / - especially unix files in /private  /System files /Library files /Applications files that ship with the core OS   System files are not any app, user files or files that can be regenerated by a known sequence such as cache files, Spotlight index files, etc…    Canonical question and answer for . Html Textarea elements only wrap when they reach a space or tab character. This is fine, until the user types a looooooooooooooooooooooong enough word. I'm looking for a way to strictly enforce line breaks (eg.: even if it results in "loooooooooooo \n ooooooooooong").    The best I've found is to add a zero-width unicode space after every letter, but this breaks copy and paste operations. Anyone know of a better way?  Note: I'm referring to the "textarea" element here (i.e.: the one that behaves similarly to a text input) - not just a plain old block of text. Classical limit of quantum mechanics I have heard that one can recover classical mechanics from quantum mechanics in the limit the $\hbar$ goes to zero.  How can this be done?  (Ideally, I would love to see something like: as $\hbar$ goes to zero, the position wavefunction reduces to a delta function and that the Schrodinger equation/Feynman path integral reduces to the Newtonian/Lagrangian/Hamiltonian equations of motion.) Access nested dictionary items via a list of keys? Is there a VB.NET equivalent for C#'s '??' operator? Is there a VB.NET equivalent for C#'s ?? operator? (complex measures) $d\nu=d\lambda +f\,dm \Rightarrow d|\nu|=d|\lambda| +|f|\,dm$ and $f\in L^1(\nu)\Rightarrow f\in L^1(|\nu|)$ Two simple exercises on complex measures I don't know how to solve, from Folland's Real Analysis. I find it difficult to manipulate the definitions in computations. For context, if $\nu$ is a complex measure on $(X,\mathcal{M})$ then $|\nu|$ is defined as $d|\nu|=|g|\,d\mu$ where positive measure $\mu$ and $g\in L^1(\mu)$ are such that $\nu \ll \mu$ and $\nu = g\,d\mu$ (and in the textbook it's shown that this definition does not depend on the choice of $\mu$).     1) Let $\nu$ be a reguar complex Borel measure on $\mathbb{R}^n$, $m$ denote   Lebesgue measure, and   let $d\nu = d\lambda + f\,dm$ be its Lebesgue-Radon-Nikodym   representation. Then ("it is easily verified")   $d|\nu|=d|\lambda|+|f|\,dm$.      2) If $f\in L^1(\nu)$ then $f\in L^1(|\nu|)$. I was able to prove the   reverse implication, but not this one.   The definition of $|\nu|$ in the case of real signed measures (as $|\nu|=\nu^+ + \nu^-$) makes sense to me but I can't see intuitively into the definion of $|\nu|$ for complex measures as given in the textbook. Do you have any advice on this?  Thank you! A non-trivial normal subgroup N of a finite group G or order $p^n$ is such that $N\cap Z(G)\neq \{ 1\}$ Let $N\neq 1$ be a normal subgroup of G, where G has order $p^n$, $p$ prime, $n\geq 1$.  I need to show that $Z(G)\cap N\neq \{1\}$.  I have tried to do it this way: Suppose $|N|=p^m$, $m&lt;n$. Since $N\cap Z(G)$ is normal in $Z(G)$, in both cases ($N\cap Z(G)=\{1\}$ and $N\cap Z(G)\neq\{ 1\}$), I used the Second Group Isomorphisms Theorem to get:  $G/N\cong Z(G)/N\cap Z(G)$  so $|G/N| = |Z(G)/N\cap Z(G)|$  Since N is normal in G, $|G/N|=p^{n-m}$, with $n-m&gt;0$. So $|Z(G)/N|\cap Z(G)|=p^{n-m}\Rightarrow [Z(G):N\cap Z(G) ]=p^{n-m}$  and this means that $N\cap Z(G)\neq \{1\}$. What does it mean for two objects to "touch"? Emission of EM radiation from an electron I have read about an electron making a transition between two energy levels and electromagnatic radiation will be emitted. The problem is how and why e.m radiation is emitted. Could someone make the proof into a hinted exercise? Let $(c_n)$ be a sequence of positive numbers.  Could someone make the proof of the inequality  $\displaystyle\limsup_{n\to\infty}\sqrt[n]{c_n}\leq\limsup_{n\to\infty}\frac{c_{n+1}}{c_n}$  into a hinted exercise? I have a scrbook document with an openright option, i.e. every once in a while a blank left page appears in the document. Not that I really want to do this, but how could I include the infamous "This page has been intentionally left blank" in those blank pages cleanly, i.e. without too many hacks?  Bonus points for including a different famous quote on each blank page instead of the dull default ;) Finding $\frac {d(\tan \theta)}{d\theta}$ How can a Photon have a "frequency"? I picture light ray as a composition of photons with an energy equal to the frequency of the light ray according to $E=hf$. Is this the good way to picture this? Although I can solve elementary problems with the formulas, I've never really been comfortable with the idea of an object having or being related to a "frequency". Do I need to learn quantum field theory to really understand this? NULL values inside NOT IN clause This issue came up when I got different records counts for what I thought were identical queries one using a not in where constraint and the other a left join. The table in the not in constraint had one null value (bad data) which caused that query to return a count of 0 records. I sort of understand why but I could use some help fully grasping the concept.  To state it simply, why does query A return a result but B doesn't?  A: select 'true' where 3 in (1, 2, 3, null) B: select 'true' where 3 not in (1, 2, null)   This was on SQL Server 2005. I also found that calling set ansi_nulls off causes B to return a result. How to have colors in Milky-way? Many photos of Milky-way show it in nice colors instead of just the black of sky and white of the stars. Is the key to having those colors in the capturing of the image or in the post processing, or both? Or am I just doing it in a wrong time of year when the visible part of Milky-way is simply not showing color?  Here is a sample photo of how Milky-way looks like in Finland in September:    APS-C sensor camera, 18 mm, 30 sec, f/3.5, ISO 3200 - captured in pitch-black darkness of Finnish countryside, far far away from any citylights, at time when moon was still below visible horizon.  What I'd like to achieve is something like the photo in Vivek's answer to   I've just bought a wireless shutter release for longer bulb exposures, and have plans to build a barn-door tracking mount. But is longer exposure the needed trick, or what is? I'm looking into running a machine-learning project on EL&amp;U to detect low-quality posts. To do that, I need a large dataset - and to get that, I need to get the text from a large number of deleted questions.   I can't use the API; deleted posts aren't included in it. I can't use SEDE: the PostsWithDeleted table lists NULL for the Body field of deleted posts. I can't script it: not only do I have insufficient reputation on EL&amp;U, but I also managed to get myself rate-limit-blocked while testing a script on Hardware Recs.   So, how else can I get this data? How can I recover from deleting the /usr/share/themes directory? I had an application for returning closest matches to certain values in a large  cluster of values( as in my earlier )   and I chose a VBA solution. While in the course of using the said application, I observed that the results for the value of 0.5 were not correct. I had been using the VBA Round function which I found to be returning 0 for 0.5 rounded to integer whereas the worksheet round function returns 1. Strangely, the VBA round function returns 2 for 1.5. I had to substitute the worksheet function in place of the VBA one.  Am I missing something?