Questions tagged [paste]
The `paste` utility merges corresponding or subsequent lines of files.
136 questions
0 votes
1 answer
105 views
Can Xfce's Clipman let you cycle the clipboard?
I use Clipman - xfce4-clipman-plugin. I sometimes copy two items and want to paste them both, one then the other. I would expect to be able to paste one (ctrl + v), press some keyboard combo to tell ...
0 votes
2 answers
315 views
Side by side output from two `tail -f` commands
I have two scripts emitting single string to log files periodically that I need to tail -f and combine side by side for which I am using paste. This works but I am unable to pipe the output to another ...
1 vote
0 answers
162 views
Pasting non-ascii (utf8) into remote urxvt terminal
For pasting text, in urxvt/rxvt-unicode one can use middle button to paste PRIMARY selection. I can do such Mouse-Middle-Click paste in my local urxvt terminal and even a remote server, in Chinese/...
0 votes
3 answers
139 views
Combine .csv-files with different amount of lines
Here I asked already for a similar problem. Now I have 3 .csv-files but one of them has only 1 line. file1.csv dog cats mouse file2.csv 001a 002a 003c file3.csv WORD The output should be dog,001a,...
-2 votes
4 answers
119 views
How to keep previous and current line if the previous line contains common text?
How to keep previous and current line if the previous line contains common text? I have a main file like this: Hello_world Anna Frank Jeremy Hello_earth Jessie James I would want 3 output files like ...
0 votes
5 answers
864 views
How to merge lines in groups of three
I have a file containing the below pattern, up to 2000 lines. For every group of three lines, the pattern repeats with different numerical values, but text values at the beginning are common up to ...
1 vote
1 answer
864 views
paste command puts data from csv files vertically line by line instead of horizontally next to each other
I have a few csv-s, each containing 3 columns separated by ",". Example: header1,header2,header3 value1,value2,value3 value1,value2,value3 ... Using this tutorial, I thought if I execute ...
2 votes
1 answer
500 views
Why does paste command truncate one of the input files?
I have two files which contain only one column of numeric data each, and the same number of rows. When using paste, it does combine the rows from the two files into one row, but the text of the first ...