Skip to main content

interpreter_of

Function interpreter_of 

Source
pub fn interpreter_of(first_line: &str) -> Option<&str>
Expand description

First shebang token as a bare interpreter name: #!/bin/bashbash, #!/usr/bin/env -S fish -efish. Returns None for anything that isn’t a shebang line.