Talk:uniq
This article is rated Start-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||
|
Example usage doesn't work on GNU/Linux
[edit]Possibly just worth a mention that the example usage given:
- sort file | uniq -c | sort -n
doesn't work on Linux. uniq pads the count value on each line with some whitespace, and sort expects the first character on the line to be numeric, otherwise it doesn't perform a numeric sort. The command line given will not work as described because the first character on each line piped into sort is non-numeric. 86.132.65.107 (talk) 12:57, 21 December 2008 (UTC)
- Works for me. I do this all the time on Linux. Edward (talk) 23:27, 31 January 2011 (UTC)
Article gives advice on how to do something
[edit]The first section of the article says "Be careful, uniq expects its input to be already sorted; sometimes sort -u is what you need." It should probably be reworded to sound more encyclopaedic or removed altogether.
Also, I was under the impression that sort -u was equivalent to sort | uniq.75.17.157.194 (talk) 04:40, 11 May 2009 (UTC)
External links modified
[edit]Hello fellow Wikipedians,
I have just modified one external link on Uniq. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:
- Added archive http://web.archive.org/web/20051028205957/http://www.linuxmanpages.com:80/man1/uniq.1.php to http://www.linuxmanpages.com/man1/uniq.1.php
When you have finished reviewing my changes, please set the checked parameter below to true or failed to let others know (documentation at {{Sourcecheck}}
).
This message was posted before February 2018. After February 2018, "External links modified" talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these "External links modified" talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{source check}}
(last update: 5 June 2024).
- If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
- If you found an error with any archives or the URLs themselves, you can fix them with this tool.
Cheers.—InternetArchiveBot (Report bug) 19:59, 20 July 2016 (UTC)