Skip to content

v0.3.7

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 21 Apr 16:45
· 6 commits to main since this release
  • Support many text encodings. Previously only UTF-8 was supported. (#21)
    • Add --encoding (-E) command line option to specify file encoding of matched files. For example, the following command searches files encoded in Shift JIS.
      hgrep --encoding sjis pattern path/to/dir
    • Detect file encodings from BOM. hgrep can automatically detect UTF-16LE, UTF-16BE, and UTF-8 if BOM exists in the file.
  • Fix some syntax detection fails when BOM is inserted at the head of file. (#20)
  • Improve performance by removing redundant read system calls on detecting syntax.
  • Improve error messages when failing to read files.