BSD Ports

sysutils/xe 1.0 NetBSD

Simple xargs and apply replacement

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
public-domain
Categories
sysutils
Package size
25.3 KiB, 64.5 KiB installed

Description

`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.

In the other systems

SystemPortVersion
NetBSDsysutils/xe1.0
FreeBSDsysutils/xe1.0
OpenBSDsysutils/xe1.0p0
DragonFlysysutils/xe1.0
MidnightBSDsysutils/xe0.11

Install

Binary package:

pkgin install xe

From pkgsrc:

cd /usr/pkgsrc/sysutils/xe && make install clean

Dependencies

No port depends on this one.