I have file:
xxx.lst
with values:
111
222
333
I just need to make one line with:
111 222 333
into a variable or standard output.
I have file:
with values:
I just need to make one line with:
into a variable or standard output. |
||||
|
|
|||||||||||||||||
|
You can use tr to replace line separator with space, e.g
|
|||||
|
Xargs echo and i/o redirection.
You don't even need the echo.
Tested on ksh/aix and bash/GNU. |
|||