Skip to content

choose

Human-friendly and fast alternative to cut and sometimes awk

Not a complete replacement for cut and awk, but rather a simple and intuitive tool to use when the basics of awk or cut are sufficient, but it is not necessary to run them.

terminal

https://github.com/theryangeary/choose

amd64

Installation

1. Add WakeMeOps repository

curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash

2. Install choose

sudo apt install choose

Snippets

FROM wakemeops/minideb:bullseye

RUN install_packages \
    choose=1.3.6*

USER 1001
- name: Install dependencies
  uses: upciti/wakemeops-action@v1
  with:
    packages: |
      choose=1.3.6*

Download URLs

Version SHA256 Size (KB)
1.3.6 d7f0289a611b3161b4f06348844d4ac84167046ab86be193a760151fec33fa6f 725
1.3.5 6943bbe93c6a4e84bbf2ef5ff23d1a840b269abdfc6d44a0045c40b88b33c1f7 725
1.3.4 4f284c99d77f212f6941fa9a10ba4e92111ad2b654eff9bc3577980e72395230 542
1.3.3 c3c82b324903ee5b3c5fcc9a979c4c7cc4260a6d3456e635e90836e7e2aa75ba 540

Blueprints

Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for choose are versioned here.

Click here to see choose ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/terminal/choose/ops2deb.yml
- name: choose
  version: 1.3.3
  revision: "3"
  homepage: https://github.com/theryangeary/choose
  summary: human-friendly and fast alternative to cut and sometimes awk
  description: |-
    Not a complete replacement for cut and awk, but rather a simple and intuitive
    tool to use when the basics of awk or cut are sufficient, but it is not
    necessary to run them.
  fetch: https://github.com/theryangeary/choose/releases/download/v{{version}}/choose-x86_64-unknown-linux-gnu
  script:
    - mv choose-x86_64-unknown-linux-gnu {{src}}/usr/bin/choose

- name: choose
  matrix:
    versions:
      - 1.3.4
      - 1.3.5
      - 1.3.6
  homepage: https://github.com/theryangeary/choose
  summary: human-friendly and fast alternative to cut and sometimes awk
  description: |-
    Not a complete replacement for cut and awk, but rather a simple and intuitive
    tool to use when the basics of awk or cut are sufficient, but it is not
    necessary to run them.
  fetch: https://github.com/theryangeary/choose/releases/download/v{{version}}/choose-x86_64-unknown-linux-gnu
  install:
    - choose-x86_64-unknown-linux-gnu:/usr/bin/choose

The blueprint fetch keyword contains a URL template pointing to choose releases. Downloaded files are locked in a lockfile versioned here.

Click here to see choose release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/terminal/choose/ops2deb.lock.yml
- url: https://github.com/theryangeary/choose/releases/download/v1.3.3/choose-x86_64-unknown-linux-gnu
  sha256: be74d8432765c8474d067d7c7d4916d2100ad92e232c1e1381a4c4293f118945
  timestamp: 2021-12-14 15:37:09+00:00
- url: https://github.com/theryangeary/choose/releases/download/v1.3.4/choose-x86_64-unknown-linux-gnu
  sha256: 80c0e3927757d5f69d93489cf5e4a7ddbe577b0f4e857eeda10701e54e1c3447
  timestamp: 2022-04-24 03:45:48+00:00
- url: https://github.com/theryangeary/choose/releases/download/v1.3.5/choose-x86_64-unknown-linux-gnu
  sha256: 2529f104cc46613a85513bb2e29057318ec3544e759727ea9f9f22db962766d2
  timestamp: 2024-10-01 00:29:54+00:00
- url: https://github.com/theryangeary/choose/releases/download/v1.3.6/choose-x86_64-unknown-linux-gnu
  sha256: f08080e6b17547f10679de21ea832138b1a51230a4db268afc92608c8e758121
  timestamp: 2024-10-02 00:26:36+00:00

Badge

WakeMeOps

[![WakeMeOps](https://docs.wakemeops.com/badges/choose.svg)](https://docs.wakemeops.com/packages/choose)
<a href="https://docs.wakemeops.com/packages/choose">
  <img src="https://docs.wakemeops.com/badges/choose.svg"/>
</a>
.. image:: https://docs.wakemeops.com/badges/choose.svg
:target: https://docs.wakemeops.com/packages/choose