Search NASA⌕ Search

DOE OSTI · code-66187

sbang

Abstract

sbang lets users run scripts with very long shebang (#!) lines. Many operating systems limit the length and number of possible arguments in shebang lines, making it hard to use interpreters that are deep in the directory hierarchy or require special arguments. To use it, a user puts the long shebang on the second line of their script, and makes sbang the interpreter, like this: #!/bin/sh /path/to/sbang #!/long/path/to/real/interpreter with arguments. sbang will run the real interpreter with the script as its argument.

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Gamblin, Todd. 2020-10-28. sbang. https://doi.org/10.11578/dc.20211028.8. https://searchnasa.com/record/osti%3Acode-66187/sbang

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search NASA by Indiciae: BibTeX · RIS.