Skip to content

Version 3.0

Compare
Choose a tag to compare
@tavianator tavianator released this 14 Jul 01:54
· 831 commits to main since this release
3.0

New features

  • bfs now reads directories asynchronously and in parallel (#101). Performance is significantly improved as a result. Parallelism is controlled by the new -j flag, e.g. -j1, -j2, etc.

Changes

  • bfs now uses the C17 standard version, up from C11

  • Due to #101, bfs now requires some additional C and POSIX features:

  • $LS_COLORS extensions written in different cases (e.g. *.jpg=35:*.JPG=01;35) are now matched case-sensitively, to match the new behaviour of GNU ls since coreutils version 9.2

  • Added a warning/error if $LS_COLORS can't be parsed, depending on whether -color is requested explicitly

  • Filenames with control characters are now escaped when printing with -color

  • Build flags like WITH_ONIGURUMA have been renamed to USE_ONIGURUMA

Bug fixes

  • Fixed handling of the "normal text" color (no in $LS_COLORS) to match GNU ls