git/list[1] front-page[2] threads[3] people[4] search[5] about
 

RE: [PATCH] Completion must sort before using uniq

From
Joachim Schmitz <jojo@schmitz-digital.de>
Date
Nov 23, 2012, 12:36 UTC
Message-ID
<003c01cdc977$1a8a60e0$4f9f22a0$@schmitz-digital.de>
In-Reply-To
<2630847.8aaR79v5Od@blacky>
Show 21 quoted lines
> From: Sascha Cunz [mailto:sascha-ml@babbelbox.org]
> Sent: Friday, November 23, 2012 1:26 PM
> To: Joachim Schmitz
> Cc: 'Marc Khouzam'; git@vger.kernel.org; szeder@ira.uka.de; felipe.contreras@gmail.com
> Subject: Re: [PATCH] Completion must sort before using uniq
> 
> > I can't see the difference and in fact don't understand uniq's -u option al
> > all Linux man pages say: "only print unique lines", but that is what uniq
> > does by default anyway?!?
> 
> From the german translation of uniq's man-page, you can deduct that "only
> print unique lines" actually means: "print lines that are _not repeated_ in
> the input".
> 
> A short test confirms that. i.e.:
> 
> 	printf "a\nb\nb\nc\n" | uniq -u
> 
> gives:
> 	a
> 	c
Ah, OK, then I rest my case. Sorry for the noise.
Previous: Sascha Cunz
Message 3 of 3 in “RE: [PATCH] Completion must sort before using uniq”
  1. Joachim SchmitzNov 23, 2012
  2. Sascha CunzNov 23, 2012
  3. Joachim SchmitzNov 23, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.