Fixed memory leak and access violation
Changed terminal escape character to \033 instead of the GCC specific \e
Include limits.h in options.c to make PATH_MAX available
Cast const char* to char* to avoid compiler warning
Fixed range check in fgetln when realloc()ing

- Segfaults were happening on Solaris when realloc()ing the buffer,
  presumably after writing an extra byte past the allocated memory and
  corrupting the heap
Merge pull request #358 from elliot-forty-two/pull-portability

Portability
Add information about --silent flag in usage and man
README.md: fix FreeBSD pkgng command

`pkg add` installs local (or ftp/http) files, for installing from the repository you must use `pkg install`
Added more filetypes to search in
Merge pull request #381 from ainformatico/master

Added more filetypes to search in
add failing test case for #383
Add option --list-file-types

This patch documents the file types which were made searchable in #283
Add bash completion for --list-file-types
replace dummy variable name with sth meaningful

This also avoids a warning from the compiler about i already being
declared.
Revert "Cast const char* to char* to avoid compiler warning"

This reverts commit 23fc6d9d1061f201e000859306743608d21aeab5.
I get a compiler warning because of this change. Here is what I get:

> cast discards ‘__attribute__((const))’ qualifier from pointer target
type [-Wcast-qual]
unit test the list_file_types option
Move AM_INIT_AUTOMAKE above AC_PROG_CC. Fixes missing 'missing' script on Cygwin
Update readme. Image size was incorrect.
Clang-format.
Use size_t instead of int in search_buf and is_binary.