Linux Commands: Print files, printing and pagination filter for text files


pr-Linux Command

pr

Print files, printing and pagination filter for text files.
When multiple input files are specified, each is read, formatted, and written to standard output.

SYNTAX
      pr [options] [file ...]

OPTIONS

  +beg_pag[:end-pag], 
  --pages=[beg_pag[:end-pag]
      Begin printing on page beg_pag and end on end-pag if specified.

  -num_cols
   --columns=num_cols
      Print in num_cols number of columns, balancing the number of lines
      in the columns on each page.

  -a
  --across
      Print columns horizontally, not vertically.

  -c
  --show-control-chars
      Convert control characters to hat notation (such as ^C) and other unprintable characters to octal backslash format.
  -d
  --double-space
      Double space.

  -e[tab-char[width]]
  --expand-tabs=[tab-char[width]]
      Convert tabs (or tab-chars) to spaces.
      If width is specified, convert tabs to width characters (default is 8).

  -f
  -F
  --form-feed
      Separate pages with form feeds, not newlines.

  -h header
  --header=header
      Use header for the header instead of the filename.

  -i[out-tab-char[out-tab-width]]
  --output-tabs[=out-tab-char[out-tab-width]]
      Replace spaces with tabs on output. Can specify alternative tab character (default is tab) and width (default is 8).

  -J
  --join-lines
      Merge full lines; ignore -W if set.

  -l lines
  --length=lines
      Set page length to lines (default 66). If lines is less than 10, omit headers and footers.

  -m
  --merge
    Print all files, one file per column.

  -n[delimiter[digits]]
  --number-lines[=delimiter[digits]]
      Number columns, or, with the -m option, number lines.
      Append delimiter to each number (default is a tab) and limit
      the size of numbers to digits (default is 5).

  -o width
  --indent=width
      Set left margin to width.

  -r
  --no-file-warnings
      Continue silently when unable to open an input file.

  -s[delimiter]
  --separator[=delimiter]
      Separate columns with delimiter (default is a tab) instead of spaces.

  -S[string]
  --sep-string[=string]
      Separate columns with string. Default is a tab with -J and a space otherwise.

  -t
  --omit-header
      Suppress headers, footers, and fills at end of pages.

  -T
  --omit-pagination
      Like -t but also suppress form feeds.

  -v
  --show-non-printing
      Convert unprintable characters to octal backslash format.

  -w page_width
  --width=page_width
      Set the page width to page_width characters for multi-column output.
      Default is 72.

  -W page_width
  --page-width=page_width
      Set the page width to always be page_width characters.
      Default is 72.

  file
      A pathname of a file to be printed.
      If no file operands are specified, or if a file operand is `-',
      the standard input is used.

  --help
      Print a help message and then exit.

  --version
      Print version information and then exit.

Related commands:

cat - Display the contents of a file
more - Display output one screen at a time


Other Linux Commands:
alias , break , builtin , cal , case , cat , cd , cfdisk , chgrp , chmod , chown , chroot , cksum , cmp , comm , command , continue , cp , cron , crontab , csplit , cut , date , dc , dd , declare , df , diff , diff3 , dir , dircolors , dirname , dirs , du , echo , egrep , enable , env , eval , exec , expand , export , expr , factor , false , fdformat , fdisk , fgrep , find , fmt , fold , for , fsck , function , getopts , hash , hashcharacter , head , history , hostname , id , if , import , install , join , kill , less , let , ln , local , locate , logname , logout , lpc , lpr , lprm , ls , m4 , man , mbadblocks , mkdir , mkfifo , mknod , more , mount , mtools , mv , nice , nl , nohup , passwd , paste , period , popd , pr , printf , ps , pushd , pwd , quota , quotacheck , quotactl , ram , rcp , read , readonly , return , rm , rmdir , rsync , sdiff , sed , select , seq , set , shift , shopt , shutdown , sleep , sort , split , su , sum , symlink , sync , tac , tail , tar , tee , test , time , times , top , touch , tr , traceroute , true , tsort , tty , type , ulimit , umask , uname , unexpand , uniq , units , unset , unshar , until , useradd , usermod , users , uuencode , watch , wc , whereis , which , while , who , xargs , yes ,
Live2Support.com :
Product - Benefits - Features - How Does it Works - Pricing - SSL Certificates - Signup - Contactus - Login - Submit Resources