Post #1032354
2026-04-04 14:37 UTC
Today I made my longest bash command.
```bash
for dir in ./*/; do cd $dir && for f in ./callgrind.185master.*; do if [ "$(callgrind_annotate $f | rg "clippy-driver" --stats | rg "(\d+) matches" | rg "\d+" --only-matching)" -gt "200" ]; then echo "$f - $(callgrind_annotate $f | rg 'PROGRAM TOTALS' &)"; fi; done | tail -n 1 >> difference.md && for f in ./callgrind.out.*; do if [ "$(callgrind_annotate $f | rg "clippy-driver" --stats | rg "(\d+) matches" | rg "\d+" --only-matching)" -gt "200" ]; then echo "$f - $(callgrind_annotate $f | rg 'PROGRAM TOTALS' &)"; fi; done | tail -n 1 >> difference.md; done
```
Replies (0)
No replies.