Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert to POSIX #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

convert to POSIX #7

wants to merge 1 commit into from

Conversation

go2null
Copy link

@go2null go2null commented Oct 15, 2018

We'll happily take patches to make bs POSIX-compliant.

Not sure of the status of the project, but came across it in my meanderings and saw the note above in the README, so here goes.

Some notes:

  1. switched from awk to sed as not really dealing with fields and records,
  2. allow leading blanks in .env to cater to people with indentation fetish,
  3. restore returning error when no .env file found by wrapping in a function,
  4. said function name can be anything, bs_function chosen to be somewhat unique to avoid namespace collisions, and
  5. function also allows sourcing at shell startup and using function call (or alias to function call).

any feedback welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant