comb

command module
v0.0.0-...-3ba687d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: Unlicense Imports: 4 Imported by: 0

README


  • Usage

❯ comb --help
Combine the lines from two files in every combination

Usage:
  comb [OPTIONS] <prefixfile> <suffixfile>

Options:
  -f, --flip             Flip mode (order by suffix)
  -s, --separator <str>  String to place between prefix and suffix

!# Install
!# With root
sudo curl -qfsSL "https://bin.ajam.dev/x86_64_Linux/comb" -o "/usr/local/bin/comb" && sudo chmod +xwr "/usr/local/bin/comb"
sudo eget "https://bin.ajam.dev/x86_64_Linux/comb" --to "/usr/local/bin/comb"

!# Without ROOT
curl -qfsSL "https://bin.ajam.dev/x86_64_Linux/comb" -o "$HOME/bin/comb" && chmod +xwr "$HOME/bin/comb"
eget "https://bin.ajam.dev/x86_64_Linux/comb" --to "$HOME/bin/comb"

!# Using go
go install -v "github.com/Azathothas/Arsenal/comb@main"

!# Build
  cd $(mktemp -d) && mkdir comb && cd comb
  curl -qfsSLJO "https://raw.githubusercontent.com/Azathothas/Arsenal/main/comb/main.go"
  curl -qfsSLJO "https://raw.githubusercontent.com/Azathothas/Arsenal/main/comb/go.mod"
  CGO_ENABLED=0 go build -v -ldflags="-s -w -extldflags '-static'" -o "./comb"
  file "./comb" ; ldd "./comb" ; ls -lah "./comb"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL