Project

General

Profile

« Previous | Next » 

Revision 960

error_stats: Fixed to work on Mac

View differences:

bin/error_stats
1
#!/bin/bash
2
# Displays statistics about the error messages in `map` output
1
#!/bin/sh
2
# Displays statistics about `map` error messages
3 3
# Usage: self {input...|<input}
4 4

  
5 5
alias grep='grep --color=never'
6 6

  
7
grep -F '' "$@"|sort|uniq --count
7
grep -F '' "$@"|sort|uniq -c

Also available in: Unified diff