Sortdir

Sortdir is an LD_PRELOAD library which sorts directory entries before supplying them to your applications.
Download

Sortdir Ranking & Summary

Advertisement

  • Rating:
  • License:
  • LGPL
  • Price:
  • FREE
  • Publisher Name:
  • Egmont Koblinger
  • Publisher web site:
  • ftp://ftp.uhulinux.hu/pub/sources/sortdir/

Sortdir Tags


Sortdir Description

Sortdir is an LD_PRELOAD library which sorts directory entries before supplying them to your applications. Sortdir is an LD_PRELOAD library which sorts directory entries before supplying them to your applications. Sorting order is controlled by the current locale settings, however, other directory sorting locales can also be specified. (glibc >= 2.3 is required.)The project can be especially useful as a wrapper for "tar" or "find". It's been used for creating packages for the UHU-Linux distribution; all of its deb packages contain their entries in alphabetical order so that better user feedback is provided when hitting F3 in mc on a package or querying its contents with "dpkg -L".Usage: sortdir command When using the sortdir library, applications will receive directory entries in alphabetical order.Ordering depends on the current locale used by your application. You can override this by setting the SORTDIR_LOCALE environment variable. Examples: export SORTDIR_LOCALE=hu_HUor export SORTDIR_LOCALE=CVersion comparing (see strverscmp(3)) is performed if SORTDIR_VERSCMP is set to any value. In this case SORTDIR_LOCALE is ignored.Reverse ordering is provided if SORTDIR_REVERSE is set to any value.What's New in This Release:· fdopendir was overridden to make it work with newer versions of tar.


Sortdir Related Software