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).