Guest User

Untitled

a guest
Jul 22nd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. #!/bin/sh
  2. if [[ $1 ]]; then
  3. ack "TODO\s?\($1\)"
  4. else
  5. ack --noheading "TODO\s?\(([^\)]+)\)" --output='$1' -h | sort -f | uniq -ic | sort -r
  6. fi
Add Comment
Please, Sign In to add comment