Skip to content

Instantly share code, notes, and snippets.

@modestotech
Last active November 13, 2018 19:46
Show Gist options
  • Save modestotech/070c401c4ac37ea0a2113ca8903e93e3 to your computer and use it in GitHub Desktop.
Save modestotech/070c401c4ac37ea0a2113ca8903e93e3 to your computer and use it in GitHub Desktop.
# Find all ocurrences of filter and map and style the output a bit
find src/ -type f -name '*.js' -exec awk '/filter\(|map\(/{printf "%-100s%-5s%-100s\n", FILENAME, FNR, $0}' {} +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment