Split input lines on separators.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml
CHANGELOG.md
LICENSE.md
Makefile
README.md
unjoin.1
unjoin.c

README.md

unjoin

Split input lines on separators.

Synopsis

unjoin separator ...

Description

unjoin copies standard input to standard output, replacing occurences of any separator with a newline character.

Examples

Split on underscores and double colons:

$ echo "one::two_three" | unjoin _ ::
one
two
three

Building

Unix-likes:

make

# tweak Makefile to taste
make install
make uninstall

See also

sed(1), funjoin(1).

Authors

Sijmen J. Mulder (ik@sjmulder.nl)