Skip to content

Commit

Permalink
lint: Check for sed without "command"
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Feb 25, 2016
1 parent 86ca715 commit 417122b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runLint
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ gitgrep $cmdstart'[ef]grep\b' \
# TODO: $ in sed subexpression used as an anchor (POSIX BRE optional, not in
# Solaris/FreeBSD)

gitgrep '(?<!command)'$cmdstart'(grep|ls)(\s|$)' \
'invoke grep and ls with "command" prefix, e.g. "command grep"'
gitgrep '(?<!command)'$cmdstart'(grep|ls|sed)(\s|$)' \
'invoke grep, ls, and sed through "command", e.g. "command grep"'

0 comments on commit 417122b

Please sign in to comment.