Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: edit.sh

Issue 29768621: #10639 - node-sass output filter (Closed)
Patch Set: Created May 2, 2018, 12:48 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: edit.sh
diff --git a/edit.sh b/edit.sh
new file mode 100755
index 0000000000000000000000000000000000000000..6e33e390a83fc3fbbee5c425c570a0acb7ac1dbe
--- /dev/null
+++ b/edit.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+IFS=$'\n' lines=($(cat /dev/stdin))
+
+for (( i=0; i < ${#lines[*]}; i++ ))
+do
+ if [[ ${lines[$i]} != *"Rendering"* ]] && [[ ${lines[$i]} != *"Wrote"* ]] ; then
+ echo ${lines[$i]}
+ fi
+done
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld