logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

sortbyquote - sort C/C++ code by quoted regions

Author

       The National Center for Biotechnology Information.

NCBI                                               2006-01-11                                     SORTBYQUOTE(1)

Bugs

       Escape sequences are not supported.

Description

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.

Name

       sortbyquote - sort C/C++ code by quoted regions

Options

       A summary of options is included below.

       -      Print usage message

       -ifilename
              Input File Name (default = stdin)

       -ofilename
              Output File Name (default = stdout)

       -r     Reverse order

Synopsis

sortbyquote [-] [-ifilename] [-ofilename] [-r]

See Also