Skip to content

Removed bashisms to allow to run in POSIX /bin/sh#10

Open
jimbobmcgee wants to merge 2 commits into
skroll:masterfrom
jimbobmcgee:master
Open

Removed bashisms to allow to run in POSIX /bin/sh#10
jimbobmcgee wants to merge 2 commits into
skroll:masterfrom
jimbobmcgee:master

Conversation

@jimbobmcgee

Copy link
Copy Markdown

I was looking to get this working on my FreeBSD server, which doesn't install Bash by default.
I ran it through shellcheck.net replacing all the 'Bashisms' it could find.

I think it is functionally identical, but I don't have a Mac environment to check. I have been running it on my own Privoxy instance without issue, but I don't know for certain that I am catching all the rules that your method did.

If I could grok the AdblockPlus list format, I'd know for sure.

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