1. Georg Brandl
  2. pygments-main
  3. Pull requests

Pull requests

#164 Declined
Repository
__russ__
Branch
default
Repository
birkenfeld
Branch
default

added -s option to support use with `tail -f` (line-by-line formatting of stdin stream)

Author
  1. Russell Warren
Reviewers
Description

pygmentize currently only processes entire files. For example, it currently hangs if you try this example:

tail -f sql.log | pygmentize -l sql

this pull request adds a -s option to support the above example (and others). Like this:

tail -f sql.log | pygmentize -s -l sql

-s was chosen for 'streaming'.

Comments (1)