OpenBSD CVS

CVS log for src/usr.bin/mg/interpreter.c


[BACK] Up to [local] / src / usr.bin / mg

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_6_9


Revision 1.20 / (download) - annotate - [select for diffs], Fri Mar 26 12:31:37 2021 UTC (3 years, 2 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.19: +32 -6 lines
Diff to previous 1.19 (colored)

Add 'get-environment-variable', in a fashion:

(define curdir(get-environment-variable CURDIR))
(insert curdir)

Should now print the value of the environment variable CURDIR's value,
or error if it is not set.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.