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

Improve cross-platform compatibility #86

Merged
merged 2 commits into from
Dec 12, 2014
Merged

Improve cross-platform compatibility #86

merged 2 commits into from
Dec 12, 2014

Conversation

lildude
Copy link
Member

@lildude lildude commented Dec 12, 2014

When testing on Solaris 10, it was discovered there are quite a few incompatibilities caused by Solaris 10 not using GNU or POSIX-compliant commands by default.

These changes make things more compatible.

This fixes most of the things detailed in https://github.com/github/backup-utils/issues/85 - we just need to decide what we're going to do about the hashbang, if anything.

Some sed implementations, like that on Solaris, don't process lines which don't end in EOL/newline. Forcing a newline helps these versions.
This makes the grep commands cross-platform compatible.
@rtomayko
Copy link
Contributor

Looks good to me. Merging.

rtomayko added a commit that referenced this pull request Dec 12, 2014
Improve cross-platform compatibility
@rtomayko rtomayko merged commit 9d3895c into github:master Dec 12, 2014
rtomayko added a commit that referenced this pull request Jan 14, 2015
See #86. Think this was
just stomped from an earlier version.
snh added a commit that referenced this pull request Aug 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants