About: Sort lines   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

Yes, it's that simple. You could create a range in advance, such as 'a,. (from mark 'a' to the current line) or you could create one on-the-fly using visual selection by pressing ':' in visual mode, after selecting the text you wish to sort, to get a range of '<,'> on the command line. If you like using an external sort utility instead, you can do it just as easily. For example, Unix sort, removing duplicate lines: :{range}!sort -u

AttributesValues
rdfs:label
  • Sort lines
rdfs:comment
  • Yes, it's that simple. You could create a range in advance, such as 'a,. (from mark 'a' to the current line) or you could create one on-the-fly using visual selection by pressing ':' in visual mode, after selecting the text you wish to sort, to get a range of '<,'> on the command line. If you like using an external sort utility instead, you can do it just as easily. For example, Unix sort, removing duplicate lines: :{range}!sort -u
Version
  • 7(xsd:integer)
dbkwik:vim/property/wikiPageUsesTemplate
Previous
  • 1164(xsd:integer)
Author
  • Robert Stovall
Complexity
  • basic
Created
  • 2006(xsd:integer)
ID
  • 1166(xsd:integer)
NEXT
  • 1167(xsd:integer)
Rating
  • 29(xsd:integer)
abstract
  • Yes, it's that simple. You could create a range in advance, such as 'a,. (from mark 'a' to the current line) or you could create one on-the-fly using visual selection by pressing ':' in visual mode, after selecting the text you wish to sort, to get a range of '<,'> on the command line. If you like using an external sort utility instead, you can do it just as easily. For example, Unix sort, removing duplicate lines: :{range}!sort -u Many other systems also have an external sort utility, but the options and capabilities will differ. It is probably better to use the built-in Vim sort unless you are looking for a specific feature of the external sort (or using an old Vim without the :sort command).
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software