Questions tagged [pr]
8 questions
7
votes
1 answer
What is the correct way to merge two ASCII art files side by side while preserving alignment?
art_file (cat -A output):
.::""-, .::""-.$
/:: \ /:: \$
|:: | _..--""""--.._ |:: |$
'\:.__ / .' '. \:.__ /$
||____|.' _..---"````'---. '.||____|$
||:. |_.' …
puwlah
- 519
- 4
- 10
1
vote
2 answers
Printing a file in columns with arbitrary amount of rows
I have this file:
line1
line2
line3
line4
line5
line6
line7
line8
line9
And I want to print it across 3 columns with this structure so that first column has lines 1-2-3, second column has the lines 4-5 and the last column has the lines 6-7-8-9 (or…
isamert
- 113
- 4
0
votes
0 answers
What command should I used to print a file with 60 lines?
What default page length should I use when using pr on Linux? Also, which symbol should I use to specify the length difference?
0
votes
2 answers
pr is truncating output
I have three text files and I want to combine them in one text file on my Linux machine.
Input…
Basil
- 63
- 6
0
votes
0 answers
Why a long type memory is reserved to nice value in the PCB in Linux?
All right, my question is not sufficiently specific. I've not mentioned the kernel version, the distribution and other potentially interesting things. But, anyway... these are important but doesn't matter essentially in this crude context (what I…
Daniel Bandeira
- 143
- 7
0
votes
0 answers
Avoid using temp files for pr
I am tailing two files at the same time, side by side, I can't get a version to work that doesn't use temporary files F1.tmp and F2.tmp.
I would like to use watch to call this script.
Pretty sure I am missing something about command expansion and…
L Selter
- 101
- 3
0
votes
1 answer
What does `pr -e` mean?
From coreutils' manual about pr:
‘-e[in-tabchar[in-tabwidth]]’
‘--expand-tabs[=in-tabchar[in-tabwidth]]’
Expand tabs to spaces on input. Optional argument in-tabchar is the
input tab character (default is the TAB character). Second optional
…
Tim
- 98,580
- 191
- 570
- 977
-2
votes
1 answer
What does pr -m -t means?
What does pr -m -t mean? I managed to find out that -t suppresses headers and footers. What does -m mean specifically?
Basil
- 63
- 6