Download Latest Version senv-5.1.tgz (37.5 kB)
Email in envelope

Get an email when there's a new version of senv - Store/show env-type information

Home / OldFiles
Name Modified Size InfoDownloads / Week
Parent folder
senvtab-4.5.man5 2007-01-12 12.7 kB
senv-adv-4.5.man8 2007-01-12 13.9 kB
senv-4.5.tgz 2007-01-12 34.4 kB
senv-4.5.man1 2007-01-12 8.6 kB
senv-4.5.cpp 2007-01-12 85.9 kB
README-4.5.txt 2007-01-12 1.5 kB
Totals: 6 Items   156.9 kB 0
SENV 4.5 RELEASE - README

Features:

	The importance of not hard-coding volatile information in programs
	and scripts is well known. However, exactly how to accomplish this
	is sometimes difficult.

	This program makes the storage and retrieval of NAME/VALUE pairs
	easy, reliable and very flexible. It is as easy to execute as a
	simple "rc" file, but is vastly superior in storage and organization.

	In its simplest invocation it is called, from within a script, as
	easily as an rc include file. For example: 
        	eval $( senv -c instance -t PROD )
 
	The data is normally returned in ´VARIABLE="value"´ format, so
	invoking the command as above will set all displayed variable names. 

	What is known by senv and what is returned by it is completely and
	only defined in the senv data files.  See senvtab(5). 

	Of course, in good *nix tradition, there are many ways to organize,
	output and handle the senv data. 

Installation:
	(Use the correct version number for the version you are installing)

	o If you downloaded the tar file, untar the source code:
		$ tar -xvzf senv-4.5.tgz

	o To compile:
		$ su -
		# g++ -o /usr/local/bin/senv senv-4.5.cpp

	o Move the man pages to an appropriate location, such as:
		# cp senv-4.5.man1 senv.1
		# gzip senv.1
		# cp senv.1.gz /usr/share/man/man1/

 		# cp senvtab-4.5.man5 senvtab.5
		# gzip senvtab.5
		# cp senvtab.5.gz /usr/share/man/man5/

		# cp senv-adv-4.5.man8 senv-adv.8
		# gzip senv-adv.8
		# cp senv-adv.8.gz /usr/share/man/man8/

Source: README-4.5.txt, updated 2007-01-12