Here is an example of Unix Shell program diff, from Version Control with Git, by Loeliger, 2ed:       Let’s look at the diff in detail.       In the header, the original file is denoted by - - - and the new file   by +++.       The @@ line provides line number context for both file versions.   What do the numbers in the "@@" line mean exactly?
I have file1.txt    this is the original text   line2   line3   line4   happy hacking !     and file2.txt    this is the original text   line2   line4   happy hacking !   GNU is not UNIX     if I do: diff file1.txt file2.txt I get:    3d2   &lt; line3   5a5   &gt; GNU is not UNIX     How is the output generally interpreted? I think that &lt; means removed but what do 3d2 or 5a5 mean?  If I do:    $ diff -u file1.txt file2.txt   --- file1.txt        2013-07-06 17:44:59.180000000 +0200   +++ file2.txt        2013-07-06 17:39:53.433000000 +0200   @@ -1,5 +1,5 @@    this is the original text    line2   -line3    line4    happy hacking !   +GNU is not UNIX     The results are clearer but what does @@ -1,5 +1,5 @@ mean?
Forcing linebreaks in \url A fleet of nine taxis is dispatched to three airports, in such a way that three go to airport A, five go to airport B and one goes to airport C.  If exactly three taxis are in need of repair. What is the probability that every airport receives one of the taxis requiring repairs.  My method was total number of ways is (9!)/(3!*5!*1!)= 504 (this is correct)  Now you have three groups and of every group one position is already filled. So: ....R, ..R, R So the numbers of ways to distribute the rest is: (6!)/(2!*4!)=15  But according to answer model of my professor, it should be 90. So I assume he says the number of ways of distrubiting these 3 broken cabs over the 3 spots is 3*2*1. But to me this seems wrong? The broken taxis don't differ so R(1)R(2)R(3) is same as R(2)R(1)R(3). If you standing at the airport A, it doesn't matter which of the broken cabs stands there? What is the difference between the memory usage report in System Monitor and the one by free? Code block is not properly formatted when placed immediately after a list item Consider the following piece of Markdown code:  This is some regular text.      &gt;&gt;&gt; def factorial(n):     ...     return 1 if n &lt; 2 else n * factorial(n - 1)     ...   * This is a list item.      &gt;&gt;&gt; def factorial(n):     ...     return 1 if n &lt; 2 else n * factorial(n - 1)     ...    Notice that the second code block is preceded by a list item.   Why is the factorial code not properly formatted under these circumstances? To demonstrate the problem, I'll insert the Markdown code show above:    This is some regular text.  &gt;&gt;&gt; def factorial(n): ...     return 1 if n &lt; 2 else n * factorial(n - 1) ...     This is a list item                 def factorial(n):       ...     return 1 if n &lt; 2 else n * factorial(n - 1)       ...               This applies to numbered as well as unnumbered lists. Is space expanding equally in every direction? Does space expand equally in every direction, so that it draws a perfect sphere or is expansion asymmetric, so it creates "bubbles" (when seen from the outside)? ActiveResource timeout not functioning Minimize the sum of distances between two point and a circle Android: textview hyperlink As the title suggests, I’m simply looking for a method to compute the number of Eulerian Paths in the complete graph $K_5$, where all paths start from the same node. Since there are 5 nodes, all Eulerian paths must be Eulerian circuits as well.  Thanks. Where can I find out when the next kernel version will be released for my distro version? I checked the , , and  wiki pages but still cannot seem to find a complete answer to this.  When using an LTS release like 18.04, is there somewhere public that can be checked to determine what kernel versions are being tested and when they are anticipated to be released for it? I would like to use 4.19, for example, but would like to know how to check this for any anticipated kernel release.  I know I could potentially just install the 4.19 kernel myself but I would rather know when it (and future kernel releases) were in the release pipeline. Is there somewhere on Launchpad that I could check? Somewhere else? Where are the Ubuntu kernel package maintainers doing their work? Why does lightning emit light? What exactly is causing the electric discharge coming from the clouds to emit light while traveling through the air. I've read and thought about it a little but with my current knowledge I cant really figure what is happening at a subatomic level. In other words, what causes the emission of photons during lightning. What I want to know is, is there some sort of collisions taking place that produces the photons we see, or is it some other interaction that is causing it?. I don't know too much about particle physics, I've only read a couple of pages in the Introduction to Elementary Particles by Griffihts. So if you could keep the answer simple then that would be great. java.lang.RuntimeException Cannot find FacesContext I have downloaded an ISO file recently.  How do I burn it to a CD or DVD or mount it? I've recently updated from Debian 'jessie' to Debian 'stretch', and have started having a problem with numbers being formatted backwards when using the bidi package in conjunction with the mathspec package.  Here's a MWE:  \documentclass{article} \usepackage{mathspec} \usepackage{bidi} \begin{document} Per 2.7.1 of the RFC. \end{document}   On Debian 'jessie', when built with xelatex, this produces "Per 2.7.1 of the RFC."  But on 'stretch' this gives "Per 1.7.2 of the RFC."    Any suggestions of how to fix this? On every use profile page the search bar on the top of the page already contains user:&lt;id&gt; text to simplify search for post of the currently visible user. But this doesn’t work correctly for the  user:        Instead of searching for posts owned by Community user I’ve got Jeff Atwood posts:        In this case minus sign was just ignored and instead of (-1, i.e. Community user), the (+1, i.e. Jeff Atwood) is used. Same happened for any other negative id for the “user:” option in the search box. User suggested great corrective edit to my answer, but the edit was rejected. What can I do to approve it? A nice user suggested  to . The edit, though very good and desirable, was rejected. I do not understand the reasons, and I did not find a way to contact those people who rejected it. What can I do to re-approve the edit? Non-finite clause complementation of complex transitive verbs This question has been bothering me for a while. It came up when I was reading Chapter 16 of "A Comprehensive Grammar of the English Language."   How to explain the grammatical structure of the following four sentences?    "We knew him to be a spy." "I saw her leave the room." "I heard someone shouting." "I got the watch repaired."    What category do the four non-finite clauses in boldface fall into? They do not seem to fall into any of relative, nominal, comparative and adverbial clauses. Transparent text cut out of background I was having a time getting my bootable USB 3, 32GB W10 install USB to be recognized. It recognized one time but I had to restart for something and it never came up again. I eventually removed all other boot up options to make it easier and faster to try again (no F12 needed).  Finally I gave up and tried another drive (16GB this time FWIW) and then it worked.  HOWEVER, it's stuck on a reboot loop now. I can choose to install, then to select the right disk, then it says it's loading file and then next thing I know it's saying do you want to install or upgrade. When the external resistor increases in temperature, why is the calculated value for internal resistance higher? Say we had a circuit with a cell (with internal resistance)and an external resistor of $10 \Omega$ as shown:  The $10\Omega$ resistor then increases in temperature, leading to an increase in resistance in this resistor. My thinking was that since $10 \Omega$ resistor now has a value higher than $10\Omega$, more voltage drops across this resistor. Since your emf is constant, less voltage must drop across the internal resistor. Less voltage drop means less resistance. Where is the flaw in my logic?