Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

printing from command line filters pipelines

cat poorly_formatted_report.txt | fmt | pr | lpr

cat unsorted_list_with_dupes.txt | sort | uniq | pr | lpr
Source by linuxcommand.org #
 
PREVIOUS NEXT
Tagged: #printing #command #line #filters #pipelines
ADD COMMENT
Topic
Name
7+6 =