You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way that ack treats the ackrc file like just another source of command line arguments is dangerous. There's no legit reason for someone to put, say, -f or -g or --match or --output or -c or -x in their ackrc file.
The list of options that seem sensible to me are: -i, -S, --column, -s, --pager, --heading, --break, --group, --proximate, --underline, --color*, --flush, --sort-files, --ignore*, -r, -n, --follow, --type-add, --type-set, --type, -k, -A, -B, -C.
Basically anything that regulates behavior vs. regulating output should be forbidden.
The text was updated successfully, but these errors were encountered:
The way that ack treats the ackrc file like just another source of command line arguments is dangerous. There's no legit reason for someone to put, say,
-f
or-g
or--match
or--output
or-c
or-x
in their ackrc file.The list of options that seem sensible to me are:
-i
,-S
,--column
,-s
,--pager
,--heading
,--break
,--group
,--proximate
,--underline
,--color*
,--flush
,--sort-files
,--ignore*
,-r
,-n
,--follow
,--type-add
,--type-set
,--type
,-k
,-A
,-B
,-C
.Basically anything that regulates behavior vs. regulating output should be forbidden.
The text was updated successfully, but these errors were encountered: