diff options
| author | Matthias Margush <matthias.margush@gmail.com> | 2020-02-21 21:25:57 -0800 |
|---|---|---|
| committer | Matthias Margush <matthias.margush@gmail.com> | 2020-02-21 21:25:57 -0800 |
| commit | 99c09daec3908537492f9998aeb39bd07c59912c (patch) | |
| tree | d9257288bb6bf681d180daf7b7ff125b363d049d /rc/tools/python | |
| parent | f666d8ec38cc8a8cdffd45606c054438ab8e8e87 (diff) | |
Fix filetype detection
The -i flag on Mac OS means:
჻ man file | grep -i -- -i
-i If the file is a regular file, do not classify its contents.
The --mime-type option is (mostly) portable:
- Linux uses --mime-type
- macOS uses --mime-type
- FreeBSD uses --mime-type
- NetBSD uses --mime-type
- OpenBSD uses --mime-type and does not use the same implementation as everybody else
- Solaris does not support MIME types at all
Diffstat (limited to 'rc/tools/python')
0 files changed, 0 insertions, 0 deletions
