X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Fgenerate_aliases.pl;h=343df73525987539a407b552e501068d2e67d12e;hb=59c7011aceee4a122495f92de0dc191fbb4f8293;hp=e8ef595f7b8916b4a4a3e0c762d7d0d105f4eb21;hpb=dbe3a7d9104352d69efdaa5eca600908ecc9bba8;p=feisty_meow.git diff --git a/scripts/core/generate_aliases.pl b/scripts/core/generate_aliases.pl index e8ef595f..343df735 100644 --- a/scripts/core/generate_aliases.pl +++ b/scripts/core/generate_aliases.pl @@ -1,25 +1,25 @@ #!/usr/bin/perl -############################################################################### -# # -# Name : generate_aliases # -# Author : Chris Koeritz # -# Rights : Copyright (C) 1996-$now by Author # -# # -# Purpose: # -# # -# This script generates YETI alias files. Alias files contain a list of # -# definitions for command aliases that are written in the specified shell # -# dialect (such as bash or perl) and which are additionally tailored for the # -# operating system to be used. # -# # -############################################################################### -# This program is free software; you can redistribute it and/or modify it # -# under the terms of the GNU General Public License as published by the Free # -# Software Foundation; either version 2 of the License or (at your option) # -# any later version. See: "http://www.gruntose.com/Info/GNU/GPL.html" for a # -# version of the License. Please send any updates to "fred@gruntose.com". # -############################################################################### +############## +# +# Name : generate_aliases +# Author : Chris Koeritz +# Rights : Copyright (C) 1996-$now by Author +# +# Purpose: +# +# This script generates YETI alias files. Alias files contain a list of +# definitions for command aliases that are written in the specified shell +# dialect (such as bash or perl) and which are additionally tailored for the +# operating system to be used. +# +############## +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the Free +# Software Foundation; either version 2 of the License or (at your option) +# any later version. See: "http://www.gruntose.com/Info/GNU/GPL.html" for a +# version of the License. Please send any updates to "fred@gruntose.com". +############## require "importenv.pl"; @@ -99,18 +99,16 @@ if (-d $BINDIR) { ############## system("bash \"$FEISTY_MEOW_SCRIPTS\"/core/unter_alia.sh"); - # generate the first set of alias files; these are the root files used - # by the shell. each of them will be written to in turn invoke the - # p_alias files which are made from the set of scripts in FEISTY_MEOW_SCRIPTS - # (see below). + # generate the first set of alias files that are defined in the core + # and custom scripts directories. # trash the old versions. -unlink("$FEISTY_MEOW_GENERATED/p_alias.sh"); +unlink("$FEISTY_MEOW_GENERATED/fmc_aliases_for_scripts.sh"); -printf "writing $FEISTY_MEOW_GENERATED/p_alias.sh...\n"; +printf "writing $FEISTY_MEOW_GENERATED/fmc_aliases_for_scripts.sh...\n"; # open the alias files to be created. -open(she, ">> $FEISTY_MEOW_GENERATED/p_alias.sh"); +open(she, ">> $FEISTY_MEOW_GENERATED/fmc_aliases_for_scripts.sh"); #print "os is $OS\n";