-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated example shell scripts because beta-10 requires the "-o" optio…
…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
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
rosie -o line match '!{{[ \t]* "--"}/{[ \t]*$}}' $@ | wc -l | ||
rosie match -o line '!{{[ \t]* "--"}/{[ \t]*$}}' $@ | wc -l |