Difference between revisions of "Pr"
From MohidWiki
(New page: Pr is a small linux utility that produces paginated column output from different input ascii text files. ==Example== > cat file1 one two three one two three one two three one two...) |
|||
| Line 1: | Line 1: | ||
| − | [[Pr]] is a small linux utility that produces paginated column output from different input ascii text files. | + | [[Pr]] is a small linux utility that produces paginated column output from different input ascii text files. Use it with [[Awk]]. |
==Example== | ==Example== | ||
| Line 19: | Line 19: | ||
four five six one | four five six one | ||
four five six one | four five six one | ||
| + | |||
| + | ==Other links== | ||
| + | *[[Awk]] | ||
[[Category:Linux]] | [[Category:Linux]] | ||
Revision as of 18:49, 17 September 2010
Pr is a small linux utility that produces paginated column output from different input ascii text files. Use it with Awk.
Example
> cat file1 one two three one two three one two three one two three
> cat file2 four five six four five six four five six four five six
> pr -m -t -s\ file1 file2 | gawk '{print $4,$5,$6,$1}'
four five six one
four five six one
four five six one
four five six one