aboutsummaryrefslogtreecommitdiff
path: root/doc/pies.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/pies.texi')
-rw-r--r--doc/pies.texi15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/pies.texi b/doc/pies.texi
index 63064e5..4bd2f8f 100644
--- a/doc/pies.texi
+++ b/doc/pies.texi
@@ -1064,6 +1064,7 @@ env @{
1064 clear; 1064 clear;
1065 keep @var{pattern}; 1065 keep @var{pattern};
1066 set "@var{name}=@var{value}"; 1066 set "@var{name}=@var{value}";
1067 eval "@var{value}";
1067 unset @var{pattern}; 1068 unset @var{pattern};
1068@} 1069@}
1069@end group 1070@end group
@@ -1123,6 +1124,20 @@ env @{
1123@end example 1124@end example
1124@end deffn 1125@end deffn
1125 1126
1127@deffn {env} eval "@var{value}"
1128Perform variable expansion on @var{value} and discard the result. This
1129is useful for side-effects. For example, to provide default value for
1130the @env{LD_LIBRARY_PATH} variable, one may write:
1131
1132@example
1133@group
1134env @{
1135 eval "$@{LD_LIBRARY_PATH:=/usr/local/lib@}";
1136@}
1137@end group
1138@end example
1139@end deffn
1140
1126@deffn {env} unset @var{pattern} 1141@deffn {env} unset @var{pattern}
1127Unset environment variables matching @var{pattern}. The following 1142Unset environment variables matching @var{pattern}. The following
1128will unset the @env{LOGIN} variable: 1143will unset the @env{LOGIN} variable:

Return to:

Send suggestions and report system problems to the System administrator.