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

Add shell styleguide #55

Merged
merged 1 commit into from
Feb 2, 2017
Merged

Add shell styleguide #55

merged 1 commit into from
Feb 2, 2017

Conversation

wfleming
Copy link
Contributor

@wfleming wfleming commented Feb 2, 2017

We write enough shell that I think it's worth setting out some of our preferences.

@pbrisbin I'm sure you have ideas of more to consider here. Are you familiar with any good resources similar to http://www.tldp.org/LDP/abs/html/index.html but more focused on POSIX shell? It would be nice to have something to share with people less familiar with shell scripting that doesn't presume bash since we prefer to not use bash-isms unless necessary.

Copy link
Contributor

@pbrisbin pbrisbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great to me. I don't really have any suggestions of things to add at this time.

shell/README.md Outdated
features are really needed.

By the same token, using POSIX flags & functionality that will work between most
flavors of *nix is preferred when possible.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you need to escape the * here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remembered all the underscores & forgot the asterisk. Thanks, fixed.

@wfleming wfleming force-pushed the will/shell branch 2 times, most recently from 5f0ba0b to 3ecb7c4 Compare February 2, 2017 22:02
We write enough shell that I think it's worth setting out some of our
preferences.
@wfleming wfleming merged commit 5a38140 into master Feb 2, 2017
@wfleming wfleming deleted the will/shell branch February 2, 2017 23:18
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.

3 participants