mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 14:20:12 +08:00

By not manipulating each line or even each file at a time, we can go back to `string` and piece together a pipeline that will execute significantly faster than shelling out to `awk` will. This also removes one of the few dependencies on `awk` in the codebase. With this change, `__fish_print_hostnames` now finishes ~80% faster than it used to a few commits back.