View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000114 | file | General | public | 2019-10-21 13:53 | 2019-10-30 03:17 |
Reporter | danyspin97 | Assigned To | christos | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | ||||
Product Version | 5.37 | ||||
Fixed in Version | 5.38 | ||||
Summary | 0000114: zsh shellscript recognized as plain text when the shebang is "#!/usr/bin/env zsh" | ||||
Description | zsh shellscrpt is incorrectly reported as plain text when --mime-type arg is passed and the shebang of the script is "#!/usr/bin/env zsh". Without --mime-type, it is reported as zsh script. Changing the shebang to "#!/usr/bin/zsh", makes file recognize the script. "#!/usr/bin/env bash" is used, the script is correctly recognized as shellscript. | ||||
Steps To Reproduce | echo "#!/usr/bin/env zsh" > myzshscript && chmod +x myzshscript && file --mime-type myzshscript | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2019-10-21 13:53 | danyspin97 | New Issue | |
2019-10-30 03:16 | christos | Assigned To | => christos |
2019-10-30 03:16 | christos | Status | new => assigned |
2019-10-30 03:17 | christos | Status | assigned => resolved |
2019-10-30 03:17 | christos | Resolution | open => fixed |
2019-10-30 03:17 | christos | Fixed in Version | => 5.38 |
2019-10-30 03:17 | christos | Note Added: 0003323 |