The Wayback Machine - https://web.archive.org/web/20200525044631/https://github.com/topics/shellscript
Skip to content
#

shellscript

A shell is a text-based terminal, used for manipulating programs and files. Shell scripts typically manage program execution.

Here are 372 public repositories matching this topic...

headius
headius commented Aug 18, 2019

When a compiled script is run from $PATH it appears to be unable to locate its own file path.

An example with the JRuby bash launcher:

[] ~/projects/jruby $ bin/jruby.bash -e 'puts ENV_JAVA["jruby.home"]'
/Users/headius/projects/jruby

[] ~/projects/jruby $ jruby.bash -e 'puts ENV_JAVA["jruby.home"]'
/Users/headius/projects/jruby

[] ~/projects/jruby $ shc -f bin/jruby.bash -o bin

Created by Glenda Schroeder

Released 1965

Wikipedia
Wikipedia

Related Topics

bash
You can’t perform that action at this time.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.