Skip to content

Commit

Permalink
Updated example shell scripts because beta-10 requires the "-o" optio…
Browse files Browse the repository at this point in the history
…n to be given AFTER the command (match, grep, or trace).
  • Loading branch information
Jamie Jennings committed May 11, 2018
1 parent 626cc6e commit 8f0c0ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extra/examples/sloc_C.sh
@@ -1,2 +1,2 @@
rosie -o subs --rpl 'alias b = {[ \t]* [\n]}; alias eoc = find:"*/"; alias c = {[ \t]* "/*" eoc [^\n]* "\n"}; line = find:{>"\n"}; lines = {c / b / line "\n"}+' match --wholefile lines $@ | wc -l
rosie --rpl 'alias b = {[ \t]* [\n]}; alias eoc = find:"*/"; alias c = {[ \t]* "/*" eoc [^\n]* "\n"}; line = find:{>"\n"}; lines = {c / b / line "\n"}+' match -o subs --wholefile lines $@ | wc -l

2 changes: 1 addition & 1 deletion extra/examples/sloc_lua.sh
@@ -1 +1 @@
rosie -o line match '!{{[ \t]* "--"}/{[ \t]*$}}' $@ | wc -l
rosie match -o line '!{{[ \t]* "--"}/{[ \t]*$}}' $@ | wc -l

0 comments on commit 8f0c0ac

Please sign in to comment.