6 examples for ack
# Ignore all files matching specified regex (ignoring css in this example)
ack "input" --ignore-file=match:/.+\.css/
# do not treat search pattern as regular expression (automatic quotation of regular expression metacharacters)
ack -Q "console.log("
# The following command searches in files with extension .org
# First we deine the file type with `--type-set` and then we use that file-type as `--org`
ack --type-set org:match:.+org --org reveal