--- title: "choose over awk" seo_description: Why I use choose instead of awk now days. date: 2024-03-04T11:52:22+01:00 draft: false snippet_types: - awk - choose --- Sometimes typing out `awk '{print $1}'` just takes too long. Today I decovered [choose](https://github.com/theryangeary/choose?tab=readme-ov-file). It makes selecting a field from an output much faster. Now instead of: ```shell $ gss | rg awk | awk '{ print $2 }' | xargs hx ``` I run: ```shell $ gss | rg awk | choose 1 | xargs hx ```