The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 122     Votes:  2 
Tag : diff  
Link: 🔍 See Original Answer on Ask Ubuntu 🔗

URL: https://askubuntu.com/q/1302074
Title: When does diff use | in a side by side diff?
ID: /2020/12/22/When-does-diff-use-_-in-a-side-by-side-diff_
Created: December 22, 2020    Edited:  March 22, 2022
Upload: November 24, 2022    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


This is the best description of “incomplete line” I could find:

When the last line of a file ends with a new line character it is a “complete line”. Otherwise it is an “incomplete line”.

For example, suppose F and G are one-byte files that contain just f and g, respectively. Then diff F G outputs:

1c1
< f
\ No newline at end of file
---
> g
\ No newline at end of file
⇧ How to stop "cable snake" symbol from appearing in taskbar? Audio jack not detected, sound playing from both speaker's and headphones  ⇩