Andy Lester

Results 496 comments of Andy Lester

From https://stackoverflow.com/questions/45538755/bash-text-extracting I have this very long line of info in 1 file, and i want to extract it, so that the end result look like this output.txt ? Please...

We need lots of `-f` and `-g` examples. Also, interesting that `ag` does not have `-f`. If you want `ack -f` with `ag` you have to do `ag -g ""`

Inventory all PHP sqldo functions ack 'sqldo_\w+' --php -o -h | sort -u

Inventory of methods called on users: ack 'user->(\w+)' --output='$1' -h | sort | uniq -c

Tell me more about this. Are you asking for you as a person who updates their tools every so often? Are you part of a larger packaging project?

Would `ack-latest` download it directly, or would it redirect to `ack-v3.whatever`?

> coded into an install script knowing it will grab the latest version. Tell me more about this install script you're thinking of. When does it get used?

Just FYI, an easier way to do grep -E '^v.* (CDT|CST) ' | head -1 | awk '{ print $1 }' with ack would be ack '^(v\S+).+ C[DS]T' -1 --output='$1'...

What would be features that ugrep has that ack and ripgrep don't have?

The first place I want to put ugrep is over on https://altbox.dev. Can you add some interesting info about ugrep at https://github.com/petdance/altbox/issues/85 and then I can write up a page...