pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/xe
Module Name: pkgsrc
Committed By: schmonz
Date: Sun Jan 23 19:42:33 UTC 2022
Added Files:
pkgsrc/sysutils/xe: DESCR Makefile PLIST distinfo
Log Message:
Add xe, a simple xargs and apply replacement.
`xe` is a new tool for constructing command lines from file listings or
arguments, which includes the best features of `xargs(1)` and
`apply(1)`. `xe` means "execute for every ...".
Benefits over xargs:
* Sane defaults (behaves like `xargs -d'\n' -I{} -n1 -r`).
* No weird parsing, arguments are separated linewise or by NUL byte.
* Can also take arguments from command-line.
* No shell involved unless `-s` is used.
* `{}` replacing possible with multiple arguments.
* Support for patterns to run different commands depending on the argument.
Benefits over apply:
* Parallel mode.
* Sane argument splitting.
* Can use shell-syntax instead of escape characters.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/xe/DESCR pkgsrc/sysutils/xe/Makefile \
pkgsrc/sysutils/xe/PLIST pkgsrc/sysutils/xe/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/sysutils/xe/DESCR
diff -u /dev/null pkgsrc/sysutils/xe/DESCR:1.1
--- /dev/null Sun Jan 23 19:42:33 2022
+++ pkgsrc/sysutils/xe/DESCR Sun Jan 23 19:42:33 2022
@@ -0,0 +1,16 @@
+`xe` is a new tool for constructing command lines from file listings or
+arguments, which includes the best features of `xargs(1)` and
+`apply(1)`. `xe` means "execute for every ...".
+
+Benefits over xargs:
+* Sane defaults (behaves like `xargs -d'\n' -I{} -n1 -r`).
+* No weird parsing, arguments are separated linewise or by NUL byte.
+* Can also take arguments from command-line.
+* No shell involved unless `-s` is used.
+* `{}` replacing possible with multiple arguments.
+* Support for patterns to run different commands depending on the argument.
+
+Benefits over apply:
+* Parallel mode.
+* Sane argument splitting.
+* Can use shell-syntax instead of escape characters.
Index: pkgsrc/sysutils/xe/Makefile
diff -u /dev/null pkgsrc/sysutils/xe/Makefile:1.1
--- /dev/null Sun Jan 23 19:42:33 2022
+++ pkgsrc/sysutils/xe/Makefile Sun Jan 23 19:42:33 2022
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2022/01/23 19:42:33 schmonz Exp $
+
+GITHUB_TAG= refs/tags/v${PKGVERSION_NOREV}
+DISTNAME= xe-0.11
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_GITHUB:=leahneukirchen/}
+
+MAINTAINER= schmonz%NetBSD.org@localhost
+HOMEPAGE= https://github.com/leahneukirchen/xe/
+COMMENT= Simple xargs and apply replacement
+LICENSE= public-domain
+
+WRKSRC= ${WRKDIR}/${DISTNAME}
+
+MAKE_FLAGS+= PREFIX=${PREFIX:Q}
+MAKE_FLAGS+= MANDIR=${PREFIX:Q}/${PKGMANDIR:Q}
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/xe/PLIST
diff -u /dev/null pkgsrc/sysutils/xe/PLIST:1.1
--- /dev/null Sun Jan 23 19:42:33 2022
+++ pkgsrc/sysutils/xe/PLIST Sun Jan 23 19:42:33 2022
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2022/01/23 19:42:33 schmonz Exp $
+bin/xe
+man/man1/xe.1
+share/zsh/site-functions/_xe
Index: pkgsrc/sysutils/xe/distinfo
diff -u /dev/null pkgsrc/sysutils/xe/distinfo:1.1
--- /dev/null Sun Jan 23 19:42:33 2022
+++ pkgsrc/sysutils/xe/distinfo Sun Jan 23 19:42:33 2022
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/01/23 19:42:33 schmonz Exp $
+
+BLAKE2s (xe-0.11.tar.gz) = 8f8e522dc2155d2a5f000206dc04637467725302d56e7779bdc733dae4db8829
+SHA512 (xe-0.11.tar.gz) = 848b35f31e480f386cc48feaca60d59159eaaca95213039d5474c26e5d0c87092905029f32770c3b356d29822027cee9fc14b46e0127754ce2135cb825928bf6
+Size (xe-0.11.tar.gz) = 13578 bytes
Home |
Main Index |
Thread Index |
Old Index