instead of piecemeal loading of certain files, like functions.sh, i have swerved over into the oncoming lane where we now just pull in the feisty meow startup process. shouldn't take any extra time if it was already loaded or assets like aliases survived into the running shell. but the great thing is now that i can stop referring to scripts with paths if needed (when in bash), because the functions and aliases i expect to be able to use are now available. dovetails with earlier removal of lightweight init feature.
# starts up the gpg-agent, but only if it's not already running.
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
if [ -z "$(psa gpg-agent)" ]; then
gpg-agent --daemon --enable-ssh-support --write-env-file "${HOME}/.gpg-agent-info" &>$TMP/zz_gpg-agent-daemon.log
#
# Author: Chris Koeritz
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
# we only try to do something if trac is missing.
if [ "$(psfind tracd)" ]; then
#!/bin/bash
-source $FEISTY_MEOW_SCRIPTS/core/functions.sh
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
TEMPO_FILE="$(mktemp "$TMP/zz_feistypack.XXXXXX")"
# specify where we keep the file until we're ready to move it.
#!/bin/bash
-source $FEISTY_MEOW_SCRIPTS/buildor/seek_all_source.sh
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
+source "$FEISTY_MEOW_SCRIPTS/buildor/seek_all_source.sh"
function strip_file {
file=$1
#!/bin/bash
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
source "$FEISTY_MEOW_SCRIPTS/buildor/seek_all_source.sh"
function strip_file {
SOURCES_FOUND_LIST="$(mktemp "$TMP/sources_found.XXXXXX")"
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
source $FEISTY_MEOW_SCRIPTS/buildor/seek_all_source.sh $*
# got a list of source files now.
#!/bin/bash
-source $FEISTY_MEOW_SCRIPTS/buildor/gffs_builders.sh
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
+source "$FEISTY_MEOW_SCRIPTS/buildor/gffs_builders.sh"
echo stopping any running genesis processes...
bash $GFFS_TOOLKIT_ROOT/library/zap_genesis_javas.sh
#
# go to the main folder of the project you're building before you run this.
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
echo "$(date_stringer)"
echo "Building application from $(\pwd)"
# information for su.
# get the x authority info for our current user.
- source $FEISTY_MEOW_SCRIPTS/x_win/get_x_auth.sh
+ source "$FEISTY_MEOW_SCRIPTS/x_win/get_x_auth.sh"
if [ -z "$X_auth_info" ]; then
# if there's no authentication info to pass along, we just do a normal su.
unalias CORE_ALIASES_LOADED &>/dev/null
unset -f function_sentinel
# reload feisty meow environment in current shell.
- source $FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh
+ source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
# run nechung oracle to give user a new fortune.
nechung
restore_terminal_title
# a frivolous but useful script that shows information about the local
# computer in terms of an adventure game inventory listing.
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
unset -v codename osname osver
if [ $OPERATING_SYSTEM == "UNIX" ]; then
source "$FEISTY_MEOW_VARIABLES_LOADING_FILE"
# Set up the temporary directory.
- source $FEISTY_MEOW_SCRIPTS/core/create_tempdir.sh
+ source "$FEISTY_MEOW_SCRIPTS/core/create_tempdir.sh"
fi
# load the larger body of standard feisty meow variables into the environment.
# we actually want this to always run also; it will decide what variables need
# to be set again.
-source $FEISTY_MEOW_SCRIPTS/core/variables.sh
+source "$FEISTY_MEOW_SCRIPTS/core/variables.sh"
##############
# a break out of the popular replace_pattern_in_file function that
# can work with multiple files.
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
pattern="$1"; shift
replacement="$1"; shift
# choose perl's IO over the ms-windows version so we can handle file
# bytes properly.
fi
-
+
# iterate across our sub-directories and find the perl scripts.
# this currently only looks one level down.
for i in $FEISTY_MEOW_SCRIPTS/*; do
# a helpful script that scrapes any active game saves from wine's storage
# area into a spooling saves folder for archiving.
-source $FEISTY_MEOW_SCRIPTS/core/functions.sh
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
WINE_SOURCE_DIR="$HOME/wine_goods/My Games"
SPOOLING_OUTPUT_DIR="$HOME/spooling_saves"
# is synched onto the other archive hosts. in that sense, the musical host is itself a
# musix archive, but it is treated "special".
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
#hmmm: add the goodness around these actions like the "nice" updater so we catch all errors.
#!/bin/bash
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
source "$FEISTY_MEOW_LOADING_DOCK/custom/scripts/pick_credentials.sh"
# a wrapper for the file transfers using secure shell.
# wraps calling the secure shell to let us pick our appropriate credentials.
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
source "$FEISTY_MEOW_SCRIPTS/tty/terminal_titler.sh"
#hmmm: is this still used???
# updates my little 1 TB "soapbox" style usb drive with items that it should contain.
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
function get_source()
{
# after the spam is all snagged, it is scanned for any untoward presence
# of non-spam folks using the user's valid email list.
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
# the storage area that the spam catcher tool puts the suspected spam into.
SPAM_SPOOL="/var/spool/sa-exim"
#hmmm: may want to revisit default behavior.
-source $FEISTY_MEOW_SCRIPTS/core/functions.sh
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
dirs=()
# helpful build function zone.
-source $FEISTY_MEOW_SCRIPTS/core/functions.sh
+source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
##############
#!/bin/bash
-source $FEISTY_MEOW_SCRIPTS/core/functions.sh
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
#hmmm: make this support multiple vars as parameters.
# replaces a specific environment variable with a dos approved equivalent.
echo "FEISTY_MEOW_LOADING_DOCK = $(FEISTY_MEOW_LOADING_DOCK)"
$(CATCHER)'if [ ! -d $(FEISTY_MEOW_LOADING_DOCK) ]; then mkdir -p $(FEISTY_MEOW_LOADING_DOCK); fi'
$(CATCHER)perl $(FEISTY_MEOW_SCRIPTS)/core/generate_aliases.pl
- $(CATCHER)'(source $(FEISTY_MEOW_SCRIPTS)/core/launch_feisty_meow.sh; perl $(FEISTY_MEOW_SCRIPTS)/text/new_sig.pl)'
+ $(CATCHER)'(source "$(FEISTY_MEOW_SCRIPTS)/core/launch_feisty_meow.sh"; perl $(FEISTY_MEOW_SCRIPTS)/text/new_sig.pl)'
# play the sound files specified.
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh" # provides psfind.
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
if [ $# -lt 1 ]; then
#echo no sound file specified.
# would be nice to have a block of opensim variables, perhaps an associative
# array of config chunks.
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
host=$(echo $(hostname) | sed -e 's/\([^.]*\)\..*/\1/')
# would be nice to have a block of opensim variables, perhaps an associative
# array of config chunks.
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
host=$(echo $(hostname) | sed -e 's/\([^.]*\)\..*/\1/')
#hmmm: this is really more for osgrid, since opensim has two servers.
-source $FEISTY_MEOW_SCRIPTS/opensim/opensim_utils.sh
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
+source "$FEISTY_MEOW_SCRIPTS/opensim/opensim_utils.sh"
# see if the process is findable.
# (this approach will not work if the process actually freezes up but
# this is a collection of scripts that assist in managing an opensim server.
# it uses the "screen" utility to manage opensimulator instances.
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
# set up some parameters that we believe (or have been told) are beneficial.
export MONO_THREADS_PER_CPU=1208
# utility. then the processes can all be accessed when desired, rather than
# needing to be started in 5 or so separate windows.
-source $FEISTY_MEOW_SCRIPTS/opensim/opensim_utils.sh
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
+source "$FEISTY_MEOW_SCRIPTS/opensim/opensim_utils.sh"
# jump into the opensim binaries directory so we can run stuff.
pushd $HOME/opensim/bin &>/dev/null
# screen utility. note that this will only be useful for an osgrid-attached
# sim server.
-source $FEISTY_MEOW_SCRIPTS/opensim/opensim_utils.sh
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
+source "$FEISTY_MEOW_SCRIPTS/opensim/opensim_utils.sh"
# jump into the opensim binaries directory so we can run stuff.
pushd $HOME/opensim/bin &>/dev/null
# this script stops a 0.6.9 era opensimulator system that was started by
# the run_opensim or run_osgrid script. this will work for either case.
-source $FEISTY_MEOW_SCRIPTS/opensim/opensim_utils.sh
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
+source "$FEISTY_MEOW_SCRIPTS/opensim/opensim_utils.sh"
# the brains for the script is the screen and process names we need to control.
close_application opensim OpenSim.exe
# this script stops a 0.6.9 era opensimulator system that was started by
# the run_opensim or run_osgrid script. this will work for either case.
-source $FEISTY_MEOW_SCRIPTS/opensim/opensim_utils.sh
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
+source "$FEISTY_MEOW_SCRIPTS/opensim/opensim_utils.sh"
# the brains for the script is the screen and process names we need to control.
close_application opensim OpenSim.exe
# just prints a message before terminal exit.
-source $FEISTY_MEOW_SCRIPTS/core/functions.sh
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
nechung
exit 2
fi
-source "$FEISTY_MEOW_SCRIPTS/functions.sh" # provides psfind.
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
PIDLIST=$(psfind $1)
#echo "PIDS are $PIDLIST"
# shows the current processes ordered by cpu usage.
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
sep
echo "Process list by CPU usage for $(date)"
# checkin: checks in all the folders present in the REPOSITORY_LIST variable.
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
##############
# gets any updates for the repository folders present in the REPOSITORY_LIST variable.
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
# trickery to ensure we can always update this file, even when the operating system has some
dir=.
fi
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
pushd "$dir" &>/dev/null
dir=.
fi
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
pushd "$dir" &>/dev/null
dir=.
fi
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
pushd "$dir" &>/dev/null
dir=.
fi
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
pushd "$dir" &>/dev/null
#!/bin/bash
if [ "$OPERATING_SYSTEM" = "WIN32" ]; then
- source $FEISTY_MEOW_SCRIPTS/core/functions.sh
+ source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
TMP="$(dos_to_unix_path "$TMP")"
fi
# these are helper functions for doing localized revision control.
# this script should be sourced into other scripts that use it.
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
source "$FEISTY_MEOW_SCRIPTS/tty/terminal_titler.sh"
# the maximum depth that the recursive functions will try to go below the starting directory.
# in such a way that the file count can be very high without blowing its
# mind, and without any extra headers in the report.
-source $FEISTY_MEOW_SCRIPTS/core/functions.sh
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
dirname="$1"; shift
outfile="$1"; shift # optional parm.
#hmmm: none of the user info below will work for others: parameterize it.
-#source $HOME/yeti/scripts/launch_feisty_meow.sh
-
#ssh_host=khandroma.cs.virginia.edu
ssh_host=mason.cs.virginia.edu
#!/bin/bash
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
if debian_like; then
dpkg -la | grep $*
-# load feisty meow aliases.
-source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
sudo apt-get update -y
check_result "problem while doing 'apt-get update'"
# keeps trying to mount the cd on a mac mini to overcome
# a new bug in itunes seen as of osx leopard upgrade.
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
mountpoint=/Volumes/mounty_cd
#!/bin/bash
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
echo '=============='
echo $(date_stringer | sed -e 's/_/ /g' | sed -e 's/\([0-9][0-9]\) \([0-9][0-9]\)$/:\1:\2/')
#!/bin/bash
# writes an uptime report to a file in the home directory which is named
# after the current machine's hostname.
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
export hosty=$(hostname | sed -e 's/^\([^.]*\).*$/\1/')
export REPORT_FILE="$HOME/${hosty}_uptime.log"
echo "$(date_stringer) -- $(uptime)" >>"$REPORT_FILE" 2>&1
#
# tests the array sifter methods.
-source $FEISTY_MEOW_SCRIPTS/core/array_sifter.sh
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/array_sifter.sh"
#demo 1 & 2 for test presence.
declare -a my_array=(peanuts sauce fish basil)
# tests out the time tracking methods.
-source $FEISTY_MEOW_SCRIPTS/system/time_tracker.sh
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
+source "$FEISTY_MEOW_SCRIPTS/system/time_tracker.sh"
echo testing time tracking...
start_time_tracking crungle
# the single parameter to the script is a file that contains the correct answer.
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
answer_file="$1"; shift
# This program is meant to be started by the program keep_awake and has
# the basic guts that are meant to execute inside of a semi-perpetual loop.
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
# save the process id for the goodbye program to deal with.
#echo $$ >>$TMP/trash.last_keep_awake_process
# Thanks to Kevin Wika for this shell.
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
trap '' HUP
trap '' INT
#!/bin/bash
-source $FEISTY_MEOW_SCRIPTS/core/functions.sh
+source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
# just saying this is an array...
#declare -a PRIOR_TERMINAL_TITLES