You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current shebangs line requires to match the full path of the program, like:
#!/bin/awk -f
#!/bin/bash
"#!/usr/bin/env just --justfile
However, the program can be at /usr/bin or /usr/local/bin or even /global/freeware/python3.8.0/bin/python3
Except 'env', for normal shebangs like, can we just use the last word of the path to check? eg:
#!/bin/awk -f => check 'awk'
#!/bin/bash => check 'bash'
/global/freeware/python3.8.0/bin/python3 => check 'python3'
For 'env', we can just check the word exactly after 'env', normally program after env does not have full path.
The text was updated successfully, but these errors were encountered:
The current shebangs line requires to match the full path of the program, like:
#!/bin/awk -f
#!/bin/bash
"#!/usr/bin/env just --justfile
However, the program can be at /usr/bin or /usr/local/bin or even /global/freeware/python3.8.0/bin/python3
Except 'env', for normal shebangs like, can we just use the last word of the path to check? eg:
#!/bin/awk -f => check 'awk'
#!/bin/bash => check 'bash'
/global/freeware/python3.8.0/bin/python3 => check 'python3'
For 'env', we can just check the word exactly after 'env', normally program after env does not have full path.
The text was updated successfully, but these errors were encountered: