The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version v3.3.0

  • FEATURES
    • The error message ack displays when the regex passed is invalid has been improved. The message is more readable and includes a pointer to the offending part of the regex. For example:
      • $ ack 'status: (open|closed|in progress' ack: Invalid regex 'status: (open|closed|in progress' Regex: status: (open|closed|in progress ^---HERE Unmatched ( in regex
    • Added many new file and directory exclusions to speed up file selection.
    • Python's *.pyc, *.pyd and *.pyo compiled files
    • Python's __pycache__ and .pytest_cache directories
    • Linux *.so shared object *.so files
    • Windows dynamic-link library *.dll files
    • gettext compiled *.mo translation files
    • macOS's __MACOSX directories and .DS_Store files
    • Reorganized the --help menu to put "action" options like -f, -g and -l at the top of the listing.
    • The --show-types option only has an effect with -f or -g. ack will now tell you if you use --show-types without -f or -g when it will have no effect.
    • Improved the error message when ack gets passed two options that can't be used together.
  • FIXES
    • Fixed the behavior of --break and --heading. Using --break would implicitly set --noheading, and --heading would implicitly set --nobreak.
    • The following pairs of options don't make sense to use together, and ack will now warn you if you try:
    • -x and --files-from
    • -v and -o
    • -v and --output
    • -v and --passthru
    • Fixed the minimum version of the Getopt::Long module required. (GH #287)
    • The line number and filename separators in --passthru mode now work the same as in context (-A/-B/-C) mode. (GH #291)

Documentation

ack
grep-like text finder

Provides

in lib/App/Ack/ConfigLoader.pm