Re: Possible to define a variable for only certain directories?
- From: bsh <brian_hiles@xxxxxxxxxxxxxx>
- Date: Tue, 17 Nov 2009 17:25:29 -0800 (PST)
Janis Papanagnou <janis_papanag...@xxxxxxxxxxx> wrote:
laredotornado wrote:
Is there a
way I can define JAVA_HOME only for scripts run within a certain
directory (namely, the JBoss installation)?
Can it be as simple as?...
JAVA_HOME=<dir_of_Java_1.6> jBoss <options>
... The most simple approach may be to put a file
in every "relative root" directory ...
Or, you can "rewrite" the cd builtin with a frontend that
allows such customizations upon the environment on a per-
directory basis. I believe that "cdext" does this, but
there are many, many versions of this kind of enhancment.
Of course, this is useful only if the user or script
relies on a chdir to the directory in question instead
of a full- or relative-path call. There is not enough
information for me to tell.
I apologize for not tailoring the following list to your
purpose, because I do understand the exact paradigm, or
making it pretty, or checking for current accessibility --
but you can certainly see how many exist for this commonly
desired task.
You will probably want to do research upon this list by
resorting to the original text-only source. Google Groups
(and others) mangle the URLs and margins most egregiously.
Good luck!
=Brian
ENV,".software.pl",,http://www-unix.mcs.anl.gov/~bester/historical/
software-new/software-intro.txt,,"manage PATH: features application
keys and macro groupings instead of obscure environment
variables","Joseph Bester" <bester@xxxxxxxxxxx>
ENV,"acd_func.bash",1.0.5;2004-11-10,http://geocities.com/h2428/petar/
bash_acd.htm;http://geocities.com/h2428/petar/bashrc.htm,$0,"enhanced
chdir: see-also bn/cdext/ddgo","Petar Marinov"
<yossarian@xxxxxxxxxxxxx>
^ xtitle function; path_once function
^ D,"Command line history -- Some aspects of command line history in
BASH compared to 4NT"
^ D,"History of visited directories in BASH -- How to expand CD to
maintain a list of visited directors",,http://linuxgazette.net/109/
marinov.html,$0,"webpage","Petar Marinov"
^ D,"acd_func.sh -- Manpage of the CD replacement function"
^ D,"Bind extended keys to BASH functions"
ENV,"AIBash.c",0.5,http://aibash.sf.net/,$0,"env autocompletion","Tim
vor der Brueck" <brueck@xxxxxxx,nulli@xxxxxxxxxxxx>
^ QT: make bash(1) behave intelligently. This includes currently
corrrection of mistyped program names, autocorrection while pressing
TAB and learning which program are associated with which suffix.
ENV,"apparix.c",*,http://directory.fsf.org/apparix.html;http://
micans.org/apparix/,$0,"enhanced chdir: inspired-by cdargs","Stijn van
Dongen" <micans@xxxxxxxxx>
^ QT: The contributed bash completion code allows one to complete on
bookmarks and on subdirectories of the target directory.
^ F,"goto.bash",,http://micans.org/apparix/bashrc.goto,$0,"goto
directory matching pattern","Sitaram Chamarty"
ENV,"autoopt.",,http://AutoGen.sf.net/autoopts.html,$0,"process
configuration files, environment variables, command line options, and
text strings passed by client programs: component-of AutoGen","Bruce
Korb" <bkorb@xxxxxxx>
ENV-,"B. Adamson's .bashrc.bash",,http://www.users.on.net/
~boyd.adamson/boyds.bashrc,$0,"bash(1) dot file","Boyd Adamson" <boyd-
adamson@xxxxxxx>
ENV-,"B. Adamson's .zshrc.zsh",,http://www.users.on.net/~boyd.adamson/
boyds.zshrc,$0,"zsh(1) dot file","Boyd Adamson" <boyd-adamson@xxxxxxx>
ENV,"bash_env.bash",,http://www.xs4all.nl/~gerardvw/HOME/bin/bash_env,
$0,"dump bash environment",GVW
ENV,"bash prompt package.bash",4.5.6b,http://bash.current.nu/,
$0,"configure bash(1) dot files: NCA","Robert 'BadlandZ' Current"
<current@xxxxxxxxxxxxxxxx>
ENV,"bashcomp-config.bash",0.8,http://developer.berlios.de/projects/
bashcomp-config/,$0,"Easily configure bash completion scripts on a per-
user or system-wide basis","Aaron 'ka0ttic' Walker"
ENV,"bashish.bash (sync)",2.0.7,http://sf.net/projects/bashish,http://
bashish.sf.net;http://x.themes.org/,$0,"configure bash(1) dot
files","Thomas 'Arne' Eriksson"
<arne@xxxxxxxxxxxx,brummelufs@xxxxxxxxxxx,thomas.eriksson@xxxxxxxxx>
ENV,"bashprompt.bash",0.4.5b6,http://bash.current.nu/;http://
www.neuro.gatech.edu/users/cwilson/cygutils/unversioned/bashprompt/bashprompt-0.4.5b6.tar.gz,$0,"bash(1)
login configuration: NCA","C. Wilson"
^ QT: Bashprompt [current.nu], the original BASHISH [freshmeat.net]
was cool. I helped the project a little, providing screen captures of
the themes, and making a theme of my own [tasam.com] for bashprompt
[gatech.edu]. Their server was recently cracked [current.nu], and
they've run out of funding. Lets all pitch in and save this project.
Mods: mod this one up please, thx -- da w00t.
ENV,"become.tcl",,http://sf.net/projects/become/,$0,"Become Pre-Shell
Environment: NCA","C.J. Niemira" <cniemira@xxxxxxxxxxxx>
^ QT: unix pre-shell tool to enable portability of your environment
and commands
ENV,"bldenv.ksh",,http://cvs.opensolaris.org/source/xref/on/usr/src/
tools/scripts/bldenv.sh,$0,"build a shell/project environment"
ENV,"bn.bash",1.0.1,https://sf.net/projects/bashnavigator/;http://
bashnavigator.sf.net/,$0,"Bash Navigator -- directory names
abbreviations, navigation keys & project management","Ben Tompkins"
<brtompkins@xxxxxxxxxxxx>
ENV,"buildenv.sh",,http://www.cskk.ezoshosting.com/cs/css/bin/buildenv,
$0,"run command with a specific environment: adverbial",CS
^ ENV,"stdenv.sh",,http://www.cskk.ezoshosting.com/cs/css/bin/stdenv,
$0,"run command with a specific environment",CS
ENV,"cdargs.{bash,csh}",1.29-1,http://packages.debian.org/stable/utils/
cdargs;http://www.skamphausen.de/software/cdargs/,$0,"enhanced
chdir","Stefan Kamphausen" <mail@xxxxxxxxxxxxxx>
ENV,"cdext.c",,http://sf.net/projects/cdext/,$0,"Change Directory
Extensions -- enhanced chdir","James Newell" <ndragon@xxxxxxxxxxxx>
ENV;TUI,"cdlist.ksh",*1998;1.0,http://www.pauahtun.org/Software/cdlist.
1.html,$0,"Directory Management Package","Ivan Van Laningham"
<ivanlan@xxxxxxxxxxxx,ivanlan9@xxxxxxxxx>
ENV,"cdll.bash",*1.2.1,http://www.braham.net/Phil/linux_utils.html,
$0,"enhanced chdir","Realtime Software; Phil Braham"
<realtime@xxxxxxxxxx,phil@xxxxxxxxxx>
ENV,"cd_wrapper.ksh",2.4,http://www.xs4all.nl/~gerardvw/HOME/
ksh_settings/functions/cd_wrapper,$0,"interactive chdir: requires
cdExt",GVW
^ M,"cdExt.ksh",*2.3,http://www.xs4all.nl/~gerardvw/HOME/ksh_settings/
functions/cdExt,$0,"interactive wrapper function over chdir",GVW
^ ^ - Steps to determine a target directory:
1. Normal ksh cd ($CDPATH, cd dir1 dir2).
2. Try last argument.
3. Try the result of 2 as a variable name.
4. If the argument is an executable, jump to its directory.
5. Try to jump to $1 directory, but one dir higher.
6. Return to the function cd_wrapper to offer a select .. in .. do ...
done based choice.
7. Try to jump to ~$1
--
ENV,"changeVar.ksh",1.0,http://www.xs4all.nl/~gerardvw/HOME/
ksh_settings/functions/changeVar,$0,"change environment variable",GVW
ENV,"checkpath.ksh",1.0,http://www.bell-labs.com/project/wwexptools/
paypackages.html,$29,"package of manipulating $PATH: comprises
checkpath/editpath/formpath/normfile/purgepath/searchpath/splitpath/
where","Warren D. Swan"
<swans@xxxxxxxxxx>
ENV,"cisraenv.sh",,http://www.cskk.ezoshosting.com/cs/css/bin/cisraenv,
$0,"run a command with a specific environment setup: requires
noldpath; adverbial","Cameron Simpson" <cs@xxxxxxxxxx>
^ ENV,"enter.sh",,http://www.opensource.apple.com/darwinsource/10.3.7/
postfix-132.2/postfix/mantools/enter,$0,"enter a project-specific
environment","Wietse Z. Venema" <wietse@xxxxxxxxxxxxx>
^ ^ http://www.postfix.org/download.html
ENV,"clean_path.ksh",1.7,http://groups.google.com/group/
comp.unix.shell/browse_thread/thread/aeacf613917484bb/
4145b5bcf4893343#4145b5bcf4893343%20#%20PATH%20...,$0,"","Dan Mercer"
ENV,"collection of bash(1) dot files",,http://www.dotfiles.com/files/
3/,$0,"webpages"
ENV,"collection of ksh(1) dot files",,http://www.dotfiles.com/files/
5/,$0,"webpages"
ENV,"common.profile.ksh93?",,from http://www.unixlabplus.com/unix-prog/common.profile/,$0,"",MW
ENV,"cueenv.pl",1.0;2001,<Ericsson Erisoft AB>,$0,": component-of
cue","Ove Risberg" <Ove.Risberg@xxxxxxxxxxxxxxx>
^ Usage: cueenv shell script/version...
ENV,"ddgo.bash",,https://sf.net/projects/ddgo/,$0,"The Go Command --
enhanced chdir: NCA","Al Alexander" <devdaily@xxxxxxxxxxxx>
*ENV,"dot-bash.",,http://dotfiles.com/292_bash_styles.tgz,
$0,"initialization files:
contains .bash_history/.bash_dircolors/.bash_profile/.bash_styles/.bash_completion/.inputrc","Werner
Fink" <werner@xxxxxxx>
^ etc/inputrc put different TERMs together in one readline init file.
^ RM: available prompt styles: ice, fire, nature, sunshine, dream,
magic, dumb, [custom...]
ENV,"Dotfile Generator.tcl",2.4.1-2,http://www.blackie.dk/
dotfile/;http://sunsite.bilkent.edu.tr/pub/linux/dotfile/,
$0,"configure bash/elm/fvwm1/fvwm2/ipfwadm/procmail/rtin/tcsh dot
files","Jesper Kjær Pedersen" <blackie@xxxxxxxxxxx,blackie@xxxxxxxxxx>
^ ftp://ftp.neosoft.com/pub/tcl/sorted/misc/dotfile-2.0.tar.gz
ENV;LIB,"dual.zsh; undual.zsh",,http://zsh.dotsrc.org/Contrib/scripts/
users/debbiep/{dual,undual},$0,"Tie non-special variables like PATH
and path together","Debbie Pickett"
ENV,"ecd.",,http://home.comcast.net/~micah.d.elliott/,$0,"enhanced
chdir","Micah Elliott" <micah.d.elliott@xxxxxxxxx>
ENV,"env.c",1984,,$0,"display user environment, or set variable for
command execution: rewrite-of AT&T env(1)","David M. Ihnat" <ihuxx!
ignatz>
ENV,"env.c",,http://sf.net/projects/env/,$0,"enhanced env(1)","Bradley
Dean" <bjdean@xxxxxxxxxxxx>
ENV,"env.src",*1999-08-07,http://www.gyger.org;http://www.dotfiles.com/
files/5/78_env.src,$0,"csh(1)/ksh(1) generic dot file","Markus Gyger"
<Markus+homepage@xxxxxxxxx,mgyger@xxxxxxx>
ENV,"env-search.py",*,http://stromberg.dnsalias.org/~strombrg/env-
search.html;http://stromberg.dnsalias.org/~strombrg/env-search,
$0,"",DS
^ A,"export-to-env-search.py",,http://stromberg.dnsalias.org/~strombrg/
export-to-env-search,$0,"converts envvars list to format of env-
search",DS
ENV,"EnvGenie.java",0.2,http://freshmeat.net/projects/
envgenie/;https://hritcu.wordpress.com/projects/envgenie/;http://
freshmeat.net/projects/envgenie/;http://hritcu.madpage.com/envgenie/
EnvGenie-src-0.2.tar.bz2,$0,"environment
variable manager: multi-platform: Java/XML (JDOM)","Catalin Hritcu"
<Catalin.Hritcu@xxxxxxxxx>; "Dan Gafencu"
ENV,"environ.c",1987,ftp://smarty.smart.net/pub/rlhamil/goodies/
environ.tar.gz,$0,"show environment, file descriptors, etc:
adverbial?","Richard L. Hamilton" <rlhamil@xxxxxxxxx,erik@xxxxxxxxx>
^ http://www.smart.net/~rlhamil/
^ ^ F,"audiokey.c",,ftp://smarty.smart.net/pub/rlhamil/goodies/
audiokey.c Implement the mute, volume down, and volume up keys on a
Sun Type 5 keyboard"
^ ^ SY: F,"dtwmcmd.c",,ftp://smarty.smart.net/pub/rlhamil/goodies/
dtwmcmd.c,$0,"send f. commands to the CDE Window Manager from a shell
script"
^ ^ SY: F,"dtwsminfo.c",,ftp://smarty.smart.net/pub/rlhamil/goodies/
dtwsminfo.c,$0,"obtain CDE Workspace Manager information"
^ ^ SY: F,"dtsavers.c",,ftp://smarty.smart.net/pub/rlhamil/goodies/
dtsavers.c,$09,"manipulate CDE screen saver list from a shell script"
ENV,"Environment Modules.{c,tcl},*3.2.3,http://freshmeat.net/projects/
modules/;http://modules.sf.net/,$0,"environment manager: interactive,
unloadable: see-also softenv/usepackage","John L. Furlani"; "Peter W.
Osel"
<rk@xxxxxxxxxxxxx>
^ Elling, Richard & Matthew Long, "user-setup: A system for Custom
Configuration of User Environments, or Helping Users Help Themselves",
from Proceedings of the Sixth Systems Administration Conference (LISA
VI). pp. 215-223.
Long Beach, CA. 1992-10-19P10-23. <http://modules.sf.net/docs/user-
setup.pdf>
^ D,"Abstract Yourself With Modules",,,$0,".PS","John L. Furlani"
^ ENV,"env-switcher.",1.0.13,http://sf.net/projects/env-
switcher/;http://env-switcher.sf.net/,$0,"ENVironment SWITCHER:
utilizes modules()","Jeff Squyres" <jsquyres@xxxxxxxxxxxx>
ENV,"env-search.py",0.5,http://freshmeat.net/projects/env-
search/;http://stromberg.dnsalias.org/~strombrg/env-search.html,
$0,"save environment into a file","Dan Stromberg" <strombrg@xxxxxxxxx>
ENV,"envv.c",1.6,http://gatekeep.cs.utah.edu/ftp/hpux/Shells/
envv-1.6/,$0,"manage environment: similar-to env.src; shell-
independent","David F. Skoll"
<dfs@xxxxxxxxxxxxxxx,aa775@xxxxxxxxxxxxxxxxxxx>
ENV,"Envulator.pl",0.07b,http://sf.net/projects/envulator/,
$0,"maintain a unified login environment","'Smackware'"
<smackware_@xxxxxxxxxxxx>
ENV,"envy.pl",2.44,http://www.perl.com/CPAN/authors/id/JPRIT/,
$0,"manage envvars: shell-independent","Joshua Nathaniel Pritikin"
<joshua.pritikin@xxxxxx>
^ http://backpan.perl.org/authors/id/J/JP/JPRIT/Envy-2.19.readme
^ http://www.perl.com/CPAN/authors/id/JPRIT/
ENV,"fn.ksh",1.0,http://www.bell-labs.com/project/wwexptools/
paypackages.html,$29,"navigate viewpath nodes: comprises cn/fn/
setvpath/topnode"
ENV,"gchistory.bash",0.1.6,http://sf.net/projects/bash-gchistory/,
$0,"Global Command History","Praveen" <ps_praveenkr@xxxxxxxxxxxx>
ENV,"go-funcs.ksh",,ftp://sunsite.unc.edu/pub/Linux/utils/shell/Go-
Funcs.{lsm,txt},$0,"enhanced chdir: contains here, go, there","Malcolm
Dew-Jones" <73312.2317@xxxxxxxxxxxxxx>
ENV,"goto.ksh",1.57,http://home.arcor.de/bnsmb/public/solaris/scripts/
misc/goto.sh,$0,"simple dispatcher","Bernd Schemmer"
<bnsmbW@xxxxxxxxx,Bernd.Schemmer@xxxxxx>
ENV,"HickUP.",,http://www.hickup.org/,$0,"Hick User Profiler --
configuration manager: utilizes GTK+","Daniel Bergström"
<daniel@xxxxxx>
^ ENV,"CUE.{sh,pl}",1.0,http://www.hickup.org/cue/About.html;ftp://
ftp.luth.se/pub/unix/app/SRPMS/cue-1.0-75.src.rpm,$0,"software
distribution and environment configuration -- Common User Environment:
uses HickUP","Ove Risberg"
<Ove.Risberg@xxxxxxxxx>
ENV,"ibpconf.bash",6.2,http://asciipr0n.com/fp/ibpconf.sh-6.2.tar.gz,
$0,"configure bash(1) prompt","'Faux_Pseudo'" <Faux_Pseudo@xxxxxxxxx>
ENV,"IDH.bash",3.0,http://sf.net/projects/snippets/;<snippets.tgz:
101204>,$0,"Interactive Directory History -- library and envvars to
interact with directory history","Steve A. Rowe" <steve_rowe@>
ENV,"insanity.c",5.0,http://www4.ncsu.edu/eos/users/s/sdconley/www/
insanity.html,$0,"generate csh(1) dot files","Steve Conley"
<sconley@xxxxxxxxxxxxxxx>
ENV,"jd.py",*1.0a,http://sf.net/projects/jdalias/,$0,"Jump to Aliased
Directory -- aliased-based directory navigation system","Jeet
Sukumaran" <jeetsukumaran@xxxxxxxxxxx,jeetsukumaran@xxxxxxxxxxxx>
ENV,"Joshua Uziel's .bashrc",,http://uzix.org/bashrc.txt,$0,"bash(1)
dot file","Joshua Uziel" <uzi@xxxxxxxx,uzix.net,juziel@xxxxxxxx>
ENV,"kcd.c",7.14.0;7.15.0;2009-02-18,http://kcd.sourceforge.net/,
$0,"ncd(1) clone: requires requires zlib/ncurses","Kriang
Lerdsuwanakij" <lerdsuwa@xxxxxxxxxxxx>
^ ncd? looks like xtree!
^ http://www.softpanorama.org/OFM/norton_change_directory_clones.shtml#Kcd
^ Features: http://kcd.sourceforge.net/doc/kcd-7.15.0.lsm
ENV,"korner.c",1987,<SIMTEL/UNIX-C.UTILS>;http://ftp.unicamp.br/pub/
unix-c/utils/csh-to-ksh.tar.Z;http://ftp.unicamp.br/pub/unix-c/utils/
{000-index.txt,csh-to-ksh.tar.Z},$0,"convert csh(1) env into .KSH: AKA
csh-to-ksh","Robert
'Bob' L. McQueer" <bobm@xxxxxxxxxx>
ENV,"LUCI.py",0.2.2,http://freshmeat.net/projects/luci/;http://
luci.sautret.org/;http://jsautret.free.fr/luci/,$0,"LUCI is a
Universal Configuration Interface; implements GTK+","JT'r(^me Sautret"
<Jerome@xxxxxxxxxxx>
ENV,"marks.ksh",1.3.1,http://unix.freshmeat.net/projects/marks/;http://
www.etallen.com/,$0,"enhanced chdir","Todd Allen"
<todd.allen@xxxxxxxxxxx,marks@xxxxxxxxxxx>
ENV,"mkenv.ksh",,,$0,"function outputting source-able
environment","Brian Hiles" <bsh@xxxxxxxxx>
ENV,"Msys Toolkit.{pl,sh}",*,http://www.mcs.anl.gov/systems/
software/;http://www-unix.mcs.anl.gov/systems/software/msys/,$0,"MCS
SYStems Administration Toolkit"
^ *M,"whatami.sh",2.2.3,,,
^ M,"softenv.pl",1.17,,$0,"lists all keys and macros","Alan Bailey"
<bailey@xxxxxxxxxxx>
^ M,"pkg.pl",1.2.3,,,
^ "chex",1.1.0,,,
^ M,"sanity.",2.0.5,,,
^ U,"gpd.pl",0.2.0,,$0,"General Purpose Daemon"
ENV,"myprompt.bash",,http://www.dotfiles.com/files/3/170_myprompt,
$0,"configure ANSI-color prompt","Christopher Barry"
<cbarry@xxxxxxxxxxxx>
ENV;LIB,"nb.bash",0.6,http://sf.net/projects/XXX/,$0,"NiceBashing --
framework for sharing libraries of functions/aliases/variables/
etcetera","Alexei Znamensky" <russoz@xxxxxxxxxxxx>
^ Wiki: http://nicebashing.wiki.sf.net/
^ RM: It comes with some libraries, such as ssh, net, bash (itself)
for starters. Users can control which libraries to load, load their
own shell libraries.
ENV,"path.c",3.3,http://www.canb.auug.org.au/~dbell/programs/
path-3.3.tar.gz,$0,"manage PATH","David Ingalls Bell"
<dbell@xxxxxxxxxxxxxxxx>
ENV,"path_funcs.sh",,http://cfaj.freeshell.org/src/scripts/path-funcs-
sh,$0,"enhanced chdir",CFAJ
ENV,"pathconf.c",,ftp://smarty.smart.net/pub/rlhamil/goodies/
pathconf.c,$0,"manage PATH"
ENV,"pathfns.c",,http://www.greenend.org.uk/rjk/2002/01/pathfns.html,
$0,"manage PATH",RK
ENV,"pathmerge.",,http://freshmeat.net/projects/pathmerge/;http://
membled.com/work/apps/pathmerge/,$0,"manage PATH","Ed Avis"
<ed@xxxxxxxxxxx>
ENV,"pathadd.ksh; pathck.ksh; pathls.ksh; pathrm.ksh",,http://
gibbsie.org/modules.php?name=News&file=print&sid=242,$0,"manage
PATH","William Seppeler" <seppeler@xxxxxxxxx>
ENV,"pathmgr.{bash,pl}",1.1,http://sf.net/projects/pathmgr/,$0,"manage
PATH","Matt Boyd" <mattboyd@xxxxxxxxxxxx>
^ RM: Persistently edit variables with commands like 'path edit
APP_HOME'. Change vars used in your path and then reload with 'path
load PATH'. And there is more...
ENV,"pathmgr.ksh",2002-02-28,http://dellelce.com/code/path/,$0,"manage
PATH: deprecated:pathadd/SCh","Antonio Dell'elce" <neaya@xxxxxxxxx>
ENV,"pmark.csh",2001-10-27,http://www.unixreview.com/documents/s=1344/
ur0306f/;http://www.unixreview.com/documents/s=1344/ur0306f/
ur0306f_script.htm,$0,"persistently mark CWD for chdir back","Bruce
Israel"
<israel@xxxxxxx,israel@xxxxxxx>
ENV,"pwdrc.bash",,http://freshmeat.net/projects/pwdrc/;http://
www.freaknet.org/alpt/src/utils/pwdrc/,$0,"associate commands to a
chdir","Andrea 'AlpT' Lo Pumo" <alpt@xxxxxxxxxxxx>
ENV,"rabl.bash",0.5e,https://sf.net/projects/rabl/,$0,"RepeatABLe
shell environment -- function library","Joseph Khoobyar"
<ankhcraft@xxxxxxxxxxxx>
^ features option parsing, usage messages, prompting, etcetera.
ENV,"rcd.c",1.0,,$0,"Rapid Change Directory -- enhanced chdir: AKA
R'alf (Registered Alien Life Form) Change Directory","Raphael (R'alf)
Moll" <moll@xxxxxxxxxxxxxxxxxxxxx>
ENV,"recd.bash",,http://sf.net/projects/recd/,$0,"chdir again via
regular expression","Brian Holtz" <brianholtz@xxxxxxxxxxxx>
ENV,"rm_secure.bash",,http://www.blaess.fr/christophe/logiciels/src/
rm_secure.sh,$0,"enhanced rm(1)","Christophe Blaess"
ENV,"rmtotrash.bash",,http://sf.net/projects/rmtotrash/,$0,"rm(1)
frontend"
ENV,"setconsole.bash",0.5,https://sf.net/projects/setconsole/,
$0,"console initialization script","Atis 'xAM' Lezdins"
<atis.l@xxxxxxxxx>
ENV,"setd.c; mark.c",1.7,<comp.sources.unix>/v25i106/;http://
www.isc.org/sources/utils/file/setd.php;http://sf.net/projects/setd/,"SET
Directory -- enhanced chdir: sf.net NCA","Sunil William Savkar"
<sunil@xxxxxxx,savkar@xxxxxxxxxxxx>
ENV,"setvar.pl",,http://www.cskk.ezoshosting.com/cs/css/bin/setvar,
$0,"",CS
ENV,"shctl.",,https://sf.net/projects/shctl/;http://www.schmonz.com/,
$0,"customize shell environment: NCA","Amitai Schlair"
<schmonz@xxxxxxxxxxxx,schmonz@xxxxxxxxxxx>
^ http://www.livejournal.com/download/?platform=Command-line
ENV,"shebang-wrapper.c",,http://shebangwrapper.sf.net/;http://sf.net/
projects/shebangwrapper/,$0,"workaround sillyness with #!:
adverbial?","Scott Dworkis" <svdworkis@xxxxxxxxxxxx>
^ QT: the #! mechanism has some wierdness and shortcomings which this
wrapper works around... like that you can only pass a single argument
to the interpreter, and that it ignores the PATH variable.
^ D,"shebang...",,http://homepages.cwi.nl/~aeb/std/hashexclam-1.html
ENV,"sheepdog.bash",0.3,http://www.faisal.com/software/,$0,"system for
managing consistent dotfiles/environment","Faisal N. Jawdat"
<faisal@xxxxxxxxxx>
ENV,"Shell::EnvImporter::Shell::ksh.pl",1.04,http://
packages.gentoo.org/ebuilds/?Shell-EnvImporter-1.04,$0,"import
environment variable changes from external commands or shell scripts:
see-also korner","David Faraldo" <dfaraldo@xxxxxxxx>
ENV,"shellconfig.bash",0.0.1,https://sf.net/projects/shellconfig/,
$0,"provides basic config-file support to scripts/
applications","Michael 'nomike' Postmann"
<nomike@xxxxxxxxxxxx,michael.postmann@xxxxxx>
ENV,"shellrc.sh",*2007-12-25,http://kapsi.fi/~juhtolv/configs/shellrc/,
$0,"{a,ba,k,pdk}sh dot files: similar-to elfshell","Juhapekka 'naula'
Tolvanen" <juhtolv@xxxxxx,juhtolv@xxxxxxxxx,juhtolv@xxxxxxxxx>
^ stand-alone versions: http://iki.fi/juhtolv/hacks/sh/{galeon,latex,musicplaying,netscape,pv,systemmonitoring}
^ installshellrc.sh still in existence?
^ was: http://www.cc.jyu.fi/~juhtolv/hacks/sh/installshellrc/;http://www.cc..jyu.fi/~juhtolv/configs/shellrc/
^ check: http://iki.fi/juhtolv/configs/shellrc/
^ RM: folding used. Get folding.el for your emacs here:
http://www.csd.uu.se/~andersl/emacs.shtml http://tiny-tools.sf.net/
ENV,"ShellScript-Env.pm",,http://search.cpan.org/src/SVENH/ShellScript-
Env-0.1/README,$0,"create simple Bourne and C Shell to set
environment","Sven Heinicke" <sven@xxxxxxx>
ENV,"showargs.sh",,http://www.shelldorado.com/scripts/cmds/
showargs.txt
ENV,"stdenv.sh",,http://www.cskk.ezoshosting.com/cs/css/bin/stdenv,
$0,"run command with a specific environment: adverbial",CS
^ ?? is the same as: @,"buildenv.sh",,http://www.cskk.ezoshosting.com/
cs/css/bin/buildenv,$0,"run command with a specific environment",CS
^ should be hardlinked to: buildenv, stdenv, rawpath, openwin, gnome,
gnu, ucb|bsd, att|sysv|sys5
ENV,"softenv.pl",*1.4.2,http://www-unix.mcs.anl.gov/systems/software/
msys/,$0,"manage environment: interactive, scriptable; component-of
Msys Toolkit","Robert Leslie"; "Remy Evard", "Alan Bailey"
<bailey@xxxxxxxxxxx>
ENV,"software-cache.sh",,http://www-unix.mcs.anl.gov/~bester/
historical/software-new/sw.db.txt "Robert Leslie"
<django@xxxxxxxxxxx>; "Joe Bester" <bester@xxxxxxxxxxx>
^ ENV,"software-cache.csh",,http://www-unix.mcs.anl.gov/~bester/
historical/software-new/software-cache.csh.txt
^ - for .sh version:
Q: What is the best way to get good path information in a shell script
started by cron?
A: To get your normal environment in a shell script, something like
this ought to work:
[ -r /home/USER_ID/.software-cache.sh ] && . ${HOME}/.software-
cache.sh
--
ENV,"startup_wrapper.c",1,http://www.isc.org/sources/utils/shell/
startup.php;<comp.sources.unix/,$0,"login wrapper that defines
environment variables and then execs shell: adverbial","Maarten
Litmaath" <maart@xxxxxxxxxxxxxxxxx>
ENV,"super-session.c",1.9.7,http://freshmeat.net/projects/super-
session/;http://avi.alkalay.net/software/super-session/
description.html;http://www.geocities.com/aviram/software/super-
session/,$0,"collection of XXX dot files:
NCA","Avi Alkalay"
<avibrazil@xxxxxxxxx,avi@xxxxxxxxxxx,avi@xxxxxxx,avi@xxxxxxxxxx>
ENV,"The Bash Prompt
HOWTO",1.2,http://www.gilesorr.com/bashprompt/;http://
www.shelluser.net/~giles/bashprompt/howto/book1.html;http://www.shelluser.net/~giles/bashprompt/prompts/;http://www.shelluser.net/~giles/bashprompt/;http://www.dreaming.org/~g
iles/,$0,"webpages","Giles Orr" <giles@xxxxxxxxxxxx>
^ D,"12.8. The Floating Clock Prompt",,http://www.tldp.org/HOWTO/Bash-
Prompt-HOWTO/clockt.html,$0,"webpage",
^ http://linuxreviews.org/howtos/Bash-Prompt-HOWTO/en/
^ http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/
^ F,"Javascript Prompt-o-matic",2003-11-21,http://www.gilesorr.com/
bashprompt/jsb/prompt.html,$0,"webpage","Giles Orr"
<giles@xxxxxxxxxxxx>
ENV,"The Tcshrc Project",,http://tcshrc.sf.net,$0,"collection
of .tcshrc files"
ENV,"ucd.ksh",*3.4,ftp://ftp.armory.com/pub/scripts/kshfuncs/,
$0,"enhanced chdir: contains: bang/dirs/history/ucd; see-also cdext;
features history, directory database lookup, etcetera","John H. DuBois
III" <john@xxxxxxxxxx>
ENV,"use.c",*1.07;2007-03-06,http://sf.net/projects/use/,$0,"envvar
manager: adverbial; configurable; see-also startup-wrapper",AM
^ QT: "use matlab" would append /opt/matlab/bin to PATH. Credit goes
to Mike Gifford for original concept.
^ FILES: use.table use.{sh,csh,ksh,bash,tcsh} use.bin
ENV,"usepackage.{c,yacc}",*1.8,http://usepackage.sf.net/;http://sf.net/
projects/usepackage/;http://freshmeat.net/projects/usepackage/;http://
www.onegoodidea.com/source.html,$0,"Usepackage Environment Manager --
manage envvars:
multi-tool, multi-platform","Jonathan Hogg"
<jhogg@xxxxxxxxxxxx,jonathan@xxxxxxxxxxxxxxx>
^ ksh stub: function use { eval `@bindir@/usepackage -b $*`; }
ENV,"user-setup.csh",,,$0,"A System for Custom Configuration of User
Environments","Richard Elling", "Matthew Long"
ENV,"x.ksh",,http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/
x_ksh_export_displa http://www.sun.com/bigadmin/scripts/submittedScripts/x.ksh.txt
"Description: Export DISPLAY to remote machine: adverbial"
^ Example: x admintool
ENV,"zappath.sh",,http://www.grymoire.com/Unix/Scripts/Zappath.sh,
$0,"shortens output of csh dirs builtin","Bruce Barnett"
ENV,"zen.bash",0.1b,http://www.ibiblio.org/pub/linux/system/misc/
zen-0.1b.tar.gz,$0,"color schemes, prompt schemes, and a formatted
vhost table, bashrc and global bash profiles","Tim Perkins"
<tperkins@xxxxxxxxxxxx>
^ ftp://ftp.neurotic.org/pub/linux/zen ftp://ftp.inetarena.com/pub/linux/zen
.
- References:
- Possible to define a variable for only certain directories?
- From: laredotornado
- Re: Possible to define a variable for only certain directories?
- From: Janis Papanagnou
- Possible to define a variable for only certain directories?
- Prev by Date: Re: object oriented shell scripts
- Next by Date: Re: dd command & reading in background
- Previous by thread: Re: Possible to define a variable for only certain directories?
- Next by thread: ☆°ω°☆ *** cap ed hardy cap coogi cap lv cap etc with factory price
- Index(es):