Project

envfile

0.0
No commit activity in last 3 years
No release in over 3 years
The `envfile(1)` program is a program to run another program; much like `sudo(1)` or `chroot(1)`. The difference is that this program is designed to modify environment variables before that.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
>= 0
>= 0
>= 0

Runtime

>= 0
>= 0
 Project Readme
ENVFILE(1)           BSD General Commands Manual            ENVFILE(1)

NAME
     envfile - execute a command under a crafted environment

SYNOPSIS
     envfile foo.env -- program [argv...]

DESCRIPTION
     The envfile(1)  is a  program to  run another  program; much
     like  sudo(1) or  chroot(1).   The difference  is that  this
     program is  designed to modify environment  variables before
     that.

FILES
     The  `envfile(1)` program  takes an  env file  as its  first
     argument.  They can either be one of

      * Perl program when their suffixes are '.pl' or '.perl';
      * JSON file when their suffixes are '.js' or '.json';
      * YAML file when their suffixes are '.yml' or '.yaml';
      * Otherwise envfile  formatted, where KEY=VALUE is written
        each line.
  
EXAMPLES
        $ cat > foo.env
        FOO=foo
        BAR=bar
        ^D
        $ envfile foo.env ruby -e 'puts ENV["FOO"], ENV["BAR"]'
        foo
        bar

AUTHOR
     This  is  a Ruby  translation  of  p5-App-envfile by  Urabe,
     Shyouhei  <shyouhei@ruby-lang.org>.   Original Perl  version
     was by xaicron <xaicron@cpan.org>.

BUGS
     You  need  a working  Perl  interpreter  to understand  Perl
     program.

ENVFILE(1)           BSD General Commands Manual            ENVFILE(1)