tmptmp

command module
v0.0.0-...-228951f Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: MIT Imports: 7 Imported by: 0

README

myxargs

A simple implement of GNU xargs, written in Go.

Description

myxargs reads the standard input, create a command line, and execute it.

Example

default
$ ls *.txt
a.txt b.txt

$ ls *.txt | ./myxargs file                 
backup_a.txt: ASCII text
backup_b.txt: ASCII text
with option -I
$ ls *.txt
a.txt b.txt

$ ls *.txt | ./myxargs -I {} mv {} backup_{}

$ ls *.txt
backup_a.txt backup_b.txt

VS.

Author

mohira

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