---
name: "lr_environment"
section: "1"
platform: "linux"
package: "lire"
version: "2.1.1-8"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/lr_environment"
---

# lr\_environment(1)

Export Lire configuration in shell script form

## NAME

lr\_environment - Export Lire configuration in shell script form

## SYNOPSIS

eval \`**lr\_environment**\`

## DESCRIPTION

The **lr\_environment** command is used to import the Lire configuration in Lire shell scripts.

All of Lire configuration variables will be written in a format that can be evaled by the shell.

Shell scripts don't usually have to use that command, since it is done by the *defaults* file sourced by each command.

The old names used by when the configuration was done in shell script are also exported by this script for backward compatibility.

## AUTHOR

```
  Francis J. Lacoste <flacoste@logreport.org>
```

## VERSION

`$Id:` lr\_environment.in,v 1.12 2006/07/23 13:16:33 vanbaal Exp $

## COPYRIGHT

Copyright (C) 2003 Stichting LogReport Foundation LogReport@LogReport.org

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html.
