Help for this page

Select Code to Download


  1. or download this
    #include <stdlib.h>
    #include <stdio.h>
    
    ...
      printf( "%s is %s\n", arg, getenv(arg) );
      exit(0);
    }
    
  2. or download this
    #! /usr/bin/perl -w
    
    use strict;
    ...
    
    $ENV{$var} = $value;
    system "./env-echo $var";