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

pastejoin lines

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

-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)

- Translate to Spanish.

(back to top)

text_processing, openbsd, slackware
OpenBSD manpages: paste(1)

(back to top)

2025-10-03 : Created.

(back to top)

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

This document applies to: OpenBSD 7.7 linux| 2025-10-21