_                    _
  ___ | |__   __ _ _______ | |_
 / _ \| '_ \ / _` |_  / _ \| __|
| (_) | | | | (_| |/ / (_) | |_
 \___/|_| |_|\__,_/___\___/ \__|

pastejoin lines

paste [OPTIONS] file
- file can be stdin (-).
- file is required on OpenBSD.
- file is not required on Slackware.
- paste writes to stdout.

back to top

-s paste in command line order.
-d LIST use the specified character(s) as delimiters.

back to top

$ cat test.log
1
2
3
$ paste -s -d "+" test.log
1+2+3
cat test.log | paste -s -d +
1+2+3

back to top

text_manipulation , openbsd , slackware

- OpenBSD manpages: paste(1)

back to top

ohazot | about | ohazot.com <admin@ohazot.com>

OpenBSD 7.7 linux| Created:2025-10-03|Updated:2025-10-21|