View Issue Details

IDProjectCategoryView StatusLast Update
0000114fileGeneralpublic2019-10-30 03:17
Reporterdanyspin97 Assigned Tochristos  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinux 
Product Version5.37 
Fixed in Version5.38 
Summary0000114: zsh shellscript recognized as plain text when the shebang is "#!/usr/bin/env zsh"
Descriptionzsh 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 Reproduceecho "#!/usr/bin/env zsh" > myzshscript && chmod +x myzshscript && file --mime-type myzshscript
TagsNo tags attached.

Activities

christos

2019-10-30 03:17

manager   ~0003323

Fixed, thanks!

Issue History

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