Skip to content

Conversation

@folti
Copy link

@folti folti commented Jul 7, 2014

Hi,

The first patch is allows the script to resolve it's proper install path, in case it has been symlinked to somewhere else.

The second one is minor tinkering with the config file parsing to allow grep to match the only the exact keyword, at the start of the line thus preventing false positives from comment lines, in case of a future new keyword contain the current one.

Tamas Pal and others added 3 commits September 18, 2017 12:28
If the called script is a symlink, resolve said symlink to find the
proper install path. Requires readlink(1).
grep matches the full keyword, ending with ':', to avoid false positives
from comments and/or matches frm other keywords.
ernstki added a commit to ernstki/mad that referenced this pull request Jul 4, 2020
See: https://patch-diff.githubusercontent.com/raw/tj/mad/pull/22

- if symlinked, 'mad' now discovers its config based on a relative path
  to the link target

- match keywords with an anchor at the beginning of the string

- link highlighting
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.

2 participants