Bug 264315 - [NEW PORT] sysutils/choose: Fast, human-friendly alternative to cut
Summary: [NEW PORT] sysutils/choose: Fast, human-friendly alternative to cut
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL: https://github.com/theryangeary/choose
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-28 14:37 UTC by sec.research.2005
Modified: 2022-08-11 13:45 UTC (History)
1 user (show)

See Also:


Attachments
Patch (8.32 KB, patch)
2022-05-28 14:37 UTC, sec.research.2005
no flags Details | Diff
Poudriere Build Log (216.64 KB, text/plain)
2022-05-28 14:38 UTC, sec.research.2005
no flags Details
updated pkg-descr (8.01 KB, patch)
2022-07-07 09:37 UTC, Nuno Teixeira
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description sec.research.2005 2022-05-28 14:37:17 UTC
Human-friendly and fast alternative to cut and (sometimes) awk

Features

Terse field selection syntax similar to Python's list slices
Negative indexing from end of line
Optional start/end index
Zero-indexed
Reverse ranges
Slightly faster than cut for sufficiently long inputs
Much faster than awk
Regular expression field separators using Rust's regex syntax
Comment 1 sec.research.2005 2022-05-28 14:37:52 UTC
Created attachment 234296 [details]
Patch
Comment 2 sec.research.2005 2022-05-28 14:38:05 UTC
Created attachment 234297 [details]
Poudriere Build Log
Comment 3 Nuno Teixeira freebsd_committer freebsd_triage 2022-07-07 09:37:44 UTC
Created attachment 235105 [details]
updated pkg-descr

Hi,

What you think about using '*' for a better list in pkg-descr?
Comment 4 Nuno Teixeira freebsd_committer freebsd_triage 2022-07-07 09:40:11 UTC
Hello,

Don't know about using a separate file for cargo-crates is the correct way instead of including it in Makefile. I will investigate it.

Cheers
Comment 5 Nuno Teixeira freebsd_committer freebsd_triage 2022-07-11 08:39:25 UTC
Instead of .include "${.CURDIR}/bsd.choose.mk" use "Makefile.cargo" file in the port root as defined in ports/Mk/Uses/cargo.mk.
Comment 6 Nuno Teixeira freebsd_committer freebsd_triage 2022-08-06 19:14:16 UTC
Hi,

Just to know if the new port process could be continued.

Cheers