Show More
@@ -342,7 +342,9 b' Put annotate in the ignore list for page' | |||||
342 |
|
342 | |||
343 | Environment variables like LESS and LV are set automatically: |
|
343 | Environment variables like LESS and LV are set automatically: | |
344 | $ cat > $TESTTMP/printlesslv.py <<EOF |
|
344 | $ cat > $TESTTMP/printlesslv.py <<EOF | |
345 | > import os, sys |
|
345 | > from __future__ import absolute_import | |
|
346 | > import os | |||
|
347 | > import sys | |||
346 | > sys.stdin.read() |
|
348 | > sys.stdin.read() | |
347 | > for name in ['LESS', 'LV']: |
|
349 | > for name in ['LESS', 'LV']: | |
348 | > sys.stdout.write(('%s=%s\n') % (name, os.environ.get(name, '-'))) |
|
350 | > sys.stdout.write(('%s=%s\n') % (name, os.environ.get(name, '-'))) |
General Comments 0
You need to be logged in to leave comments.
Login now