Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
3 # Filter out uninformative output lines from the node-sass cron job script | 3 # Filter out uninformative output lines from the node-sass cron job script |
4 | 4 |
5 while read line; do | 5 while read line; do |
6 case "$line" in | 6 case "$line" in |
7 *Rendering*|*Wrote*) | 7 Rendering\ Complete,\ saving*file*|Wrote\ CSS\ to*) |
mathias
2018/06/11 14:04:14
Can't you make these patterns more specific, in or
| |
8 continue | |
9 ;; | 8 ;; |
10 *) | 9 *) |
11 echo "$line" | 10 echo "$line" |
12 ;; | 11 ;; |
13 esac | 12 esac |
14 done | 13 done |
LEFT | RIGHT |