carta
sortbyquote(1)

sortbyquote1

Sort c/c++ code by quoted regions

Usage

sortbyquote [-] [-i filename] [-o filename] [-r]

Overview

sortbyquote is a simple utility to sort a C or C++ code snippet so that the lines (typically elements of a static array for use in binary search) end up in case-insensitive order of the string literals they contain.

Options

A summary of options is included below.

-

Print usage message

-i filename

Input File Name (default = stdin)

-o filename

Output File Name (default = stdout)

-r

Reverse order

History

  • Debian 13 (Trixie) to Debian 4.0 (Etch): the text shown here
  • Debian 3.1 (Sarge)

-r since Debian 4.0 (Etch).

Bugs

Escape sequences are not supported.

Author

The National Center for Biotechnology Information.

From ncbi-tools-bin 6.1.20170106+dfsg2-6 in Debian 13 (Trixie). Parsed by carta from the page's man source.