Home>

When multiple lines of input are given, I want to create a one-line command that outputs a copy of each line down one line.

Specifically, for example, the output offind ./ .-type fis

aaa.txt
bbb.txt
ccc.txt

and when this is received as input on a pipe

aaa.txt
aaa.txt
bbb.txt
bbb.txt
ccc.txt
ccc.txt
I want to output

.

I would appreciate it if you could tell me what command to use.
Thank you.


This is a postscript.
OS: Cent OS7
Shell: bash