DOKK / manpages / debian 12 / libcode-tidyall-plugin-sortlines-naturally-perl / Code::TidyAll::Plugin::SortLines::Naturally.3pm.en
Code::TidyAll::Plugin::SortLines::Naturally(3pm) User Contributed Perl Documentation Code::TidyAll::Plugin::SortLines::Naturally(3pm)

Code::TidyAll::Plugin::SortLines::Naturally - Sort lines of a file using Unicode::Collate::Locale

version 0.000003

   # In configuration:
   [SortLines::Naturally]
   select = .ispell* **/.gitignore

Sorts the lines of a file; whitespace lines are discarded. Useful for files containing one entry per line, such as ".svnignore", ".gitignore", and ".ispell*".

The locale to use for collation. Defaults to "en_US".

This code was essentially pilfered from Code::TidyAll::Plugin::SortLines

Olaf Alders <olaf@wundercounter.com>

This software is copyright (c) 2014 by Olaf Alders.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2022-11-30 perl v5.36.0