ccrisan / semver-sort

Semantic version library written in ANSI C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

A command-line tool written in C to sort semver versions.

Originally cloned from https://github.com/h2non/semver.c, with the addition of semver-sort.c.

Usage:

<versions> | semver-sort [options]

Available options:

-h         show this help
-k <num>   extract and use field <num> instead of all line (starts at 1)
-r         sort descending
-t <char>  use <char> as field separator (defaults to space)
-q         do not print any messages
-v         print only versions, not entire lines

Binaries

Grab your binaries from release assets.

About

Semantic version library written in ANSI C

License:MIT License


Languages

Language:C 98.1%Language:Makefile 1.9%