equal
deleted
inserted
replaced
409 content |
409 content |
410 paged! 'M a\n' |
410 paged! 'M a\n' |
411 |
411 |
412 Environment variables like LESS and LV are set automatically: |
412 Environment variables like LESS and LV are set automatically: |
413 $ cat > $TESTTMP/printlesslv.py <<EOF |
413 $ cat > $TESTTMP/printlesslv.py <<EOF |
414 > from __future__ import absolute_import |
|
415 > import os |
414 > import os |
416 > import sys |
415 > import sys |
417 > sys.stdin.read() |
416 > sys.stdin.read() |
418 > for name in ['LESS', 'LV']: |
417 > for name in ['LESS', 'LV']: |
419 > sys.stdout.write(('%s=%s\n') % (name, os.environ.get(name, '-'))) |
418 > sys.stdout.write(('%s=%s\n') % (name, os.environ.get(name, '-'))) |